0s autopkgtest [15:58:59]: starting date and time: 2026-02-08 15:58:59+0000 0s autopkgtest [15:58:59]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [15:58:59]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u914soly/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-35.secgroup --name adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 118s autopkgtest [16:00:57]: testbed dpkg architecture: ppc64el 118s autopkgtest [16:00:57]: testbed apt version: 3.1.15 118s autopkgtest [16:00:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 118s autopkgtest [16:00:57]: testbed release detected to be: None 119s autopkgtest [16:00:58]: updating testbed package index (apt update) 119s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 119s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 119s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 119s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 119s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 120s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 122s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 122s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 122s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 124s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 124s Fetched 3499 kB in 5s (775 kB/s) 125s Reading package lists... 125s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 125s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 125s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 125s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 126s Reading package lists... 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Calculating upgrade... 126s The following packages will be upgraded: 126s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 126s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 126s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 127s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Need to get 4117 kB of archives. 127s After this operation, 2404 kB disk space will be freed. 127s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 128s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 128s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 128s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 128s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 128s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 128s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 128s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 128s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 128s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 128s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 128s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 129s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 129s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 129s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 129s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 130s dpkg-preconfigure: unable to re-open stdin: No such file or directory 130s Fetched 4117 kB in 3s (1382 kB/s) 131s (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 ... 122073 files and directories currently installed.) 131s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 131s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 131s Setting up dpkg (1.23.5ubuntu1) ... 132s (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 ... 122074 files and directories currently installed.) 132s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 132s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 132s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 132s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 132s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 132s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 133s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 133s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 133s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 133s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 133s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 133s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 133s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 133s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 133s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 133s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 134s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 134s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 134s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 134s Unpacking ubuntu-standard (1.564) over (1.563) ... 134s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 134s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 134s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 134s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 135s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 135s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 135s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 135s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 135s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 135s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 135s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 135s Setting up ubuntu-kernel-accessories (1.564) ... 135s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 135s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 135s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 136s Setting up ubuntu-standard (1.564) ... 136s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 136s Setting up shared-mime-info (2.4-5build3) ... 142s Setting up libdpkg-perl (1.23.5ubuntu1) ... 142s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 142s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 142s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 142s Setting up ethtool (1:6.15-3build1) ... 142s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 143s Setting up dpkg-dev (1.23.5ubuntu1) ... 143s Processing triggers for man-db (2.13.1-1build1) ... 145s Processing triggers for libc-bin (2.42-2ubuntu4) ... 145s autopkgtest [16:01:24]: upgrading testbed (apt dist-upgrade and autopurge) 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 146s Calculating upgrade... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s Solving dependencies... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s autopkgtest [16:01:25]: rebooting testbed after setup commands that affected boot 185s autopkgtest [16:02:04]: testbed running kernel: Linux 6.19.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 23 20:13:51 UTC 2026 188s autopkgtest [16:02:07]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 204s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (dsc) [4949 B] 204s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [667 kB] 204s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (tar) [5747 kB] 204s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.87.2-2 (diff) [148 kB] 205s gpgv: Signature made Thu Jan 29 15:09:50 2026 UTC 205s gpgv: using RSA key 374D8CE4DB96E9CBD4C0972A606D084E4683C079 205s gpgv: Can't check signature: No public key 205s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.87.2-2.dsc: no acceptable signature found 205s autopkgtest [16:02:24]: testing package glib2.0 version 2.87.2-2 211s autopkgtest [16:02:30]: build not needed 218s autopkgtest [16:02:37]: test build: preparing testbed 219s Reading package lists... 219s Building dependency tree... 219s Reading state information... 219s Solving dependencies... 219s The following NEW packages will be installed: 219s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 219s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 219s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 219s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libc-dev-bin libc6-dev 219s libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 219s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 219s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev 219s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 219s linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 219s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 219s Need to get 71.6 MB of archives. 219s After this operation, 268 MB of additional disk space will be used. 219s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu4 [23.9 kB] 219s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.19.0-3.3 [1832 kB] 221s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 221s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 221s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc6-dev ppc64el 2.42-2ubuntu4 [2080 kB] 225s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 227s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 227s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 244s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 244s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 244s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 244s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 244s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 244s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 244s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 248s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 250s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 253s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 255s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 255s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 257s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 278s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 279s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 279s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 279s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 281s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 299s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 299s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 299s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 299s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 299s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 299s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 299s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 299s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 299s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 299s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 299s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 299s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 300s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 300s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 300s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 300s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 300s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 300s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 300s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 301s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.87.2-2 [2209 kB] 304s Fetched 71.6 MB in 1min 25s (843 kB/s) 304s Selecting previously unselected package libc-dev-bin. 305s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 121984 files and directories currently installed.) 305s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_ppc64el.deb ... 305s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 305s Selecting previously unselected package linux-libc-dev:ppc64el. 305s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_ppc64el.deb ... 305s Unpacking linux-libc-dev:ppc64el (6.19.0-3.3) ... 305s Selecting previously unselected package libcrypt-dev:ppc64el. 305s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 305s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 305s Selecting previously unselected package rpcsvc-proto. 305s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 305s Unpacking rpcsvc-proto (1.4.3-1build1) ... 305s Selecting previously unselected package libc6-dev:ppc64el. 305s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_ppc64el.deb ... 305s Unpacking libc6-dev:ppc64el (2.42-2ubuntu4) ... 305s Selecting previously unselected package libisl23:ppc64el. 305s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 305s Unpacking libisl23:ppc64el (0.27-1build1) ... 305s Selecting previously unselected package libmpc3:ppc64el. 305s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 305s Unpacking libmpc3:ppc64el (1.3.1-2) ... 305s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 305s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 305s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 305s Selecting previously unselected package cpp-15. 305s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 305s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 305s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 305s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 305s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 305s Selecting previously unselected package cpp. 305s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 305s Unpacking cpp (4:15.2.0-4ubuntu1) ... 305s Selecting previously unselected package libcc1-0:ppc64el. 305s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 305s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libgomp1:ppc64el. 306s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libitm1:ppc64el. 306s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libasan8:ppc64el. 306s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package liblsan0:ppc64el. 306s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libtsan2:ppc64el. 306s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libubsan1:ppc64el. 306s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libquadmath0:ppc64el. 306s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package libgcc-15-dev:ppc64el. 306s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 306s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package gcc-15. 306s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 306s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 306s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 306s Selecting previously unselected package gcc. 306s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 306s Unpacking gcc (4:15.2.0-4ubuntu1) ... 306s Selecting previously unselected package libstdc++-15-dev:ppc64el. 306s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 306s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 306s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 306s Selecting previously unselected package g++-15. 307s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 307s Unpacking g++-15 (15.2.0-12ubuntu1) ... 307s Selecting previously unselected package g++-powerpc64le-linux-gnu. 307s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 307s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 307s Selecting previously unselected package g++. 307s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 307s Unpacking g++ (4:15.2.0-4ubuntu1) ... 307s Selecting previously unselected package build-essential. 307s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 307s Unpacking build-essential (12.12ubuntu2) ... 307s Selecting previously unselected package libffi-dev:ppc64el. 307s Preparing to unpack .../30-libffi-dev_3.5.2-3_ppc64el.deb ... 307s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 307s Selecting previously unselected package uuid-dev:ppc64el. 307s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 307s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Selecting previously unselected package libblkid-dev:ppc64el. 307s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 307s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Selecting previously unselected package libsepol-dev:ppc64el. 307s Preparing to unpack .../33-libsepol-dev_3.9-2_ppc64el.deb ... 307s Unpacking libsepol-dev:ppc64el (3.9-2) ... 307s Selecting previously unselected package libpcre2-16-0:ppc64el. 307s Preparing to unpack .../34-libpcre2-16-0_10.46-1_ppc64el.deb ... 307s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 307s Selecting previously unselected package libpcre2-32-0:ppc64el. 307s Preparing to unpack .../35-libpcre2-32-0_10.46-1_ppc64el.deb ... 307s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 307s Selecting previously unselected package libpcre2-posix3:ppc64el. 307s Preparing to unpack .../36-libpcre2-posix3_10.46-1_ppc64el.deb ... 307s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 307s Selecting previously unselected package libpcre2-dev:ppc64el. 307s Preparing to unpack .../37-libpcre2-dev_10.46-1_ppc64el.deb ... 307s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 307s Selecting previously unselected package libselinux-dev:ppc64el. 307s Preparing to unpack .../38-libselinux-dev_3.9-4_ppc64el.deb ... 307s Unpacking libselinux-dev:ppc64el (3.9-4) ... 307s Selecting previously unselected package libmount-dev:ppc64el. 307s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 307s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 307s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 307s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 307s Selecting previously unselected package libpkgconf3:ppc64el. 307s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 307s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 307s Selecting previously unselected package pkgconf-bin. 307s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 307s Unpacking pkgconf-bin (1.8.1-4build1) ... 307s Selecting previously unselected package pkgconf:ppc64el. 307s Preparing to unpack .../43-pkgconf_1.8.1-4build1_ppc64el.deb ... 307s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 307s Selecting previously unselected package zlib1g-dev:ppc64el. 307s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 307s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 307s Selecting previously unselected package libgio-2.0-dev:ppc64el. 307s Preparing to unpack .../45-libgio-2.0-dev_2.87.2-2_ppc64el.deb ... 307s Unpacking libgio-2.0-dev:ppc64el (2.87.2-2) ... 307s Setting up linux-libc-dev:ppc64el (6.19.0-3.3) ... 307s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libffi-dev:ppc64el (3.5.2-3) ... 307s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 307s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 307s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 307s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 307s Setting up rpcsvc-proto (1.4.3-1build1) ... 307s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libmpc3:ppc64el (1.3.1-2) ... 307s Setting up libsepol-dev:ppc64el (3.9-2) ... 307s Setting up pkgconf-bin (1.8.1-4build1) ... 307s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 307s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 307s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libisl23:ppc64el (0.27-1build1) ... 307s Setting up libc-dev-bin (2.42-2ubuntu4) ... 307s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 307s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 307s Setting up cpp-15 (15.2.0-12ubuntu1) ... 307s Setting up libc6-dev:ppc64el (2.42-2ubuntu4) ... 307s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 307s Setting up libpcre2-dev:ppc64el (10.46-1) ... 307s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 307s Setting up gcc-15 (15.2.0-12ubuntu1) ... 307s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 307s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 307s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 307s Setting up cpp (4:15.2.0-4ubuntu1) ... 307s Setting up libselinux-dev:ppc64el (3.9-4) ... 307s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 307s Setting up gcc (4:15.2.0-4ubuntu1) ... 307s Setting up g++-15 (15.2.0-12ubuntu1) ... 307s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 307s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 307s Setting up libgio-2.0-dev:ppc64el (2.87.2-2) ... 307s Setting up g++ (4:15.2.0-4ubuntu1) ... 307s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 307s Setting up build-essential (12.12ubuntu2) ... 307s Processing triggers for libc-bin (2.42-2ubuntu4) ... 307s Processing triggers for man-db (2.13.1-1build1) ... 310s Processing triggers for libglib2.0-0t64:ppc64el (2.87.2-2) ... 310s No schema files found: doing nothing. 310s Processing triggers for install-info (7.2-5) ... 311s autopkgtest [16:04:10]: test build: [----------------------- 311s + mode=dynamic 311s + getopt -o --long static -n debian/tests/build -- 311s + getopt_temp= -- 311s + eval set -- -- 311s + set -- -- 311s + true 311s + shift 311s + break 311s + mktemp -d 311s + WORKDIR=/tmp/tmp.PjlOPNqTLV 311s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 311s + cd /tmp/tmp.PjlOPNqTLV 311s + [ -n ] 311s + CROSS_COMPILE= 311s + cat 311s + cat 311s + cat 311s + cat 311s + cat 311s + cat 311s + cflags= 311s + pcflags= 311s + packages=glib-2.0 311s + pkg-config --cflags --libs glib-2.0 311s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 311s build (glib, dynamic): OK 311s run (glib, dynamic): OK 311s + echo build (glib, dynamic): OK 311s + [ -x glib-dynamic ] 311s + foo=bar ./glib-dynamic 311s + echo run (glib, dynamic): OK 311s + cflags= 311s + pcflags= 311s + packages=gobject-2.0 311s + pkg-config --cflags --libs gobject-2.0 311s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 311s build (gobject, dynamic): OK 311s run (gobject, dynamic): OK 311s + echo build (gobject, dynamic): OK 311s + [ -x gobject-dynamic ] 311s + foo=bar ./gobject-dynamic 311s + echo run (gobject, dynamic): OK 311s + cflags= 311s + pcflags= 311s + packages=gio-2.0 311s + pkg-config --cflags --libs gio-2.0 311s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 311s build (gio, dynamic): OK 311s + echo build (gio, dynamic): OK 311s + [ -x gio-dynamic ] 311s + foo=bar ./gio-dynamic 311s + echo run (gio, dynamic): OK 311s + cflags= 311s + pcflags= 311s + packages=gio-unix-2.0 311s + pkg-config --cflags --libs gio-unix-2.0 311s run (gio, dynamic): OK 311s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 311s + echo build (gio-unix, dynamic): OK 311s + [ -x gio-unix-dynamic ] 311s + foo=bar ./gio-unix-dynamic 311s build (gio-unix, dynamic): OK 311s run (gio-unix, dynamic): OK 311s + echo run (gio-unix, dynamic): OK 311s + cflags= 311s + pcflags= 311s + packages=gmodule-2.0 311s + pkg-config --cflags --libs gmodule-2.0 311s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 312s build (gmodule, dynamic): OK 312s + echo build (gmodule, dynamic): OK 312s + [ -x gmodule-dynamic ] 312s + foo=bar ./gmodule-dynamic 312s + echo run (gmodule, dynamic): OK 312s + cflags= 312s + pcflags= 312s + packages=gthread-2.0 312s + pkg-config --cflags --libs gthread-2.0 312s run (gmodule, dynamic): OK 312s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 312s build (gthread, dynamic): OK 312s run (gthread, dynamic): OK 312s + echo build (gthread, dynamic): OK 312s + [ -x gthread-dynamic ] 312s + foo=bar ./gthread-dynamic 312s + echo run (gthread, dynamic): OK 312s + rm -rf /tmp/tmp.PjlOPNqTLV 312s autopkgtest [16:04:11]: test build: -----------------------] 312s autopkgtest [16:04:11]: test build: - - - - - - - - - - results - - - - - - - - - - 312s build PASS (superficial) 313s autopkgtest [16:04:12]: test build-static: preparing testbed 313s Reading package lists... 313s Building dependency tree... 313s Reading state information... 313s Solving dependencies... 313s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 314s autopkgtest [16:04:13]: test build-static: [----------------------- 314s + mode=dynamic 314s + getopt -o --long static -n debian/tests/build -- --static 314s + getopt_temp= --static -- 314s + eval set -- --static -- 314s + set -- --static -- 314s + true 314s + mode=static 314s + shift 314s + continue 314s + true 314s + shift 314s + break 314s + mktemp -d 314s + WORKDIR=/tmp/tmp.FW5OeMjmDK 314s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 314s + cd /tmp/tmp.FW5OeMjmDK 314s + [ -n ] 314s + CROSS_COMPILE= 314s + cat 314s + cat 314s + cat 314s + cat 314s + cat 314s + cat 314s + cflags= 314s + pcflags= 314s + packages=glib-2.0 314s + cflags=-static 314s + pcflags=--static 314s + pkg-config --static --cflags --libs glib-2.0 314s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 314s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s + echo build (glib, static): OK 314s + [ -x glib-static ] 314s + foo=bar ./glib-static 314s + echo run (glib, static): OK 314s + cflags= 314s + pcflags= 314s + packages=gobject-2.0 314s + cflags=-static 314s + pcflags=--static 314s + pkg-config --static --cflags --libs gobject-2.0 314s build (glib, static): OK 314s run (glib, static): OK 314s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 314s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s + echo build (gobject, static): OK 314s + [ -x gobject-static ] 314s + foo=bar ./gobject-static 314s + echo run (gobject, static): OK 314s + build (gobject, static): OK 314s run (gobject, static): OK 314s cflags= 314s + pcflags= 314s + packages=gio-2.0 314s + cflags=-static 314s + pcflags=--static 314s + continue 314s + cflags= 314s + pcflags= 314s + packages=gio-unix-2.0 314s + cflags=-static 314s + pcflags=--static 314s + continue 314s + cflags= 314s + pcflags= 314s + packages=gmodule-2.0 314s + cflags=-static 314s + pcflags=--static 314s + pkg-config --static --cflags --libs gmodule-2.0 314s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 314s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 314s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 314s build (gmodule, static): OK 314s + echo build (gmodule, static): OK 314s + [ -x gmodule-static ] 314s + foo=bar ./gmodule-static 314s + echo run (gmodule, static): OK 314s + cflags= 314s + pcflags= 314s + packages=gthread-2.0 314s + cflags=-static 314s + pcflags=--static 314s + pkg-config --static --cflags --libs gthread-2.0 314s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 314s run (gmodule, static): OK 315s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 315s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 315s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 315s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 315s build (gthread, static): OK 315s + echo build (gthread, static): OK 315s + [ -x gthread-static ] 315s + foo=bar ./gthread-static 315s run (gthread, static): OK 315s + echo run (gthread, static): OK 315s + rm -rf /tmp/tmp.FW5OeMjmDK 315s autopkgtest [16:04:14]: test build-static: -----------------------] 315s autopkgtest [16:04:14]: test build-static: - - - - - - - - - - results - - - - - - - - - - 315s build-static PASS (superficial) 316s autopkgtest [16:04:15]: test girepository-tools: preparing testbed 334s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 422s autopkgtest [16:06:01]: testbed dpkg architecture: ppc64el 423s autopkgtest [16:06:02]: testbed apt version: 3.1.15 423s autopkgtest [16:06:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 423s autopkgtest [16:06:02]: testbed release detected to be: resolute 424s autopkgtest [16:06:03]: updating testbed package index (apt update) 424s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 424s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 424s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 425s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 425s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 425s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 425s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 427s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 427s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 429s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 429s Fetched 3499 kB in 5s (756 kB/s) 430s Reading package lists... 430s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 430s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 430s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 430s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 431s Reading package lists... 431s Reading package lists... 431s Building dependency tree... 431s Reading state information... 432s Calculating upgrade... 432s The following packages will be upgraded: 432s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 432s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 432s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 432s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 432s Need to get 4117 kB of archives. 432s After this operation, 2404 kB disk space will be freed. 432s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 433s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 433s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 433s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 433s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 433s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 433s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 433s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 433s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 433s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 433s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 433s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 433s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 433s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 433s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 433s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 434s dpkg-preconfigure: unable to re-open stdin: No such file or directory 434s Fetched 4117 kB in 2s (2406 kB/s) 435s (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 ... 122073 files and directories currently installed.) 435s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 435s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 435s Setting up dpkg (1.23.5ubuntu1) ... 436s (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 ... 122074 files and directories currently installed.) 436s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 436s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 436s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 436s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 436s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 436s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 436s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 436s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 437s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 437s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 437s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 437s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 437s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 437s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 437s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 437s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 437s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 437s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 437s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 437s Unpacking ubuntu-standard (1.564) over (1.563) ... 437s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 437s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 438s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 438s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 438s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 438s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 438s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 438s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 438s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 438s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 438s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 438s Setting up ubuntu-kernel-accessories (1.564) ... 438s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 438s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 438s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 438s Setting up ubuntu-standard (1.564) ... 438s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 438s Setting up shared-mime-info (2.4-5build3) ... 444s Setting up libdpkg-perl (1.23.5ubuntu1) ... 444s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 444s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 444s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 444s Setting up ethtool (1:6.15-3build1) ... 444s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 444s Setting up dpkg-dev (1.23.5ubuntu1) ... 444s Processing triggers for man-db (2.13.1-1build1) ... 447s Processing triggers for libc-bin (2.42-2ubuntu4) ... 447s autopkgtest [16:06:26]: upgrading testbed (apt dist-upgrade and autopurge) 447s Reading package lists... 447s Building dependency tree... 447s Reading state information... 447s Calculating upgrade... 447s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 447s Reading package lists... 447s Building dependency tree... 447s Reading state information... 447s Solving dependencies... 448s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 448s autopkgtest [16:06:27]: rebooting testbed after setup commands that affected boot 489s Reading package lists... 490s Building dependency tree... 490s Reading state information... 490s Solving dependencies... 490s The following NEW packages will be installed: 490s gir1.2-glib-2.0-dev girepository-tools native-architecture 490s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 490s Need to get 1004 kB of archives. 490s After this operation, 12.5 MB of additional disk space will be used. 490s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.87.2-2 [866 kB] 491s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 491s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.87.2-2 [135 kB] 491s Fetched 1004 kB in 1s (1061 kB/s) 491s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 491s (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 ... 121984 files and directories currently installed.) 491s Preparing to unpack .../gir1.2-glib-2.0-dev_2.87.2-2_ppc64el.deb ... 491s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 491s Selecting previously unselected package native-architecture. 491s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 491s Unpacking native-architecture (0.2.6build1) ... 491s Selecting previously unselected package girepository-tools:ppc64el. 491s Preparing to unpack .../girepository-tools_2.87.2-2_ppc64el.deb ... 491s Unpacking girepository-tools:ppc64el (2.87.2-2) ... 491s Setting up native-architecture (0.2.6build1) ... 491s Setting up gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 491s Setting up girepository-tools:ppc64el (2.87.2-2) ... 491s Processing triggers for man-db (2.13.1-1build1) ... 498s autopkgtest [16:07:17]: test girepository-tools: [----------------------- 498s + cd /tmp/autopkgtest.pvoQce/autopkgtest_tmp 498s + dpkg-architecture -qDEB_HOST_GNU_TYPE 498s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 498s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 498s + dpkg-architecture -qDEB_HOST_MULTIARCH 498s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 498s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 498s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 498s typelib: GLib-2.0 498s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 499s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 499s autopkgtest [16:07:18]: test girepository-tools: -----------------------] 499s autopkgtest [16:07:18]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 499s girepository-tools PASS (superficial) 500s autopkgtest [16:07:19]: test libgio-2.0-dev-bin: preparing testbed 506s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 580s autopkgtest [16:08:39]: testbed dpkg architecture: ppc64el 580s autopkgtest [16:08:39]: testbed apt version: 3.1.15 581s autopkgtest [16:08:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 581s autopkgtest [16:08:40]: testbed release detected to be: resolute 582s autopkgtest [16:08:41]: updating testbed package index (apt update) 582s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 582s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 582s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 582s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 582s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 582s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 582s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 584s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 584s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 586s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 586s Fetched 3499 kB in 4s (868 kB/s) 587s Reading package lists... 587s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 587s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 587s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 587s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 588s Reading package lists... 588s Reading package lists... 588s Building dependency tree... 588s Reading state information... 589s Calculating upgrade... 589s The following packages will be upgraded: 589s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 589s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 589s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 589s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 589s Need to get 4117 kB of archives. 589s After this operation, 2404 kB disk space will be freed. 589s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 590s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 590s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 590s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 590s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 590s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 590s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 590s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 590s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 590s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 590s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 590s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 592s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 592s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 592s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 592s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 592s dpkg-preconfigure: unable to re-open stdin: No such file or directory 592s Fetched 4117 kB in 3s (1312 kB/s) 592s (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 ... 122073 files and directories currently installed.) 592s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 592s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 593s Setting up dpkg (1.23.5ubuntu1) ... 593s (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 ... 122074 files and directories currently installed.) 593s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 593s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 594s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 594s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 594s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 594s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 594s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 594s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 594s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 594s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 594s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 594s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 594s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 594s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 594s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 595s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 595s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 595s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 595s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 595s Unpacking ubuntu-standard (1.564) over (1.563) ... 595s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 595s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 595s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 595s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 595s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 595s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 596s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 596s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 596s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 596s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 596s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 596s Setting up ubuntu-kernel-accessories (1.564) ... 596s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 596s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 596s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 596s Setting up ubuntu-standard (1.564) ... 596s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 596s Setting up shared-mime-info (2.4-5build3) ... 600s Setting up libdpkg-perl (1.23.5ubuntu1) ... 600s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 600s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 600s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 600s Setting up ethtool (1:6.15-3build1) ... 600s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 600s Setting up dpkg-dev (1.23.5ubuntu1) ... 600s Processing triggers for man-db (2.13.1-1build1) ... 603s Processing triggers for libc-bin (2.42-2ubuntu4) ... 603s autopkgtest [16:09:02]: upgrading testbed (apt dist-upgrade and autopurge) 603s Reading package lists... 603s Building dependency tree... 603s Reading state information... 603s Calculating upgrade... 603s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 604s Reading package lists... 604s Building dependency tree... 604s Reading state information... 604s Solving dependencies... 604s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 604s autopkgtest [16:09:03]: rebooting testbed after setup commands that affected boot 647s Reading package lists... 647s Building dependency tree... 647s Reading state information... 647s Solving dependencies... 647s The following NEW packages will be installed: 647s libgio-2.0-dev-bin 647s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 647s Need to get 132 kB of archives. 647s After this operation, 827 kB of additional disk space will be used. 647s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.87.2-2 [132 kB] 647s Fetched 132 kB in 0s (4814 kB/s) 647s Selecting previously unselected package libgio-2.0-dev-bin. 648s (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 ... 121984 files and directories currently installed.) 648s Preparing to unpack .../libgio-2.0-dev-bin_2.87.2-2_ppc64el.deb ... 648s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 648s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 648s Processing triggers for man-db (2.13.1-1build1) ... 656s autopkgtest [16:09:55]: test libgio-2.0-dev-bin: [----------------------- 656s + gdbus-codegen --help 656s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 656s [--c-namespace NAMESPACE] [--c-generate-object-manager] 656s [--c-generate-autocleanup {none,objects,all}] 656s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 656s [--generate-rst OUTFILES] [--pragma-once] 656s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 656s [--glib-min-required VERSION] 656s [--glib-max-allowed VERSION] 656s [--symbol-decorator SYMBOL_DECORATOR] 656s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 656s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 656s [--extension-path EXTENSION_PATH] 656s [--generate-c-code OUTFILES | --header | --body | 656s --interface-info-header | --interface-info-body] 656s [--output FILE | --output-directory OUTDIR] 656s FILE [FILE ...] 656s 656s D-Bus code and documentation generator 656s 656s positional arguments: 656s FILE D-Bus introspection XML file 656s 656s options: 656s -h, --help show this help message and exit 656s --interface-prefix PREFIX 656s String to strip from D-Bus interface names for code 656s and docs 656s --c-namespace NAMESPACE 656s The namespace to use for generated C code 656s --c-generate-object-manager 656s Generate a GDBusObjectManagerClient subclass when 656s generating C code 656s --c-generate-autocleanup {none,objects,all} 656s Generate autocleanup support 656s --generate-docbook OUTFILES 656s Generate Docbook in OUTFILES-org.Project.IFace.xml 656s --generate-md OUTFILES 656s Generate Markdown in OUTFILES-org.Project.IFace.md 656s --generate-rst OUTFILES 656s Generate reStructuredText in OUTFILES- 656s org.Project.IFace.rst 656s --pragma-once Use "pragma once" as the inclusion guard 656s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 656s Add annotation (may be used several times) 656s --glib-min-required VERSION 656s Minimum version of GLib to be supported by the 656s outputted code (default: 2.30) 656s --glib-max-allowed VERSION 656s Maximum version of GLib to be used by the outputted 656s code (default: current GLib version) 656s --symbol-decorator SYMBOL_DECORATOR 656s Macro used to decorate a symbol in the outputted 656s header, possibly to export symbols 656s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 656s Additional header required for decorator specified by 656s --symbol-decorator 656s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 656s Additional define required for decorator specified by 656s --symbol-decorator 656s --extension-path EXTENSION_PATH 656s Path to a gdbus-codegen Python extension file 656s (unstable API) 656s --generate-c-code OUTFILES 656s Generate C code in OUTFILES.[ch] 656s --header Generate C headers 656s --body Generate C code 656s --interface-info-header 656s Generate GDBusInterfaceInfo C header 656s --interface-info-body 656s Generate GDBusInterfaceInfo C code 656s --output FILE Write output into the specified file 656s --output-directory OUTDIR 656s Location to output generated files 656s + glib-compile-resources --version 656s + glib-genmarshal --version 656s 2.87.2 656s glib-genmarshal version 2.87.2 656s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 656s You may redistribute copies of glib-genmarshal under the terms of 656s the GNU General Public License which can be found in the 656s GLib source package. Sources, examples and contact 656s information are available at http://www.gtk.org 656s + glib-gettextize --version 656s + glib-mkenums --version 656s /usr/bin/glib-gettextize (GNU glib) 2.87.2 656s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 656s This is free software; see the source for copying conditions. There is NO 656s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 656s Written by Ulrich Drepper 656s glib-mkenums version 2.87.2 656s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 656s You may redistribute copies of glib-mkenums under the terms of 656s the GNU General Public License which can be found in the 656s GLib source package. Sources, examples and contact 656s information are available at http://www.gtk.org 656s + gobject-query tree 656s + gtester GObject 656s --version 656s + gtester-report --version 656s gtester version 2.87.2 656s gtester-report (GLib utils) version 2.87.2. 657s autopkgtest [16:09:56]: test libgio-2.0-dev-bin: -----------------------] 657s autopkgtest [16:09:56]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 657s libgio-2.0-dev-bin PASS (superficial) 658s autopkgtest [16:09:57]: test libglib2.0-dev: preparing testbed 677s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 781s autopkgtest [16:12:00]: testbed dpkg architecture: ppc64el 781s autopkgtest [16:12:00]: testbed apt version: 3.1.15 781s autopkgtest [16:12:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 782s autopkgtest [16:12:01]: testbed release detected to be: resolute 782s autopkgtest [16:12:01]: updating testbed package index (apt update) 782s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 782s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 782s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 783s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 783s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 784s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 784s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 784s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 784s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 786s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 786s Fetched 3499 kB in 4s (992 kB/s) 787s Reading package lists... 787s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 787s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 787s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 787s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 788s Reading package lists... 788s Reading package lists... 788s Building dependency tree... 788s Reading state information... 789s Calculating upgrade... 789s The following packages will be upgraded: 789s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 789s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 789s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 789s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 789s Need to get 4117 kB of archives. 789s After this operation, 2404 kB disk space will be freed. 789s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 790s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 790s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 790s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 790s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 790s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 790s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 790s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 790s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 790s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 790s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 790s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 791s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 792s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 792s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 792s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 792s dpkg-preconfigure: unable to re-open stdin: No such file or directory 792s Fetched 4117 kB in 3s (1498 kB/s) 793s (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 ... 122073 files and directories currently installed.) 793s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 793s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 793s Setting up dpkg (1.23.5ubuntu1) ... 794s (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 ... 122074 files and directories currently installed.) 794s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 794s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 794s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 794s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 794s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 794s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 794s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 795s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 795s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 795s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 795s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 795s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 795s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 795s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 795s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 795s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 795s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 795s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 796s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 796s Unpacking ubuntu-standard (1.564) over (1.563) ... 796s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 796s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 796s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 796s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 796s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 796s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 796s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 796s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 796s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 796s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 796s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 797s Setting up ubuntu-kernel-accessories (1.564) ... 797s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 797s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 797s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 797s Setting up ubuntu-standard (1.564) ... 797s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 797s Setting up shared-mime-info (2.4-5build3) ... 804s Setting up libdpkg-perl (1.23.5ubuntu1) ... 804s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 804s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 804s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 804s Setting up ethtool (1:6.15-3build1) ... 804s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 804s Setting up dpkg-dev (1.23.5ubuntu1) ... 804s Processing triggers for man-db (2.13.1-1build1) ... 807s Processing triggers for libc-bin (2.42-2ubuntu4) ... 807s autopkgtest [16:12:26]: upgrading testbed (apt dist-upgrade and autopurge) 807s Reading package lists... 807s Building dependency tree... 807s Reading state information... 807s Calculating upgrade... 807s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 808s Reading package lists... 808s Building dependency tree... 808s Reading state information... 808s Solving dependencies... 808s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 808s autopkgtest [16:12:27]: rebooting testbed after setup commands that affected boot 848s Reading package lists... 848s Building dependency tree... 848s Reading state information... 848s Solving dependencies... 848s The following NEW packages will be installed: 848s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 848s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 848s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 848s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 848s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 848s libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin 848s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 848s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 848s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev libsepol-dev 848s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev 848s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 848s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 848s Need to get 72.9 MB of archives. 848s After this operation, 283 MB of additional disk space will be used. 848s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu4 [23.9 kB] 848s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.19.0-3.3 [1832 kB] 850s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 850s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 850s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el libc6-dev ppc64el 2.42-2ubuntu4 [2080 kB] 853s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 854s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 854s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 868s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 868s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 868s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 868s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 868s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 868s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 868s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 872s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 875s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 879s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 880s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 880s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 882s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 908s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 909s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 909s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 909s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 912s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 926s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 926s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 926s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 926s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 926s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.87.2-2 [866 kB] 927s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 927s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.87.2-2 [135 kB] 927s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 927s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 927s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 927s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 927s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 927s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 927s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 927s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 928s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 928s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 928s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 928s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 928s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 928s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 928s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 929s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.87.2-2 [2209 kB] 931s Get:50 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.87.2-2 [132 kB] 931s Get:51 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.87.2-2 [111 kB] 931s Get:52 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.87.2-2 [18.1 kB] 931s Get:53 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev ppc64el 2.87.2-2 [18.8 kB] 932s Fetched 72.9 MB in 1min 23s (878 kB/s) 932s Selecting previously unselected package libc-dev-bin. 932s (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 ... 121984 files and directories currently installed.) 932s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_ppc64el.deb ... 932s Unpacking libc-dev-bin (2.42-2ubuntu4) ... 932s Selecting previously unselected package linux-libc-dev:ppc64el. 932s Preparing to unpack .../01-linux-libc-dev_6.19.0-3.3_ppc64el.deb ... 932s Unpacking linux-libc-dev:ppc64el (6.19.0-3.3) ... 932s Selecting previously unselected package libcrypt-dev:ppc64el. 932s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 932s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 933s Selecting previously unselected package rpcsvc-proto. 933s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 933s Unpacking rpcsvc-proto (1.4.3-1build1) ... 933s Selecting previously unselected package libc6-dev:ppc64el. 933s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_ppc64el.deb ... 933s Unpacking libc6-dev:ppc64el (2.42-2ubuntu4) ... 933s Selecting previously unselected package libisl23:ppc64el. 933s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 933s Unpacking libisl23:ppc64el (0.27-1build1) ... 933s Selecting previously unselected package libmpc3:ppc64el. 933s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 933s Unpacking libmpc3:ppc64el (1.3.1-2) ... 933s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 933s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package cpp-15. 933s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 933s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 933s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 933s Selecting previously unselected package cpp. 933s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 933s Unpacking cpp (4:15.2.0-4ubuntu1) ... 933s Selecting previously unselected package libcc1-0:ppc64el. 933s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libgomp1:ppc64el. 933s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libitm1:ppc64el. 933s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libasan8:ppc64el. 933s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package liblsan0:ppc64el. 933s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libtsan2:ppc64el. 933s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libubsan1:ppc64el. 933s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libquadmath0:ppc64el. 933s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package libgcc-15-dev:ppc64el. 933s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 933s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 933s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 933s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 934s Selecting previously unselected package gcc-15. 934s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 934s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 934s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 934s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 934s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 934s Selecting previously unselected package gcc. 934s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 934s Unpacking gcc (4:15.2.0-4ubuntu1) ... 934s Selecting previously unselected package libstdc++-15-dev:ppc64el. 934s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 934s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 934s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 934s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 934s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 934s Selecting previously unselected package g++-15. 934s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 934s Unpacking g++-15 (15.2.0-12ubuntu1) ... 934s Selecting previously unselected package g++-powerpc64le-linux-gnu. 934s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 934s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 934s Selecting previously unselected package g++. 934s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 934s Unpacking g++ (4:15.2.0-4ubuntu1) ... 934s Selecting previously unselected package build-essential. 934s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 934s Unpacking build-essential (12.12ubuntu2) ... 934s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 934s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.87.2-2_ppc64el.deb ... 934s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 934s Selecting previously unselected package native-architecture. 934s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ... 934s Unpacking native-architecture (0.2.6build1) ... 934s Selecting previously unselected package girepository-tools:ppc64el. 934s Preparing to unpack .../32-girepository-tools_2.87.2-2_ppc64el.deb ... 934s Unpacking girepository-tools:ppc64el (2.87.2-2) ... 934s Selecting previously unselected package libffi-dev:ppc64el. 934s Preparing to unpack .../33-libffi-dev_3.5.2-3_ppc64el.deb ... 934s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 934s Selecting previously unselected package uuid-dev:ppc64el. 934s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 934s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 934s Selecting previously unselected package libblkid-dev:ppc64el. 934s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 934s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 934s Selecting previously unselected package libsepol-dev:ppc64el. 934s Preparing to unpack .../36-libsepol-dev_3.9-2_ppc64el.deb ... 934s Unpacking libsepol-dev:ppc64el (3.9-2) ... 934s Selecting previously unselected package libpcre2-16-0:ppc64el. 934s Preparing to unpack .../37-libpcre2-16-0_10.46-1_ppc64el.deb ... 934s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 934s Selecting previously unselected package libpcre2-32-0:ppc64el. 934s Preparing to unpack .../38-libpcre2-32-0_10.46-1_ppc64el.deb ... 934s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 934s Selecting previously unselected package libpcre2-posix3:ppc64el. 934s Preparing to unpack .../39-libpcre2-posix3_10.46-1_ppc64el.deb ... 934s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 934s Selecting previously unselected package libpcre2-dev:ppc64el. 934s Preparing to unpack .../40-libpcre2-dev_10.46-1_ppc64el.deb ... 934s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 934s Selecting previously unselected package libselinux-dev:ppc64el. 934s Preparing to unpack .../41-libselinux-dev_3.9-4_ppc64el.deb ... 934s Unpacking libselinux-dev:ppc64el (3.9-4) ... 934s Selecting previously unselected package libmount-dev:ppc64el. 934s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 934s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 934s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 934s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 934s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 934s Selecting previously unselected package libpkgconf3:ppc64el. 934s Preparing to unpack .../44-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 934s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 935s Selecting previously unselected package pkgconf-bin. 935s Preparing to unpack .../45-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 935s Unpacking pkgconf-bin (1.8.1-4build1) ... 935s Selecting previously unselected package pkgconf:ppc64el. 935s Preparing to unpack .../46-pkgconf_1.8.1-4build1_ppc64el.deb ... 935s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 935s Selecting previously unselected package zlib1g-dev:ppc64el. 935s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 935s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 935s Selecting previously unselected package libgio-2.0-dev:ppc64el. 935s Preparing to unpack .../48-libgio-2.0-dev_2.87.2-2_ppc64el.deb ... 935s Unpacking libgio-2.0-dev:ppc64el (2.87.2-2) ... 935s Selecting previously unselected package libgio-2.0-dev-bin. 935s Preparing to unpack .../49-libgio-2.0-dev-bin_2.87.2-2_ppc64el.deb ... 935s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 935s Selecting previously unselected package libglib2.0-bin. 935s Preparing to unpack .../50-libglib2.0-bin_2.87.2-2_ppc64el.deb ... 935s Unpacking libglib2.0-bin (2.87.2-2) ... 935s Selecting previously unselected package libglib2.0-dev-bin. 935s Preparing to unpack .../51-libglib2.0-dev-bin_2.87.2-2_ppc64el.deb ... 935s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 935s Selecting previously unselected package libglib2.0-dev:ppc64el. 935s Preparing to unpack .../52-libglib2.0-dev_2.87.2-2_ppc64el.deb ... 935s Unpacking libglib2.0-dev:ppc64el (2.87.2-2) ... 935s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 935s Setting up native-architecture (0.2.6build1) ... 935s Setting up linux-libc-dev:ppc64el (6.19.0-3.3) ... 935s Setting up libglib2.0-bin (2.87.2-2) ... 935s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libffi-dev:ppc64el (3.5.2-3) ... 935s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 935s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 935s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 935s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 935s Setting up rpcsvc-proto (1.4.3-1build1) ... 935s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libmpc3:ppc64el (1.3.1-2) ... 935s Setting up libsepol-dev:ppc64el (3.9-2) ... 935s Setting up pkgconf-bin (1.8.1-4build1) ... 935s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 935s Setting up gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 935s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 935s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libisl23:ppc64el (0.27-1build1) ... 935s Setting up libc-dev-bin (2.42-2ubuntu4) ... 935s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up girepository-tools:ppc64el (2.87.2-2) ... 935s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 935s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 935s Setting up cpp-15 (15.2.0-12ubuntu1) ... 935s Setting up libc6-dev:ppc64el (2.42-2ubuntu4) ... 935s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 935s Setting up libglib2.0-dev-bin (2.87.2-2) ... 935s Setting up libpcre2-dev:ppc64el (10.46-1) ... 935s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 935s Setting up gcc-15 (15.2.0-12ubuntu1) ... 935s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 935s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 935s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 935s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 935s Setting up cpp (4:15.2.0-4ubuntu1) ... 935s Setting up libselinux-dev:ppc64el (3.9-4) ... 935s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 935s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 935s Setting up gcc (4:15.2.0-4ubuntu1) ... 935s Setting up g++-15 (15.2.0-12ubuntu1) ... 935s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 935s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 935s Setting up libgio-2.0-dev:ppc64el (2.87.2-2) ... 935s Setting up g++ (4:15.2.0-4ubuntu1) ... 935s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 935s Setting up build-essential (12.12ubuntu2) ... 935s Processing triggers for install-info (7.2-5) ... 935s Processing triggers for libc-bin (2.42-2ubuntu4) ... 935s Processing triggers for man-db (2.13.1-1build1) ... 937s Processing triggers for libglib2.0-0t64:ppc64el (2.87.2-2) ... 937s No schema files found: doing nothing. 937s Setting up libglib2.0-dev:ppc64el (2.87.2-2) ... 943s autopkgtest [16:14:42]: test libglib2.0-dev: [----------------------- 943s + debian/tests/build 943s + mode=dynamic 943s + getopt -o --long static -n debian/tests/build -- 943s + getopt_temp= -- 943s + eval set -- -- 943s + set -- -- 943s + true 943s + shift 943s + break 943s + mktemp -d 943s + WORKDIR=/tmp/tmp.Yj2kz6lRlM 943s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 943s + cd /tmp/tmp.Yj2kz6lRlM 943s + [ -n ] 943s + CROSS_COMPILE= 943s + cat 943s + cat 943s + cat 943s + cat 943s + cat 943s + cat 943s + cflags= 943s + pcflags= 943s + packages=glib-2.0 943s + pkg-config --cflags --libs glib-2.0 943s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 943s build (glib, dynamic): OK 943s + echo build (glib, dynamic): OK 943s + [ -x glib-dynamic ] 943s + foo=bar ./glib-dynamic 943s + echo run (glib, dynamic): OKrun (glib, dynamic): OK 943s 943s + cflags= 943s + pcflags= 943s + packages=gobject-2.0 943s + pkg-config --cflags --libs gobject-2.0 943s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 943s build (gobject, dynamic): OK 943s + echo build (gobject, dynamic): OK 943s + [ -x gobject-dynamic ] 943s + foo=bar ./gobject-dynamic 943s + echo run (gobject, dynamic): OK 943s run (gobject, dynamic): OK 943s + cflags= 943s + pcflags= 943s + packages=gio-2.0 943s + pkg-config --cflags --libs gio-2.0 943s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 944s build (gio, dynamic): OK 944s + echo build (gio, dynamic): OK 944s + [ -x gio-dynamic ] 944s + foo=bar ./gio-dynamic 944s + run (gio, dynamic): OK 944s echo run (gio, dynamic): OK 944s + cflags= 944s + pcflags= 944s + packages=gio-unix-2.0 944s + pkg-config --cflags --libs gio-unix-2.0 944s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 944s build (gio-unix, dynamic): OK 944s run (gio-unix, dynamic): OK 944s + echo build (gio-unix, dynamic): OK 944s + [ -x gio-unix-dynamic ] 944s + foo=bar ./gio-unix-dynamic 944s + echo run (gio-unix, dynamic): OK 944s + cflags= 944s + pcflags= 944s + packages=gmodule-2.0 944s + pkg-config --cflags --libs gmodule-2.0 944s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 944s + echo build (gmodule, dynamic): OK 944s + [ -x gmodule-dynamic ] 944s + foo=bar ./gmodule-dynamic 944s build (gmodule, dynamic): OK 944s + echo run (gmodule, dynamic): OK 944s + cflags= 944s + pcflags= 944s + packages=gthread-2.0 944s + pkg-config --cflags --libs gthread-2.0 944s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 944s run (gmodule, dynamic): OK 944s + build (gthread, dynamic): OK 944s echo build (gthread, dynamic): OK 944s + [ -x gthread-dynamic ] 944s + foo=bar ./gthread-dynamic 944s run (gthread, dynamic): OK 944s + echo run (gthread, dynamic): OK 944s + rm -rf /tmp/tmp.Yj2kz6lRlM 944s + debian/tests/build-static 944s + mode=dynamic 944s + getopt -o --long static -n debian/tests/build -- --static 944s + getopt_temp= --static -- 944s + eval set -- --static -- 944s + set -- --static -- 944s + true 944s + mode=static 944s + shift 944s + continue 944s + true 944s + shift 944s + break 944s + mktemp -d 944s + WORKDIR=/tmp/tmp.1mwqrxK9J8 944s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 944s + cd /tmp/tmp.1mwqrxK9J8 944s + [ -n ] 944s + CROSS_COMPILE= 944s + cat 944s + cat 944s + cat 944s + cat 944s + cat 944s + cat 944s + cflags= 944s + pcflags= 944s + packages=glib-2.0 944s + cflags=-static 944s + pcflags=--static 944s + pkg-config --static --cflags --libs glib-2.0 944s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 944s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s build (glib, static): OK 944s + echo build (glib, static): OK 944s + [ -x glib-static ] 944s + foo=bar ./glib-static 944s + echo run (glib, static): OK 944s run (glib, static): OK 944s + cflags= 944s + pcflags= 944s + packages=gobject-2.0 944s + cflags=-static 944s + pcflags=--static 944s + pkg-config --static --cflags --libs gobject-2.0 944s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 944s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s build (gobject, static): OK 944s + echo build (gobject, static): OK 944s + [ -x gobject-static ] 944s + foo=bar ./gobject-static 944s run (gobject, static): OK 944s + echo run (gobject, static): OK 944s + cflags= 944s + pcflags= 944s + packages=gio-2.0 944s + cflags=-static 944s + pcflags=--static 944s + continue 944s + cflags= 944s + pcflags= 944s + packages=gio-unix-2.0 944s + cflags=-static 944s + pcflags=--static 944s + continue 944s + cflags= 944s + pcflags= 944s + packages=gmodule-2.0 944s + cflags=-static 944s + pcflags=--static 944s + pkg-config --static --cflags --libs gmodule-2.0 944s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 944s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 944s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s build (gmodule, static): OK 944s + echo build (gmodule, static): OK 944s + [ -x gmodule-static ] 944s + foo=bar ./gmodule-static 944s + echo run (gmodule, static): OK 944s + cflags= 944s + pcflags= 944s + packages=gthread-2.0 944s + cflags=-static 944s + pcflags=--static 944s + pkg-config --static --cflags --libs gthread-2.0 944s run (gmodule, static): OK 944s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 944s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 944s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 945s build (gthread, static): OK 945s + echo build (gthread, static): OK 945s + [ -x gthread-static ] 945s + foo=bar ./gthread-static 945s + echo run (gthread, static): OK 945s run (gthread, static): OK 945s + rm -rf /tmp/tmp.1mwqrxK9J8 945s + debian/tests/girepository-tools 945s + cd /tmp/autopkgtest.pvoQce/autopkgtest_tmp 945s + dpkg-architecture -qDEB_HOST_GNU_TYPE 945s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 945s + dpkg-architecture -qDEB_HOST_MULTIARCH 945s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 945s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 945s typelib: GLib-2.0 945s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 945s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 945s + debian/tests/libgio-2.0-dev-bin 945s + gdbus-codegen --help 945s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 945s [--c-namespace NAMESPACE] [--c-generate-object-manager] 945s [--c-generate-autocleanup {none,objects,all}] 945s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 945s [--generate-rst OUTFILES] [--pragma-once] 945s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 945s [--glib-min-required VERSION] 945s [--glib-max-allowed VERSION] 945s [--symbol-decorator SYMBOL_DECORATOR] 945s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 945s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 945s [--extension-path EXTENSION_PATH] 945s [--generate-c-code OUTFILES | --header | --body | 945s --interface-info-header | --interface-info-body] 945s [--output FILE | --output-directory OUTDIR] 945s FILE [FILE ...] 945s 945s D-Bus code and documentation generator 945s 945s positional arguments: 945s FILE D-Bus introspection XML file 945s 945s options: 945s -h, --help show this help message and exit 945s --interface-prefix PREFIX 945s String to strip from D-Bus interface names for code 945s and docs 945s --c-namespace NAMESPACE 945s The namespace to use for generated C code 945s --c-generate-object-manager 945s Generate a GDBusObjectManagerClient subclass when 945s generating C code 945s --c-generate-autocleanup {none,objects,all} 945s Generate autocleanup support 945s --generate-docbook OUTFILES 945s Generate Docbook in OUTFILES-org.Project.IFace.xml 945s --generate-md OUTFILES 945s Generate Markdown in OUTFILES-org.Project.IFace.md 945s --generate-rst OUTFILES 945s Generate reStructuredText in OUTFILES- 945s org.Project.IFace.rst 945s --pragma-once Use "pragma once" as the inclusion guard 945s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 945s Add annotation (may be used several times) 945s --glib-min-required VERSION 945s Minimum version of GLib to be supported by the 945s outputted code (default: 2.30) 945s --glib-max-allowed VERSION 945s Maximum version of GLib to be used by the outputted 945s code (default: current GLib version) 945s --symbol-decorator SYMBOL_DECORATOR 945s Macro used to decorate a symbol in the outputted 945s header, possibly to export symbols 945s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 945s Additional header required for decorator specified by 945s --symbol-decorator 945s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 945s Additional define required for decorator specified by 945s --symbol-decorator 945s --extension-path EXTENSION_PATH 945s Path to a gdbus-codegen Python extension file 945s (unstable API) 945s --generate-c-code OUTFILES 945s Generate C code in OUTFILES.[ch] 945s --header Generate C headers 945s --body Generate C code 945s --interface-info-header 945s Generate GDBusInterfaceInfo C header 945s --interface-info-body 945s Generate GDBusInterfaceInfo C code 945s --output FILE Write output into the specified file 945s --output-directory OUTDIR 945s Location to output generated files 945s + glib-compile-resources --version 945s + glib-genmarshal --version 945s 2.87.2 945s glib-genmarshal version 2.87.2 945s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 945s You may redistribute copies of glib-genmarshal under the terms of 945s the GNU General Public License which can be found in the 945s GLib source package. Sources, examples and contact 945s information are available at http://www.gtk.org 945s + glib-gettextize --version 945s /usr/bin/glib-gettextize (GNU glib) 2.87.2 945s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 945s This is free software; see the source for copying conditions. There is NO 945s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 945s Written by Ulrich Drepper 945s + glib-mkenums --version 945s glib-mkenums version 2.87.2 945s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 945s You may redistribute copies of glib-mkenums under the terms of 945s the GNU General Public License which can be found in the 945s GLib source package. Sources, examples and contact 945s information are available at http://www.gtk.org 945s + gobject-query tree 945s GObject 945s + gtester --version 945s gtester version 2.87.2 945s + gtester-report --version 945s gtester-report (GLib utils) version 2.87.2. 945s + cd /tmp/autopkgtest.pvoQce/autopkgtest_tmp 945s + dpkg-architecture -qDEB_HOST_MULTIARCH 945s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 945s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 945s typelib: GLib-2.0 945s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 945s + gi-decompile-typelib -o GLib.gir GLib.typelib 946s autopkgtest [16:14:45]: test libglib2.0-dev: -----------------------] 946s autopkgtest [16:14:45]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 946s libglib2.0-dev PASS (superficial) 946s autopkgtest [16:14:45]: test installed-tests: preparing testbed 964s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 1018s autopkgtest [16:15:57]: testbed dpkg architecture: ppc64el 1018s autopkgtest [16:15:57]: testbed apt version: 3.1.15 1019s autopkgtest [16:15:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1019s autopkgtest [16:15:58]: testbed release detected to be: resolute 1020s autopkgtest [16:15:59]: updating testbed package index (apt update) 1020s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1020s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1020s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1020s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1020s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 1020s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 1021s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 1021s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 1021s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 1022s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 1022s Fetched 3499 kB in 2s (1676 kB/s) 1023s Reading package lists... 1023s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1023s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1023s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1024s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1024s Reading package lists... 1024s Reading package lists... 1025s Building dependency tree... 1025s Reading state information... 1025s Calculating upgrade... 1025s The following packages will be upgraded: 1025s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 1025s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 1025s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 1025s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1025s Need to get 4117 kB of archives. 1025s After this operation, 2404 kB disk space will be freed. 1025s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 1026s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 1026s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 1026s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 1026s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 1026s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 1026s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 1026s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 1026s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 1026s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 1026s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 1026s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1027s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1027s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 1027s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 1027s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 1028s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1028s Fetched 4117 kB in 3s (1635 kB/s) 1028s (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 ... 122073 files and directories currently installed.) 1028s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 1028s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1028s Setting up dpkg (1.23.5ubuntu1) ... 1029s (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 ... 122074 files and directories currently installed.) 1029s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 1029s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 1029s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 1029s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1029s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 1029s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 1029s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 1029s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1029s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 1029s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 1029s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 1029s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 1029s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 1029s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 1029s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 1029s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 1029s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 1029s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 1029s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 1030s Unpacking ubuntu-standard (1.564) over (1.563) ... 1030s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 1030s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1031s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1031s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1031s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 1031s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 1031s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 1031s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 1031s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 1031s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 1031s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 1031s Setting up ubuntu-kernel-accessories (1.564) ... 1031s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 1031s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 1031s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 1031s Setting up ubuntu-standard (1.564) ... 1031s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 1031s Setting up shared-mime-info (2.4-5build3) ... 1036s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1036s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 1036s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 1036s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 1036s Setting up ethtool (1:6.15-3build1) ... 1036s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 1036s Setting up dpkg-dev (1.23.5ubuntu1) ... 1036s Processing triggers for man-db (2.13.1-1build1) ... 1038s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1038s autopkgtest [16:16:17]: upgrading testbed (apt dist-upgrade and autopurge) 1038s Reading package lists... 1038s Building dependency tree... 1038s Reading state information... 1038s Calculating upgrade... 1039s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1039s Reading package lists... 1039s Building dependency tree... 1039s Reading state information... 1039s Solving dependencies... 1039s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1039s autopkgtest [16:16:18]: rebooting testbed after setup commands that affected boot 1079s Reading package lists... 1079s Building dependency tree... 1079s Reading state information... 1079s Solving dependencies... 1079s The following NEW packages will be installed: 1079s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 1079s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 1079s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 1079s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 1079s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1079s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 1079s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 1079s mesa-libgallium native-architecture python3-dbusmock python3.14 1079s python3.14-minimal tzdata-legacy x11-common x11-xkb-utils xserver-common 1079s xvfb 1079s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 1079s Need to get 23.5 MB of archives. 1079s After this operation, 124 MB of additional disk space will be used. 1079s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 1082s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu2 [24.4 kB] 1082s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el desktop-file-utils ppc64el 0.28-1build1 [62.3 kB] 1082s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.87.2-2 [866 kB] 1083s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 1083s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.87.2-2 [135 kB] 1083s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gnome-desktop-testing ppc64el 2021.1-5 [17.8 kB] 1083s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build2 [16.1 kB] 1083s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1build1 [8022 B] 1083s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2ubuntu1 [7964 B] 1083s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-present0 ppc64el 1.17.0-2ubuntu1 [6340 B] 1083s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-randr0 ppc64el 1.17.0-2ubuntu1 [19.1 kB] 1083s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-sync1 ppc64el 1.17.0-2ubuntu1 [9864 B] 1083s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2ubuntu1 [10.8 kB] 1083s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxshmfence1 ppc64el 1.3.3-1build1 [5420 B] 1083s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el mesa-libgallium ppc64el 25.3.3-1ubuntu1 [12.5 MB] 1091s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgbm1 ppc64el 25.3.3-1ubuntu1 [41.7 kB] 1091s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.87.2-2 [132 kB] 1091s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libvulkan1 ppc64el 1.4.335.0-1 [175 kB] 1091s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1-mesa-dri ppc64el 25.3.3-1ubuntu1 [36.4 kB] 1091s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.87.2-2 [111 kB] 1091s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.87.2-2 [18.1 kB] 1091s Get:23 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbusmock all 0.38.1-1 [92.0 kB] 1091s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 1091s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 1091s Get:26 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libglib2.0-tests ppc64el 2.87.2-2 [2467 kB] 1092s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-glx0 ppc64el 1.17.0-2ubuntu1 [26.4 kB] 1092s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-shm0 ppc64el 1.17.0-2ubuntu1 [6072 B] 1092s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-2 [12.0 kB] 1092s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx-mesa0 ppc64el 25.3.3-1ubuntu1 [132 kB] 1092s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 1092s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libice6 ppc64el 2:1.1.1-1build1 [51.9 kB] 1092s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpixman-1-0 ppc64el 0.46.4-1 [347 kB] 1092s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsm6 ppc64el 2:1.2.6-1build1 [18.6 kB] 1092s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libunwind8 ppc64el 1.8.3-0ubuntu1 [68.2 kB] 1092s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.3 [203 kB] 1092s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxmu6 ppc64el 2:1.1.3-4 [56.9 kB] 1092s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxpm4 ppc64el 1:3.5.17-1build3 [50.5 kB] 1092s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxaw7 ppc64el 2:1.0.16-1build1 [234 kB] 1092s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxfont2 ppc64el 1:2.0.6-2 [119 kB] 1092s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build5 [90.2 kB] 1092s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 1093s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrandr2 ppc64el 2:1.5.4-1build1 [21.7 kB] 1093s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-xkb-utils ppc64el 7.7+9build1 [202 kB] 1093s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 1093s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglvnd0 ppc64el 1.7.0-3 [67.2 kB] 1093s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx0 ppc64el 1.7.0-3 [42.3 kB] 1093s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1 ppc64el 1.7.0-3 [103 kB] 1093s Get:49 http://ftpmaster.internal/ubuntu resolute/universe ppc64el xvfb ppc64el 2:21.1.21-1ubuntu1 [1135 kB] 1093s Fetched 23.5 MB in 14s (1722 kB/s) 1093s Selecting previously unselected package python3.14-minimal. 1094s (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 ... 121984 files and directories currently installed.) 1094s Preparing to unpack .../00-python3.14-minimal_3.14.2-1_ppc64el.deb ... 1094s Unpacking python3.14-minimal (3.14.2-1) ... 1094s Selecting previously unselected package dbus-x11. 1094s Preparing to unpack .../01-dbus-x11_1.16.2-2ubuntu2_ppc64el.deb ... 1094s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 1094s Selecting previously unselected package desktop-file-utils. 1094s Preparing to unpack .../02-desktop-file-utils_0.28-1build1_ppc64el.deb ... 1094s Unpacking desktop-file-utils (0.28-1build1) ... 1094s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 1094s Preparing to unpack .../03-gir1.2-glib-2.0-dev_2.87.2-2_ppc64el.deb ... 1094s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 1094s Selecting previously unselected package native-architecture. 1094s Preparing to unpack .../04-native-architecture_0.2.6build1_all.deb ... 1094s Unpacking native-architecture (0.2.6build1) ... 1094s Selecting previously unselected package girepository-tools:ppc64el. 1094s Preparing to unpack .../05-girepository-tools_2.87.2-2_ppc64el.deb ... 1094s Unpacking girepository-tools:ppc64el (2.87.2-2) ... 1094s Selecting previously unselected package gnome-desktop-testing. 1094s Preparing to unpack .../06-gnome-desktop-testing_2021.1-5_ppc64el.deb ... 1094s Unpacking gnome-desktop-testing (2021.1-5) ... 1094s Selecting previously unselected package libfontenc1:ppc64el. 1094s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build2_ppc64el.deb ... 1094s Unpacking libfontenc1:ppc64el (1:1.1.8-1build2) ... 1094s Selecting previously unselected package libx11-xcb1:ppc64el. 1094s Preparing to unpack .../08-libx11-xcb1_2%3a1.8.12-1build1_ppc64el.deb ... 1094s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 1094s Selecting previously unselected package libxcb-dri3-0:ppc64el. 1094s Preparing to unpack .../09-libxcb-dri3-0_1.17.0-2ubuntu1_ppc64el.deb ... 1094s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 1094s Selecting previously unselected package libxcb-present0:ppc64el. 1094s Preparing to unpack .../10-libxcb-present0_1.17.0-2ubuntu1_ppc64el.deb ... 1094s Unpacking libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 1094s Selecting previously unselected package libxcb-randr0:ppc64el. 1094s Preparing to unpack .../11-libxcb-randr0_1.17.0-2ubuntu1_ppc64el.deb ... 1094s Unpacking libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 1094s Selecting previously unselected package libxcb-sync1:ppc64el. 1094s Preparing to unpack .../12-libxcb-sync1_1.17.0-2ubuntu1_ppc64el.deb ... 1094s Unpacking libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 1094s Selecting previously unselected package libxcb-xfixes0:ppc64el. 1094s Preparing to unpack .../13-libxcb-xfixes0_1.17.0-2ubuntu1_ppc64el.deb ... 1094s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 1094s Selecting previously unselected package libxshmfence1:ppc64el. 1094s Preparing to unpack .../14-libxshmfence1_1.3.3-1build1_ppc64el.deb ... 1094s Unpacking libxshmfence1:ppc64el (1.3.3-1build1) ... 1094s Selecting previously unselected package mesa-libgallium:ppc64el. 1094s Preparing to unpack .../15-mesa-libgallium_25.3.3-1ubuntu1_ppc64el.deb ... 1094s Unpacking mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 1094s Selecting previously unselected package libgbm1:ppc64el. 1094s Preparing to unpack .../16-libgbm1_25.3.3-1ubuntu1_ppc64el.deb ... 1094s Unpacking libgbm1:ppc64el (25.3.3-1ubuntu1) ... 1094s Selecting previously unselected package libgio-2.0-dev-bin. 1094s Preparing to unpack .../17-libgio-2.0-dev-bin_2.87.2-2_ppc64el.deb ... 1094s Unpacking libgio-2.0-dev-bin (2.87.2-2) ... 1094s Selecting previously unselected package libvulkan1:ppc64el. 1094s Preparing to unpack .../18-libvulkan1_1.4.335.0-1_ppc64el.deb ... 1094s Unpacking libvulkan1:ppc64el (1.4.335.0-1) ... 1094s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 1094s Preparing to unpack .../19-libgl1-mesa-dri_25.3.3-1ubuntu1_ppc64el.deb ... 1094s Unpacking libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 1094s Selecting previously unselected package libglib2.0-bin. 1094s Preparing to unpack .../20-libglib2.0-bin_2.87.2-2_ppc64el.deb ... 1094s Unpacking libglib2.0-bin (2.87.2-2) ... 1094s Selecting previously unselected package libglib2.0-dev-bin. 1094s Preparing to unpack .../21-libglib2.0-dev-bin_2.87.2-2_ppc64el.deb ... 1094s Unpacking libglib2.0-dev-bin (2.87.2-2) ... 1094s Selecting previously unselected package python3-dbusmock. 1094s Preparing to unpack .../22-python3-dbusmock_0.38.1-1_all.deb ... 1094s Unpacking python3-dbusmock (0.38.1-1) ... 1094s Selecting previously unselected package tzdata-legacy. 1094s Preparing to unpack .../23-tzdata-legacy_2025c-3ubuntu3_all.deb ... 1094s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 1094s Selecting previously unselected package python3.14. 1094s Preparing to unpack .../24-python3.14_3.14.2-1_ppc64el.deb ... 1094s Unpacking python3.14 (3.14.2-1) ... 1094s Selecting previously unselected package libglib2.0-tests. 1094s Preparing to unpack .../25-libglib2.0-tests_2.87.2-2_ppc64el.deb ... 1094s Unpacking libglib2.0-tests (2.87.2-2) ... 1095s Selecting previously unselected package libxcb-glx0:ppc64el. 1095s Preparing to unpack .../26-libxcb-glx0_1.17.0-2ubuntu1_ppc64el.deb ... 1095s Unpacking libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 1095s Selecting previously unselected package libxcb-shm0:ppc64el. 1095s Preparing to unpack .../27-libxcb-shm0_1.17.0-2ubuntu1_ppc64el.deb ... 1095s Unpacking libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 1095s Selecting previously unselected package libxxf86vm1:ppc64el. 1095s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-2_ppc64el.deb ... 1095s Unpacking libxxf86vm1:ppc64el (1:1.1.4-2) ... 1095s Selecting previously unselected package libglx-mesa0:ppc64el. 1095s Preparing to unpack .../29-libglx-mesa0_25.3.3-1ubuntu1_ppc64el.deb ... 1095s Unpacking libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 1095s Selecting previously unselected package x11-common. 1095s Preparing to unpack .../30-x11-common_1%3a7.7+24ubuntu1_all.deb ... 1095s Unpacking x11-common (1:7.7+24ubuntu1) ... 1095s Selecting previously unselected package libice6:ppc64el. 1095s Preparing to unpack .../31-libice6_2%3a1.1.1-1build1_ppc64el.deb ... 1095s Unpacking libice6:ppc64el (2:1.1.1-1build1) ... 1095s Selecting previously unselected package libpixman-1-0:ppc64el. 1095s Preparing to unpack .../32-libpixman-1-0_0.46.4-1_ppc64el.deb ... 1095s Unpacking libpixman-1-0:ppc64el (0.46.4-1) ... 1095s Selecting previously unselected package libsm6:ppc64el. 1095s Preparing to unpack .../33-libsm6_2%3a1.2.6-1build1_ppc64el.deb ... 1095s Unpacking libsm6:ppc64el (2:1.2.6-1build1) ... 1095s Selecting previously unselected package libunwind8:ppc64el. 1095s Preparing to unpack .../34-libunwind8_1.8.3-0ubuntu1_ppc64el.deb ... 1095s Unpacking libunwind8:ppc64el (1.8.3-0ubuntu1) ... 1095s Selecting previously unselected package libxt6t64:ppc64el. 1095s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.3_ppc64el.deb ... 1095s Unpacking libxt6t64:ppc64el (1:1.2.1-1.3) ... 1095s Selecting previously unselected package libxmu6:ppc64el. 1095s Preparing to unpack .../36-libxmu6_2%3a1.1.3-4_ppc64el.deb ... 1095s Unpacking libxmu6:ppc64el (2:1.1.3-4) ... 1095s Selecting previously unselected package libxpm4:ppc64el. 1095s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build3_ppc64el.deb ... 1095s Unpacking libxpm4:ppc64el (1:3.5.17-1build3) ... 1095s Selecting previously unselected package libxaw7:ppc64el. 1095s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1build1_ppc64el.deb ... 1095s Unpacking libxaw7:ppc64el (2:1.0.16-1build1) ... 1095s Selecting previously unselected package libxfont2:ppc64el. 1095s Preparing to unpack .../39-libxfont2_1%3a2.0.6-2_ppc64el.deb ... 1095s Unpacking libxfont2:ppc64el (1:2.0.6-2) ... 1095s Selecting previously unselected package libxkbfile1:ppc64el. 1095s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build5_ppc64el.deb ... 1095s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build5) ... 1095s Selecting previously unselected package libxrender1:ppc64el. 1095s Preparing to unpack .../41-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 1095s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 1095s Selecting previously unselected package libxrandr2:ppc64el. 1095s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1build1_ppc64el.deb ... 1095s Unpacking libxrandr2:ppc64el (2:1.5.4-1build1) ... 1095s Selecting previously unselected package x11-xkb-utils. 1095s Preparing to unpack .../43-x11-xkb-utils_7.7+9build1_ppc64el.deb ... 1095s Unpacking x11-xkb-utils (7.7+9build1) ... 1095s Selecting previously unselected package xserver-common. 1095s Preparing to unpack .../44-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 1095s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 1095s Selecting previously unselected package libglvnd0:ppc64el. 1095s Preparing to unpack .../45-libglvnd0_1.7.0-3_ppc64el.deb ... 1095s Unpacking libglvnd0:ppc64el (1.7.0-3) ... 1095s Selecting previously unselected package libglx0:ppc64el. 1095s Preparing to unpack .../46-libglx0_1.7.0-3_ppc64el.deb ... 1095s Unpacking libglx0:ppc64el (1.7.0-3) ... 1095s Selecting previously unselected package libgl1:ppc64el. 1095s Preparing to unpack .../47-libgl1_1.7.0-3_ppc64el.deb ... 1095s Unpacking libgl1:ppc64el (1.7.0-3) ... 1095s Selecting previously unselected package xvfb. 1095s Preparing to unpack .../48-xvfb_2%3a21.1.21-1ubuntu1_ppc64el.deb ... 1095s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 1095s Setting up gnome-desktop-testing (2021.1-5) ... 1095s Setting up libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 1095s Setting up libpixman-1-0:ppc64el (0.46.4-1) ... 1095s Setting up libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 1095s Setting up libgio-2.0-dev-bin (2.87.2-2) ... 1095s Setting up native-architecture (0.2.6build1) ... 1095s Setting up libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 1095s Setting up desktop-file-utils (0.28-1build1) ... 1095s Setting up libxpm4:ppc64el (1:3.5.17-1build3) ... 1095s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 1095s Setting up libglvnd0:ppc64el (1.7.0-3) ... 1095s Setting up libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 1095s Setting up x11-common (1:7.7+24ubuntu1) ... 1096s Setting up libglib2.0-bin (2.87.2-2) ... 1096s Setting up libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 1096s Setting up python3-dbusmock (0.38.1-1) ... 1096s Setting up libunwind8:ppc64el (1.8.3-0ubuntu1) ... 1096s Setting up tzdata-legacy (2025c-3ubuntu3) ... 1096s Setting up libxxf86vm1:ppc64el (1:1.1.4-2) ... 1096s Setting up libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 1096s Setting up libfontenc1:ppc64el (1:1.1.8-1build2) ... 1096s Setting up libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 1096s Setting up libxrandr2:ppc64el (2:1.5.4-1build1) ... 1096s Setting up libvulkan1:ppc64el (1.4.335.0-1) ... 1096s Setting up gir1.2-glib-2.0-dev:ppc64el (2.87.2-2) ... 1096s Setting up libxshmfence1:ppc64el (1.3.3-1build1) ... 1096s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 1096s Setting up libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 1096s Setting up libxkbfile1:ppc64el (1:1.1.0-1build5) ... 1096s Setting up libxfont2:ppc64el (1:2.0.6-2) ... 1096s Setting up python3.14-minimal (3.14.2-1) ... 1097s Setting up libice6:ppc64el (2:1.1.1-1build1) ... 1097s Setting up mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 1097s Setting up girepository-tools:ppc64el (2.87.2-2) ... 1097s Setting up libgbm1:ppc64el (25.3.3-1ubuntu1) ... 1097s Setting up libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 1097s Setting up python3.14 (3.14.2-1) ... 1098s Setting up libsm6:ppc64el (2:1.2.6-1build1) ... 1098s Setting up libglib2.0-dev-bin (2.87.2-2) ... 1098s Setting up libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 1098s Setting up libglx0:ppc64el (1.7.0-3) ... 1098s Setting up libgl1:ppc64el (1.7.0-3) ... 1098s Setting up libxt6t64:ppc64el (1:1.2.1-1.3) ... 1098s Setting up libglib2.0-tests (2.87.2-2) ... 1098s Setting up libxmu6:ppc64el (2:1.1.3-4) ... 1098s Setting up libxaw7:ppc64el (2:1.0.16-1build1) ... 1098s Setting up x11-xkb-utils (7.7+9build1) ... 1098s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 1098s Setting up xvfb (2:21.1.21-1ubuntu1) ... 1098s Processing triggers for systemd (259-1ubuntu3) ... 1098s Processing triggers for man-db (2.13.1-1build1) ... 1099s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1106s autopkgtest [16:17:25]: test installed-tests: [----------------------- 1107s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1107s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1107s group entry: ubuntu:x:1000: 1107s Environment: 1107s ADTTMP=/tmp/autopkgtest.pvoQce/autopkgtest_tmp 1107s ADT_ARTIFACTS=/tmp/autopkgtest.pvoQce/installed-tests-artifacts 1107s ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 1107s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.pvoQce/installed-tests-artifacts 1107s AUTOPKGTEST_TESTBED_ARCH=ppc64el 1107s AUTOPKGTEST_TEST_ARCH=ppc64el 1107s AUTOPKGTEST_TMP=/tmp/autopkgtest.pvoQce/autopkgtest_tmp 1107s DEBIAN_FRONTEND=noninteractive 1107s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 1107s DEB_BUILD_OPTIONS=parallel=2 1107s GIO_USE_VFS=local 1107s GIO_USE_VOLUME_MONITOR=unix 1107s HOME=/home/ubuntu 1107s LANG=C.UTF-8 1107s LOGNAME=ubuntu 1107s MAIL=/var/mail/ubuntu 1107s OLDPWD=/home/ubuntu 1107s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1107s PWD=/tmp/autopkgtest.pvoQce/build.IGT/src 1107s SHELL=/bin/bash 1107s SHLVL=1 1107s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.pvoQce/wrapper.sh --artifacts=/tmp/autopkgtest.pvoQce/installed-tests-artifacts --chdir=/tmp/autopkgtest.pvoQce/build.IGT/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.pvoQce/installed-tests-stderr --stdout=/tmp/autopkgtest.pvoQce/installed-tests-stdout --tmp=/tmp/autopkgtest.pvoQce/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=dpkg/1.23.5ubuntu1 --make-executable=/tmp/autopkgtest.pvoQce/build.IGT/src/debian/tests/installed-tests -- /tmp/autopkgtest.pvoQce/build.IGT/src/debian/tests/installed-tests 1107s SUDO_GID=1000 1107s SUDO_HOME=/home/ubuntu 1107s SUDO_UID=1000 1107s SUDO_USER=ubuntu 1107s TERM=linux 1107s USER=ubuntu 1107s XDG_RUNTIME_DIR=/tmp/autopkgtest.pvoQce/autopkgtest_tmp 1107s http_proxy=http://egress.ps7.internal:3128/ 1107s https_proxy=http://egress.ps7.internal:3128/ 1107s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 1107s run-with-locales: de_DE=ISO-8859-1... 1107s Character set: ISO-8859-1 1107s Source file: de_DE 1107s Output: /tmp/tmp.YFdebGiL8O/de_DE 1107s run-with-locales: de_DE.utf8... 1107s Character set: UTF-8 1107s Source file: de_DE 1107s Output: /tmp/tmp.YFdebGiL8O/de_DE.utf8 1108s run-with-locales: de_DE@euro.utf8... 1108s Character set: UTF-8 1108s Source file: de_DE@euro 1108s Output: /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8 1110s run-with-locales: el_GR.utf8... 1110s Character set: UTF-8 1110s Source file: el_GR 1110s Output: /tmp/tmp.YFdebGiL8O/el_GR.utf8 1111s run-with-locales: en_GB=ISO-8859-1... 1111s Character set: ISO-8859-1 1111s Source file: en_GB 1111s Output: /tmp/tmp.YFdebGiL8O/en_GB 1111s run-with-locales: en_GB.utf8... 1111s Character set: UTF-8 1111s Source file: en_GB 1111s Output: /tmp/tmp.YFdebGiL8O/en_GB.utf8 1113s run-with-locales: en_US=ISO-8859-1... 1113s Character set: ISO-8859-1 1113s Source file: en_US 1113s Output: /tmp/tmp.YFdebGiL8O/en_US 1113s run-with-locales: en_US.utf8... 1113s Character set: UTF-8 1113s Source file: en_US 1113s Output: /tmp/tmp.YFdebGiL8O/en_US.utf8 1114s run-with-locales: es_ES.utf8... 1114s Character set: UTF-8 1114s Source file: es_ES 1114s Output: /tmp/tmp.YFdebGiL8O/es_ES.utf8 1116s run-with-locales: fa_IR=UTF-8... 1116s Character set: UTF-8 1116s Source file: fa_IR 1116s Output: /tmp/tmp.YFdebGiL8O/fa_IR 1117s run-with-locales: fa_IR.utf8... 1117s Character set: UTF-8 1117s Source file: fa_IR 1117s Output: /tmp/tmp.YFdebGiL8O/fa_IR.utf8 1118s run-with-locales: fr_FR.utf8... 1118s Character set: UTF-8 1118s Source file: fr_FR 1118s Output: /tmp/tmp.YFdebGiL8O/fr_FR.utf8 1120s run-with-locales: hr_HR.utf8... 1120s Character set: UTF-8 1120s Source file: hr_HR 1120s Output: /tmp/tmp.YFdebGiL8O/hr_HR.utf8 1121s run-with-locales: ja_JP.utf8... 1121s Character set: UTF-8 1121s Source file: ja_JP 1121s Output: /tmp/tmp.YFdebGiL8O/ja_JP.utf8 1122s run-with-locales: ja_JP.EUC-JP... 1122s Character set: EUC-JP 1122s Source file: ja_JP 1122s Output: /tmp/tmp.YFdebGiL8O/ja_JP.eucjp 1122s run-with-locales: lt_LT.utf8... 1122s Character set: UTF-8 1122s Source file: lt_LT 1122s Output: /tmp/tmp.YFdebGiL8O/lt_LT.utf8 1123s run-with-locales: pl_PL=ISO-8859-2... 1123s Character set: ISO-8859-2 1123s Source file: pl_PL 1123s Output: /tmp/tmp.YFdebGiL8O/pl_PL 1124s run-with-locales: pl_PL.ISO-8859-2... 1124s Character set: ISO-8859-2 1124s Source file: pl_PL 1124s Output: /tmp/tmp.YFdebGiL8O/pl_PL.iso88592 1124s run-with-locales: pl_PL.utf8... 1124s Character set: UTF-8 1124s Source file: pl_PL 1124s Output: /tmp/tmp.YFdebGiL8O/pl_PL.utf8 1125s run-with-locales: ru_RU=ISO-8859-5... 1125s Character set: ISO-8859-5 1125s Source file: ru_RU 1125s Output: /tmp/tmp.YFdebGiL8O/ru_RU 1126s run-with-locales: ru_RU.utf8... 1126s Character set: UTF-8 1126s Source file: ru_RU 1126s Output: /tmp/tmp.YFdebGiL8O/ru_RU.utf8 1127s run-with-locales: sr_RS=UTF-8... 1127s Character set: UTF-8 1127s Source file: sr_RS 1127s Output: /tmp/tmp.YFdebGiL8O/sr_RS 1128s run-with-locales: sr_RS@latin=UTF-8... 1128s Character set: UTF-8 1128s Source file: sr_RS@latin 1128s Output: /tmp/tmp.YFdebGiL8O/sr_RS@latin 1130s run-with-locales: sv_SE=ISO-8859-1... 1130s Character set: ISO-8859-1 1130s Source file: sv_SE 1130s Output: /tmp/tmp.YFdebGiL8O/sv_SE 1130s run-with-locales: sv_SE.utf8... 1130s Character set: UTF-8 1130s Source file: sv_SE 1130s Output: /tmp/tmp.YFdebGiL8O/sv_SE.utf8 1131s run-with-locales: tr_TR=ISO-8859-9... 1131s Character set: ISO-8859-9 1131s Source file: tr_TR 1131s Output: /tmp/tmp.YFdebGiL8O/tr_TR 1132s run-with-locales: tr_TR.utf8... 1132s Character set: UTF-8 1132s Source file: tr_TR 1132s Output: /tmp/tmp.YFdebGiL8O/tr_TR.utf8 1133s run-with-locales: tt_RU=UTF-8... 1133s Character set: UTF-8 1133s Source file: tt_RU 1133s Output: /tmp/tmp.YFdebGiL8O/tt_RU 1134s run-with-locales: tt_RU.utf8... 1134s Character set: UTF-8 1134s Source file: tt_RU 1134s Output: /tmp/tmp.YFdebGiL8O/tt_RU.utf8 1136s run-with-locales: tt_RU@iqtelif=UTF-8... 1136s Character set: UTF-8 1136s Source file: tt_RU@iqtelif 1136s Output: /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif 1137s /tmp/tmp.YFdebGiL8O 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/ja_JP.eucjp/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/tr_TR 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/tr_TR/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/tt_RU 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/tt_RU/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/en_US.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/fa_IR.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/sv_SE 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/sv_SE/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/fa_IR 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/fa_IR/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/pl_PL 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/pl_PL/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/de_DE.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/sv_SE.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/hr_HR.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/fr_FR.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/en_GB.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/lt_LT.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/de_DE@euro.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/tt_RU.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/en_US 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/en_US/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/en_GB 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/en_GB/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/ru_RU 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/ru_RU/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/el_GR.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/sr_RS@latin/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/es_ES.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/tr_TR.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/tt_RU@iqtelif/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/pl_PL.iso88592/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/ja_JP.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/pl_PL.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/ru_RU.utf8/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/sr_RS 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/sr_RS/LC_ADDRESS 1137s /tmp/tmp.YFdebGiL8O/de_DE 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_PAPER 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_MONETARY 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_NAME 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_COLLATE 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_MEASUREMENT 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_TELEPHONE 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_CTYPE 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_TIME 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_IDENTIFICATION 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_NUMERIC 1137s /tmp/tmp.YFdebGiL8O/de_DE/LC_ADDRESS 1137s 1..337 1137s # Running test: glib/completion.test 1137s ok - glib/completion.test 1137s # Running test: glib/data-input-stream.test 1137s TAP version 14 1137s # random seed: R02Sd936fd2e87e27bb1d91830cc6a00cb18 1137s 1..1 1137s # Start of completion tests 1137s ok 1 /completion/test-completion 1137s # End of completion tests 1137s TAP version 14 1137s # random seed: R02S5dc16fc94d1344305264e1303aed49f1 1137s 1..10 1137s # Start of data-input-stream tests 1137s ok 1 /data-input-stream/basic 1137s ok 2 /data-input-stream/read-lines-LF 1137s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1137s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1137s ok 5 /data-input-stream/read-lines-CR 1137s ok 6 /data-input-stream/read-lines-CR-LF 1137s ok 7 /data-input-stream/read-lines-any 1137s ok 8 /data-input-stream/read-until 1137s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1137s # Test vector 1: {"key": "value"}? and ? 1137s ok 9 /data-input-stream/read-upto 1137s ok 10 /data-input-stream/read-int 1137s # End of data-input-stream tests 1137s ok - glib/data-input-stream.test 1137s # Running test: glib/cmph-bdz.test 1137s TAP version 14 1137s # random seed: R02Sf7752b65216592a942ea19f69daf83e6 1137s 1..2 1137s # Start of cmph-bdz tests 1137s ok 1 /cmph-bdz/search 1137s ok 2 /cmph-bdz/search-packed 1137s # End of cmph-bdz tests 1137s ok - glib/cmph-bdz.test 1137s # Running test: glib/notify-init.test 1137s TAP version 14 1137s # random seed: R02Scf5e40467ae10454239cd51bb2b945c5 1137s 1..1 1137s # Start of properties tests 1137s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1137s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1137s ok 1 /properties/notify-in-init 1137s # End of properties tests 1137s ok - glib/notify-init.test 1137s # Running test: glib/boxed.test 1137s ok - glib/boxed.test 1137s TAP version 14 1137s # random seed: R02S4fc2784523a56ecb80100b42c91ebc5b 1137s 1..27 1137s # Start of boxed tests 1137s ok 1 /boxed/define 1137s ok 2 /boxed/ownership 1137s ok 3 /boxed/closure 1137s ok 4 /boxed/date 1137s ok 5 /boxed/value 1137s ok 6 /boxed/string 1137s ok 7 /boxed/hashtable 1137s ok 8 /boxed/array 1137s ok 9 /boxed/ptrarray 1137s ok 10 /boxed/regex 1137s ok 11 /boxed/varianttype 1137s ok 12 /boxed/error 1137s ok 13 /boxed/datetime 1137s ok 14 /boxed/matchinfo 1137s ok 15 /boxed/keyfile 1137s ok 16 /boxed/mainloop 1137s ok 17 /boxed/maincontext 1137s ok 18 /boxed/source 1137s ok 19 /boxed/variantbuilder 1137s ok 20 /boxed/timezone 1137s ok 21 /boxed/pollfd 1137s ok 22 /boxed/markup 1137s ok 23 /boxed/thread 1137s ok 24 /boxed/checksum 1137s ok 25 /boxed/tree 1137s ok 26 /boxed/patternspec 1137s ok 27 /boxed/rand 1137s # End of boxed tests 1137s # Running test: glib/unicode-encoding.test 1137s TAP version 14 1137s # random seed: R02S14e1fffaa5331811a89561d89430173a 1137s 1..1 1137s # Start of unicode tests 1137s ok 1 /unicode/encoding 1137s # End of unicode tests 1137s ok - glib/unicode-encoding.test 1137s # Running test: glib/gdbus-connection.test 1137s TAP version 14 1137s # random seed: R02Sc5eff7d258a849eb80d5fdf08b0171b3 1137s 1..9 1137s # Start of gdbus tests 1137s # Start of connection tests 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/bus-failure/.dirs/runtime 1137s ok 1 /gdbus/connection/bus-failure 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/basic/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 2 /gdbus/connection/basic 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/life-cycle/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 3 /gdbus/connection/life-cycle 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/send/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 4 /gdbus/connection/send 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signals/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 5 /gdbus/connection/signals 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/signal-match-rules/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 6 /gdbus/connection/signal-match-rules 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/filter/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 7 /gdbus/connection/filter 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/serials/.dirs/runtime 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 8 /gdbus/connection/serials 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_K9QAK3/gdbus/connection/cancel/.dirs/runtime 1137s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1137s ok 9 /gdbus/connection/cancel 1137s # End of connection tests 1137s # End of gdbus tests 1137s ok - glib/gdbus-connection.test 1137s # Running test: glib/sleepy-stream.test 1137s TAP version 14 1137s # random seed: R02S1ff4a0e41e03069e22c6e42598f73b07 1137s 1..2 1137s # Start of filter-stream tests 1137s ok 1 /filter-stream/input 1137s ok 2 /filter-stream/async 1137s # End of filter-stream tests 1137s ok - glib/sleepy-stream.test 1137s # Running test: glib/closure.test 1137s TAP version 14 1137s # random seed: R02Sf5555714126651e221df65bba593a177 1137s 1..6 1137s # Start of closure tests 1137s ok 1 /closure/idle 1137s ok 2 /closure/timeout 1137s ok 3 /closure/iochannel 1137s ok 4 /closure/child 1137s ok 5 /closure/fd 1137s ok 6 /closure/signal 1137s # End of closure tests 1137s ok - glib/closure.test 1137s # Running test: glib/tls-bindings.test 1137s TAP version 14 1137s # random seed: R02S6d94ba5e37854d5519ccbab9285a989a 1137s 1..2 1137s # Start of tls-connection tests 1137s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1137s ok 1 /tls-connection/get-tls-channel-binding 1137s ok 2 /tls-connection/get-dtls-channel-binding 1137s # End of tls-connection tests 1137s ok - glib/tls-bindings.test 1137s TAP version 14 1137s # random seed: R02Sdc0d7edb5c21dff7ca9d608f92c4abd6 1137s 1..4 1137s # Start of enum tests 1137s ok 1 /enum/basic 1137s ok 2 /enum/define-type 1137s # End of enum tests 1137s # Start of flags tests 1137s ok 3 /flags/basic 1137s ok 4 /flags/define-type 1137s # End of flags tests 1137s # Running test: glib/enums.test 1137s ok - glib/enums.test 1137s # Running test: glib/filenamecompleter.test 1137s ok - glib/filenamecompleter.test 1137s TAP version 14 1137s # random seed: R02Sf105f3850e45ca6860a1d7f80e1c9d5a 1137s 1..1 1137s # Start of filenamecompleter tests 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_GOACK3/filenamecompleter/basic/.dirs/runtime 1137s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1137s ok 1 /filenamecompleter/basic 1137s # End of filenamecompleter tests 1137s # Running test: glib/notify-init2.test 1137s TAP version 14 1137s # random seed: R02S7aec1cc5f8766f3d04fb7ae4e9a13b23 1137s 1..1 1137s # Start of properties tests 1137s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1137s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1137s ok 1 /properties/notify-in-init2 1137s ok - glib/notify-init2.test 1137s # End of properties tests 1137s # Running test: glib/overflow.test 1137s TAP version 14 1137s # random seed: R02S96a3676bd90d281dc06fab23e0bd3c06 1137s 1..6 1137s # Start of glib tests 1137s # Start of checked-math tests 1137s ok 1 /glib/checked-math/guint-add 1137s ok 2 /glib/checked-math/guint-mul 1137s ok 3 /glib/checked-math/guint64-add 1137s ok 4 /glib/checked-math/guint64-mul 1137s ok 5 /glib/checked-math/gsize-add 1137s ok 6 /glib/checked-math/gsize-mul 1137s # End of checked-math tests 1137s # End of glib tests 1137s ok - glib/overflow.test 1137s # Running test: glib/utf8-misc.test 1137s ok - glib/utf8-misc.test 1137s TAP version 14 1137s # random seed: R02S96fbf0c715e7b9dd61a8b300a8704124 1137s 1..7 1137s # Start of utf8 tests 1137s ok 1 /utf8/strlen 1137s ok 2 /utf8/strncpy 1137s ok 3 /utf8/strrchr 1137s ok 4 /utf8/reverse 1137s ok 5 /utf8/substring 1137s ok 6 /utf8/make-valid 1137s ok 7 /utf8/truncate-middle 1137s # End of utf8 tests 1137s # Running test: glib/portal-support-flatpak-gsettings-only.test 1137s ok - glib/portal-support-flatpak-gsettings-only.test 1137s # Running test: glib/ir-parser.test 1137s TAP version 14 1137s # random seed: R02Sb5278831229bf8bddd9d944f787e87bd 1137s 1..1 1137s # Start of portal-support tests 1137s # Start of flatpak tests 1137s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/home 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/cache 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/system-config2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/config 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/system-data2 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/data 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/state 1137s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/runtime 1137s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_WI4DK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1137s ok 1 /portal-support/flatpak/gsettings 1137s # End of flatpak tests 1137s # End of portal-support tests 1137s TAP version 14 1137s # random seed: R02S7f1c1b2c4c436bd048b66715f45e9792 1137s 1..1 1137s # Start of ir-parser tests 1137s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1137s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: popping node 1 dummy 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1137s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: popping node 1 dummy 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: 1137s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1137s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Errorx)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1145s ok 59 /regex/new-fail/42 1145s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1145s ok 60 /regex/new-fail/43 1145s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1145s ok 61 /regex/new-fail/44 1145s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1145s ok 62 /regex/new-fail/45 1145s # 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 1145s ok 63 /regex/new-fail/46 1145s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1145s ok 64 /regex/new-fail/47 1145s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1145s ok 65 /regex/new-fail/48 1145s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1145s ok 66 /regex/new-fail/49 1145s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1145s ok 67 /regex/new-fail/50 1145s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1145s ok 68 /regex/new-fail/51 1145s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1145s ok 69 /regex/new-fail/52 1145s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1145s ok 70 /regex/new-fail/53 1145s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1145s ok 71 /regex/new-fail/54 1145s # 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 1145s ok 72 /regex/new-fail/55 1145s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1145s ok 73 /regex/new-fail/56 1145s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1145s ok 74 /regex/new-fail/57 1145s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1145s ok 75 /regex/new-fail/58 1145s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1145s ok 76 /regex/new-fail/59 1145s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1145s ok 77 /regex/new-fail/60 1145s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1145s ok 78 /regex/new-fail/61 1145s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1145s ok 79 /regex/new-fail/62 1145s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1145s ok 80 /regex/new-fail/63 1145s # 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 1145s ok 81 /regex/new-fail/64 1145s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1145s ok 82 /regex/new-fail/65 1145s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1145s ok 83 /regex/new-fail/66 1145s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1145s ok 84 /regex/new-fail/67 1145s # 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 1145s ok 85 /regex/new-fail/68 1145s # 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 1145s ok 86 /regex/new-fail/69 1145s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1145s ok 87 /regex/new-fail/70 1145s # 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 1145s ok 90 /regex/new-fail/74 1145s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1145s ok 91 /regex/new-fail/75 1145s # 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 1145s ok 92 /regex/new-fail/76 1145s # Compiling pattern /a/ failed with error: Invalid newline flags 1145s ok 93 /regex/new-fail/77 1145s # 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 1145s ok 94 /regex/new-fail/78 1145s # 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 1145s ok 95 /regex/new-fail/79 1145s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1145s ok 96 /regex/new-fail/80 1145s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1145s ok 97 /regex/new-fail/82 1145s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1145s ok 98 /regex/new-fail/84 1145s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1145s ok 99 /regex/new-fail/85 1145s # 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 1145s ok 100 /regex/new-fail/86 1145s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1145s ok 101 /regex/new-fail/87 1145s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1145s ok 102 /regex/new-fail/88 1145s # 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 1145s ok 103 /regex/new-fail/89 1145s # 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 1145s ok 104 /regex/new-fail/90 1145s # 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) 1145s ok 105 /regex/new-fail/91 1145s # 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 1145s ok 106 /regex/new-fail/92 1145s # End of new-fail tests 1145s # Start of match-simple tests 1145s ok 107 /regex/match-simple/93 1145s ok 108 /regex/match-simple/94 1145s ok 109 /regex/match-simple/95 1145s ok 110 /regex/match-simple/96 1145s ok 111 /regex/match-simple/97 1145s ok 112 /regex/match-simple/98 1145s ok 113 /regex/match-simple/99 1145s ok 114 /regex/match-simple/100 1145s ok 115 /regex/match-simple/101 1145s ok 116 /regex/match-simple/102 1145s ok 117 /regex/match-simple/103 1145s ok 118 /regex/match-simple/104 1145s ok 119 /regex/match-simple/105 1145s ok 120 /regex/match-simple/106 1145s ok 121 /regex/match-simple/107 1145s ok 122 /regex/match-simple/108 1145s ok 123 /regex/match-simple/109 1145s ok 124 /regex/match-simple/110 1145s ok 125 /regex/match-simple/111 1145s ok 126 /regex/match-simple/112 1145s ok 127 /regex/match-simple/113 1145s ok 128 /regex/match-simple/114 1145s ok 129 /regex/match-simple/115 1145s ok 130 /regex/match-simple/116 1145s ok 131 /regex/match-simple/117 1145s ok 132 /regex/match-simple/118 1145s ok 133 /regex/match-simple/119 1145s ok 134 /regex/match-simple/120 1145s ok 135 /regex/match-simple/121 1145s ok 136 /regex/match-simple/122 1145s ok 137 /regex/match-simple/123 1145s ok 138 /regex/match-simple/124 1145s ok 139 /regex/match-simple/125 1145s ok 140 /regex/match-simple/126 1145s ok 141 /regex/match-simple/127 1145s ok 142 /regex/match-simple/128 1145s ok 143 /regex/match-simple/129 1145s ok 144 /regex/match-simple/130 1145s ok 145 /regex/match-simple/131 1145s ok 146 /regex/match-simple/132 1145s ok 147 /regex/match-simple/133 1145s ok 148 /regex/match-simple/134 1145s ok 149 /regex/match-simple/135 1145s ok 150 /regex/match-simple/136 1145s ok 151 /regex/match-simple/137 1145s ok 152 /regex/match-simple/138 1145s ok 153 /regex/match-simple/139 1145s ok 154 /regex/match-simple/140 1145s ok 155 /regex/match-simple/141 1145s ok 156 /regex/match-simple/142 1145s ok 157 /regex/match-simple/143 1145s ok 158 /regex/match-simple/144 1145s ok 159 /regex/match-simple/145 1145s ok 160 /regex/match-simple/146 1145s ok 161 /regex/match-simple/147 1145s ok 162 /regex/match-simple/148 1145s ok 163 /regex/match-simple/149 1145s ok 164 /regex/match-simple/150 1145s ok 165 /regex/match-simple/151 1145s ok 166 /regex/match-simple/152 1145s ok 167 /regex/match-simple/153 1145s ok 168 /regex/match-simple/154 1145s ok 169 /regex/match-simple/155 1145s ok 170 /regex/match-simple/156 1145s ok 171 /regex/match-simple/157 1145s ok 172 /regex/match-simple/158 1145s ok 173 /regex/match-simple/159 1145s ok 174 /regex/match-simple/160 1145s ok 175 /regex/match-simple/161 1145s ok 176 /regex/match-simple/162 1145s ok 177 /regex/match-simple/163 1145s ok 178 /regex/match-simple/164 1145s ok 179 /regex/match-simple/165 1145s # End of match-simple tests 1145s # Start of match-simple-optimized tests 1145s ok 180 /regex/match-simple-optimized/93 1145s ok 181 /regex/match-simple-optimized/94 1145s ok 182 /regex/match-simple-optimized/95 1145s ok 183 /regex/match-simple-optimized/96 1145s ok 184 /regex/match-simple-optimized/97 1145s ok 185 /regex/match-simple-optimized/98 1145s ok 186 /regex/match-simple-optimized/99 1145s ok 187 /regex/match-simple-optimized/100 1145s ok 188 /regex/match-simple-optimized/101 1145s ok 189 /regex/match-simple-optimized/102 1145s ok 190 /regex/match-simple-optimized/103 1145s ok 191 /regex/match-simple-optimized/104 1145s ok 192 /regex/match-simple-optimized/105 1145s ok 193 /regex/match-simple-optimized/106 1145s ok 194 /regex/match-simple-optimized/107 1145s ok 195 /regex/match-simple-optimized/108 1145s ok 196 /regex/match-simple-optimized/109 1145s ok 197 /regex/match-simple-optimized/110 1145s ok 198 /regex/match-simple-optimized/111 1145s ok 199 /regex/match-simple-optimized/112 1145s ok 200 /regex/match-simple-optimized/113 1145s ok 201 /regex/match-simple-optimized/114 1145s ok 202 /regex/match-simple-optimized/115 1145s ok 203 /regex/match-simple-optimized/116 1145s ok 204 /regex/match-simple-optimized/117 1145s ok 205 /regex/match-simple-optimized/118 1145s ok 206 /regex/match-simple-optimized/119 1145s ok 207 /regex/match-simple-optimized/120 1145s ok 208 /regex/match-simple-optimized/121 1145s ok 209 /regex/match-simple-optimized/122 1145s ok 210 /regex/match-simple-optimized/123 1145s ok 211 /regex/match-simple-optimized/124 1145s ok 212 /regex/match-simple-optimized/125 1145s ok 213 /regex/match-simple-optimized/126 1145s ok 214 /regex/match-simple-optimized/127 1145s ok 215 /regex/match-simple-optimized/128 1145s ok 216 /regex/match-simple-optimized/129 1145s ok 217 /regex/match-simple-optimized/130 1145s ok 218 /regex/match-simple-optimized/131 1145s ok 219 /regex/match-simple-optimized/132 1145s ok 220 /regex/match-simple-optimized/133 1145s ok 221 /regex/match-simple-optimized/134 1145s ok 222 /regex/match-simple-optimized/135 1145s ok 223 /regex/match-simple-optimized/136 1145s ok 224 /regex/match-simple-optimized/137 1145s ok 225 /regex/match-simple-optimized/138 1145s ok 226 /regex/match-simple-optimized/139 1145s ok 227 /regex/match-simple-optimized/140 1145s ok 228 /regex/match-simple-optimized/141 1145s ok 229 /regex/match-simple-optimized/142 1145s ok 230 /regex/match-simple-optimized/143 1145s ok 231 /regex/match-simple-optimized/144 1145s ok 232 /regex/match-simple-optimized/145 1145s ok 233 /regex/match-simple-optimized/146 1145s ok 234 /regex/match-simple-optimized/147 1145s ok 235 /regex/match-simple-optimized/148 1145s ok 236 /regex/match-simple-optimized/149 1145s ok 237 /regex/match-simple-optimized/150 1145s ok 238 /regex/match-simple-optimized/151 1145s ok 239 /regex/match-simple-optimized/152 1145s ok 240 /regex/match-simple-optimized/153 1145s ok 241 /regex/match-simple-optimized/154 1145s ok 242 /regex/match-simple-optimized/155 1145s ok 243 /regex/match-simple-optimized/156 1145s ok 244 /regex/match-simple-optimized/157 1145s ok 245 /regex/match-simple-optimized/158 1145s ok 246 /regex/match-simple-optimized/159 1145s ok 247 /regex/match-simple-optimized/160 1145s ok 248 /regex/match-simple-optimized/161 1145s ok 249 /regex/match-simple-optimized/162 1145s ok 250 /regex/match-simple-optimized/163 1145s ok 251 /regex/match-simple-optimized/164 1145s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1145s ok 252 /regex/match-simple-optimized/165 1145s # End of match-simple-optimized tests 1145s # Start of match tests 1145s ok 253 /regex/match/166 1145s ok 254 /regex/match/167 1145s ok 255 /regex/match/168 1145s ok 256 /regex/match/169 1145s ok 257 /regex/match/170 1145s ok 258 /regex/match/171 1145s ok 259 /regex/match/172 1145s ok 260 /regex/match/173 1145s ok 261 /regex/match/174 1145s ok 262 /regex/match/175 1145s ok 263 /regex/match/176 1145s ok 264 /regex/match/177 1145s ok 265 /regex/match/178 1145s ok 266 /regex/match/179 1145s ok 267 /regex/match/180 1145s ok 268 /regex/match/181 1145s ok 269 /regex/match/182 1145s ok 270 /regex/match/183 1145s ok 271 /regex/match/184 1145s ok 272 /regex/match/185 1145s ok 273 /regex/match/186 1145s ok 274 /regex/match/187 1145s ok 275 /regex/match/188 1145s ok 276 /regex/match/189 1145s ok 277 /regex/match/190 1145s ok 278 /regex/match/191 1145s ok 279 /regex/match/192 1145s ok 280 /regex/match/193 1145s ok 281 /regex/match/194 1145s ok 282 /regex/match/195 1145s ok 283 /regex/match/196 1145s ok 284 /regex/match/197 1145s ok 285 /regex/match/198 1145s ok 286 /regex/match/199 1145s ok 287 /regex/match/200 1145s ok 288 /regex/match/201 1145s ok 289 /regex/match/202 1145s ok 290 /regex/match/203 1145s ok 291 /regex/match/204 1145s ok 292 /regex/match/205 1145s ok 293 /regex/match/206 1145s ok 294 /regex/match/207 1145s ok 295 /regex/match/208 1145s ok 296 /regex/match/209 1145s ok 297 /regex/match/210 1145s ok 298 /regex/match/211 1145s ok 299 /regex/match/212 1145s ok 300 /regex/match/213 1145s ok 301 /regex/match/214 1145s ok 302 /regex/match/215 1145s ok 303 /regex/match/216 1145s ok 304 /regex/match/217 1145s ok 305 /regex/match/218 1145s ok 306 /regex/match/219 1145s ok 307 /regex/match/220 1145s ok 308 /regex/match/221 1145s ok 309 /regex/match/222 1145s ok 310 /regex/match/223 1145s ok 311 /regex/match/224 1145s ok 312 /regex/match/225 1145s ok 313 /regex/match/226 1145s ok 314 /regex/match/227 1145s ok 315 /regex/match/228 1145s ok 316 /regex/match/229 1145s ok 317 /regex/match/230 1145s ok 318 /regex/match/231 1145s ok 319 /regex/match/232 1145s ok 320 /regex/match/233 1145s ok 321 /regex/match/234 1145s ok 322 /regex/match/235 1145s ok 323 /regex/match/236 1145s ok 324 /regex/match/237 1145s ok 325 /regex/match/238 1145s ok 326 /regex/match/239 1145s ok 327 /regex/match/240 1145s ok 328 /regex/match/241 1145s ok 329 /regex/match/242 1145s ok 330 /regex/match/243 1145s ok 331 /regex/match/244 1145s ok 332 /regex/match/245 1145s ok 333 /regex/match/246 1145s ok 334 /regex/match/247 1145s ok 335 /regex/match/partial282 1145s ok 336 /regex/match/partial283 1145s ok 337 /regex/match/partial284 1145s ok 338 /regex/match/partial285 1145s ok 339 /regex/match/partial286 1145s ok 340 /regex/match/partial287 1145s ok 341 /regex/match/partial288 1145s ok 342 /regex/match/partial289 1145s ok 343 /regex/match/partial290 1145s ok 344 /regex/match/partial291 1145s ok 345 /regex/match/partial292 1145s ok 346 /regex/match/partial293 1145s ok 347 /regex/match/partial294 1145s ok 348 /regex/match/partial295 1145s ok 349 /regex/match/partial296 1145s ok 350 /regex/match/partial297 1145s ok 351 /regex/match/partial298 1145s ok 352 /regex/match/partial299 1145s ok 353 /regex/match/partial300 1145s ok 354 /regex/match/partial301 1145s ok 355 /regex/match/partial302 1145s ok 356 /regex/match/partial303 1145s # Start of next0 tests 1145s ok 357 /regex/match/next0/248 1145s ok 358 /regex/match/next0/249 1145s ok 359 /regex/match/next0/250 1145s ok 360 /regex/match/next0/251 1145s # End of next0 tests 1145s # Start of next1 tests 1145s ok 361 /regex/match/next1/252 1145s ok 362 /regex/match/next1/253 1145s ok 363 /regex/match/next1/254 1145s ok 364 /regex/match/next1/255 1145s ok 365 /regex/match/next1/256 1145s # End of next1 tests 1145s # Start of next2 tests 1145s ok 366 /regex/match/next2/257 1145s ok 367 /regex/match/next2/258 1145s ok 368 /regex/match/next2/259 1145s ok 369 /regex/match/next2/260 1145s ok 370 /regex/match/next2/261 1145s ok 371 /regex/match/next2/262 1145s ok 372 /regex/match/next2/263 1145s ok 373 /regex/match/next2/264 1145s # End of next2 tests 1145s # Start of next3 tests 1145s ok 374 /regex/match/next3/265 1145s ok 375 /regex/match/next3/266 1145s ok 376 /regex/match/next3/267 1145s ok 377 /regex/match/next3/268 1145s ok 378 /regex/match/next3/269 1145s ok 379 /regex/match/next3/270 1145s # End of next3 tests 1145s # Start of next4 tests 1145s ok 380 /regex/match/next4/271 1145s # End of next4 tests 1145s # Start of count tests 1145s ok 381 /regex/match/count/272 1145s ok 382 /regex/match/count/273 1145s ok 383 /regex/match/count/274 1145s ok 384 /regex/match/count/275 1145s ok 385 /regex/match/count/276 1145s ok 386 /regex/match/count/277 1145s ok 387 /regex/match/count/278 1145s ok 388 /regex/match/count/279 1145s ok 389 /regex/match/count/280 1145s ok 390 /regex/match/count/281 1145s # End of count tests 1145s # Start of count-optimized tests 1145s ok 391 /regex/match/count-optimized/272 1145s ok 392 /regex/match/count-optimized/273 1145s ok 393 /regex/match/count-optimized/274 1145s ok 394 /regex/match/count-optimized/275 1145s ok 395 /regex/match/count-optimized/276 1145s ok 396 /regex/match/count-optimized/277 1145s ok 397 /regex/match/count-optimized/278 1145s ok 398 /regex/match/count-optimized/279 1145s ok 399 /regex/match/count-optimized/280 1145s ok 400 /regex/match/count-optimized/281 1145s # End of count-optimized tests 1145s # Start of partial-optimized tests 1145s ok 401 /regex/match/partial-optimized/282 1145s ok 402 /regex/match/partial-optimized/283 1145s ok 403 /regex/match/partial-optimized/284 1145s ok 404 /regex/match/partial-optimized/285 1145s ok 405 /regex/match/partial-optimized/286 1145s ok 406 /regex/match/partial-optimized/287 1145s ok 407 /regex/match/partial-optimized/288 1145s ok 408 /regex/match/partial-optimized/289 1145s ok 409 /regex/match/partial-optimized/290 1145s ok 410 /regex/match/partial-optimized/291 1145s ok 411 /regex/match/partial-optimized/292 1145s ok 412 /regex/match/partial-optimized/293 1145s ok 413 /regex/match/partial-optimized/294 1145s ok 414 /regex/match/partial-optimized/295 1145s ok 415 /regex/match/partial-optimized/296 1145s ok 416 /regex/match/partial-optimized/297 1145s ok 417 /regex/match/partial-optimized/298 1145s ok 418 /regex/match/partial-optimized/299 1145s ok 419 /regex/match/partial-optimized/300 1145s ok 420 /regex/match/partial-optimized/301 1145s ok 421 /regex/match/partial-optimized/302 1145s ok 422 /regex/match/partial-optimized/303 1145s # End of partial-optimized tests 1145s # Start of subpattern tests 1145s ok 423 /regex/match/subpattern/304 1145s ok 424 /regex/match/subpattern/305 1145s ok 425 /regex/match/subpattern/306 1145s ok 426 /regex/match/subpattern/307 1145s ok 427 /regex/match/subpattern/308 1145s ok 428 /regex/match/subpattern/309 1145s ok 429 /regex/match/subpattern/310 1145s ok 430 /regex/match/subpattern/311 1145s ok 431 /regex/match/subpattern/312 1145s ok 432 /regex/match/subpattern/313 1145s ok 433 /regex/match/subpattern/314 1145s ok 434 /regex/match/subpattern/315 1145s ok 435 /regex/match/subpattern/316 1145s # Start of named tests 1145s # Start of dupnames tests 1145s ok 436 /regex/match/subpattern/named/dupnames/326 1145s ok 437 /regex/match/subpattern/named/dupnames/327 1145s ok 438 /regex/match/subpattern/named/dupnames/328 1145s ok 439 /regex/match/subpattern/named/dupnames/329 1145s ok 440 /regex/match/subpattern/named/dupnames/330 1145s # End of dupnames tests 1145s # End of named tests 1145s # End of subpattern tests 1145s # Start of subpattern-optimized tests 1145s ok 441 /regex/match/subpattern-optimized/304 1145s ok 442 /regex/match/subpattern-optimized/305 1145s ok 443 /regex/match/subpattern-optimized/306 1145s ok 444 /regex/match/subpattern-optimized/307 1145s ok 445 /regex/match/subpattern-optimized/308 1145s ok 446 /regex/match/subpattern-optimized/309 1145s ok 447 /regex/match/subpattern-optimized/310 1145s ok 448 /regex/match/subpattern-optimized/311 1145s ok 449 /regex/match/subpattern-optimized/312 1145s ok 450 /regex/match/subpattern-optimized/313 1145s ok 451 /regex/match/subpattern-optimized/314 1145s ok 452 /regex/match/subpattern-optimized/315 1145s ok 453 /regex/match/subpattern-optimized/316 1145s # End of subpattern-optimized tests 1145s # Start of named tests 1145s # Start of subpattern tests 1145s ok 454 /regex/match/named/subpattern/317 1145s ok 455 /regex/match/named/subpattern/318 1145s ok 456 /regex/match/named/subpattern/319 1145s ok 457 /regex/match/named/subpattern/320 1145s ok 458 /regex/match/named/subpattern/321 1145s ok 459 /regex/match/named/subpattern/322 1145s ok 460 /regex/match/named/subpattern/323 1145s ok 461 /regex/match/named/subpattern/324 1145s ok 462 /regex/match/named/subpattern/325 1145s ok 463 /regex/match/named/subpattern/331 1145s ok 464 /regex/match/named/subpattern/332 1145s ok 465 /regex/match/named/subpattern/333 1145s ok 466 /regex/match/named/subpattern/334 1145s ok 467 /regex/match/named/subpattern/335 1145s # End of subpattern tests 1145s # End of named tests 1145s # End of match tests 1145s # Start of match-optimized tests 1145s ok 468 /regex/match-optimized/166 1145s ok 469 /regex/match-optimized/167 1145s ok 470 /regex/match-optimized/168 1145s ok 471 /regex/match-optimized/169 1145s ok 472 /regex/match-optimized/170 1145s ok 473 /regex/match-optimized/171 1145s ok 474 /regex/match-optimized/172 1145s ok 475 /regex/match-optimized/173 1145s ok 476 /regex/match-optimized/174 1145s ok 477 /regex/match-optimized/175 1145s ok 478 /regex/match-optimized/176 1145s ok 479 /regex/match-optimized/177 1145s ok 480 /regex/match-optimized/178 1145s ok 481 /regex/match-optimized/179 1145s ok 482 /regex/match-optimized/180 1145s ok 483 /regex/match-optimized/181 1145s ok 484 /regex/match-optimized/182 1145s ok 485 /regex/match-optimized/183 1145s ok 486 /regex/match-optimized/184 1145s ok 487 /regex/match-optimized/185 1145s ok 488 /regex/match-optimized/186 1145s ok 489 /regex/match-optimized/187 1145s ok 490 /regex/match-optimized/188 1145s ok 491 /regex/match-optimized/189 1145s ok 492 /regex/match-optimized/190 1145s ok 493 /regex/match-optimized/191 1145s ok 494 /regex/match-optimized/192 1145s ok 495 /regex/match-optimized/193 1145s ok 496 /regex/match-optimized/194 1145s ok 497 /regex/match-optimized/195 1145s ok 498 /regex/match-optimized/196 1145s ok 499 /regex/match-optimized/197 1145s ok 500 /regex/match-optimized/198 1145s ok 501 /regex/match-optimized/199 1145s ok 502 /regex/match-optimized/200 1145s ok 503 /regex/match-optimized/201 1145s ok 504 /regex/match-optimized/202 1145s ok 505 /regex/match-optimized/203 1145s ok 506 /regex/match-optimized/204 1145s ok 507 /regex/match-optimized/205 1145s ok 508 /regex/match-optimized/206 1145s ok 509 /regex/match-optimized/207 1145s ok 510 /regex/match-optimized/208 1145s ok 511 /regex/match-optimized/209 1145s ok 512 /regex/match-optimized/210 1145s ok 513 /regex/match-optimized/211 1145s ok 514 /regex/match-optimized/212 1145s ok 515 /regex/match-optimized/213 1145s ok 516 /regex/match-optimized/214 1145s ok 517 /regex/match-optimized/215 1145s ok 518 /regex/match-optimized/216 1145s ok 519 /regex/match-optimized/217 1145s ok 520 /regex/match-optimized/218 1145s ok 521 /regex/match-optimized/219 1145s ok 522 /regex/match-optimized/220 1145s ok 523 /regex/match-optimized/221 1145s ok 524 /regex/match-optimized/222 1145s ok 525 /regex/match-optimized/223 1145s ok 526 /regex/match-optimized/224 1145s ok 527 /regex/match-optimized/225 1145s ok 528 /regex/match-optimized/226 1145s ok 529 /regex/match-optimized/227 1145s ok 530 /regex/match-optimized/228 1145s ok 531 /regex/match-optimized/229 1145s ok 532 /regex/match-optimized/230 1145s ok 533 /regex/match-optimized/231 1145s ok 534 /regex/match-optimized/232 1145s ok 535 /regex/match-optimized/233 1145s ok 536 /regex/match-optimized/234 1145s ok 537 /regex/match-optimized/235 1145s ok 538 /regex/match-optimized/236 1145s ok 539 /regex/match-optimized/237 1145s ok 540 /regex/match-optimized/238 1145s ok 541 /regex/match-optimized/239 1145s ok 542 /regex/match-optimized/240 1145s ok 543 /regex/match-optimized/241 1145s ok 544 /regex/match-optimized/242 1145s ok 545 /regex/match-optimized/243 1145s ok 546 /regex/match-optimized/244 1145s ok 547 /regex/match-optimized/245 1145s ok 548 /regex/match-optimized/246 1145s ok 549 /regex/match-optimized/247 1145s # End of match-optimized tests 1145s # Start of fetch-all0 tests 1145s ok 550 /regex/fetch-all0/336 1145s ok 551 /regex/fetch-all0/337 1145s # End of fetch-all0 tests 1145s # Start of fetch-all1 tests 1145s ok 552 /regex/fetch-all1/338 1145s ok 553 /regex/fetch-all1/339 1145s ok 554 /regex/fetch-all1/340 1145s # End of fetch-all1 tests 1145s # Start of fetch-all2 tests 1145s ok 555 /regex/fetch-all2/341 1145s ok 556 /regex/fetch-all2/342 1145s ok 557 /regex/fetch-all2/343 1145s # End of fetch-all2 tests 1145s # Start of fetch-all3 tests 1145s ok 558 /regex/fetch-all3/344 1145s ok 559 /regex/fetch-all3/345 1145s ok 560 /regex/fetch-all3/346 1145s ok 561 /regex/fetch-all3/347 1145s ok 562 /regex/fetch-all3/348 1145s # End of fetch-all3 tests 1145s # Start of split tests 1145s # Start of simple0 tests 1145s ok 563 /regex/split/simple0/349 1145s ok 564 /regex/split/simple0/350 1145s ok 565 /regex/split/simple0/365 1145s ok 566 /regex/split/simple0/366 1145s # End of simple0 tests 1145s # Start of simple1 tests 1145s ok 567 /regex/split/simple1/351 1145s ok 568 /regex/split/simple1/352 1145s # End of simple1 tests 1145s # Start of simple2 tests 1145s ok 569 /regex/split/simple2/353 1145s ok 570 /regex/split/simple2/359 1145s ok 571 /regex/split/simple2/361 1145s # End of simple2 tests 1145s # Start of simple3 tests 1145s ok 572 /regex/split/simple3/354 1145s ok 573 /regex/split/simple3/355 1145s ok 574 /regex/split/simple3/356 1145s ok 575 /regex/split/simple3/357 1145s ok 576 /regex/split/simple3/358 1145s ok 577 /regex/split/simple3/360 1145s ok 578 /regex/split/simple3/362 1145s ok 579 /regex/split/simple3/363 1145s ok 580 /regex/split/simple3/364 1145s # End of simple3 tests 1145s # End of split tests 1145s # Start of split0 tests 1145s ok 581 /regex/split0/367 1145s ok 582 /regex/split0/369 1145s # End of split0 tests 1145s # Start of full-split0 tests 1145s ok 583 /regex/full-split0/368 1145s ok 584 /regex/full-split0/370 1145s ok 585 /regex/full-split0/371 1145s ok 586 /regex/full-split0/372 1145s ok 587 /regex/full-split0/373 1145s # End of full-split0 tests 1145s # Start of split1 tests 1145s ok 588 /regex/split1/374 1145s ok 589 /regex/split1/377 1145s # End of split1 tests 1145s # Start of full-split1 tests 1145s ok 590 /regex/full-split1/375 1145s ok 591 /regex/full-split1/376 1145s ok 592 /regex/full-split1/378 1145s ok 593 /regex/full-split1/379 1145s ok 594 /regex/full-split1/405 1145s # End of full-split1 tests 1145s # Start of split2 tests 1145s ok 595 /regex/split2/380 1145s ok 596 /regex/split2/384 1145s ok 597 /regex/split2/396 1145s # End of split2 tests 1145s # Start of full-split2 tests 1145s ok 598 /regex/full-split2/381 1145s ok 599 /regex/full-split2/382 1145s ok 600 /regex/full-split2/383 1145s ok 601 /regex/full-split2/385 1145s ok 602 /regex/full-split2/397 1145s ok 603 /regex/full-split2/400 1145s ok 604 /regex/full-split2/406 1145s # End of full-split2 tests 1145s # Start of split3 tests 1145s ok 605 /regex/split3/386 1145s ok 606 /regex/split3/388 1145s ok 607 /regex/split3/390 1145s ok 608 /regex/split3/392 1145s ok 609 /regex/split3/394 1145s ok 610 /regex/split3/398 1145s ok 611 /regex/split3/401 1145s ok 612 /regex/split3/403 1145s # End of split3 tests 1145s # Start of full-split3 tests 1145s ok 613 /regex/full-split3/387 1145s ok 614 /regex/full-split3/389 1145s ok 615 /regex/full-split3/391 1145s ok 616 /regex/full-split3/393 1145s ok 617 /regex/full-split3/395 1145s ok 618 /regex/full-split3/399 1145s ok 619 /regex/full-split3/402 1145s ok 620 /regex/full-split3/404 1145s ok 621 /regex/full-split3/407 1145s ok 622 /regex/full-split3/408 1145s # End of full-split3 tests 1145s # Start of check-repacement tests 1145s ok 623 /regex/check-repacement/409 1145s ok 624 /regex/check-repacement/410 1145s ok 625 /regex/check-repacement/411 1145s ok 626 /regex/check-repacement/412 1145s ok 627 /regex/check-repacement/413 1145s ok 628 /regex/check-repacement/414 1145s ok 629 /regex/check-repacement/415 1145s ok 630 /regex/check-repacement/416 1145s # End of check-repacement tests 1145s # Start of expand tests 1145s ok 631 /regex/expand/417 1145s ok 632 /regex/expand/418 1145s ok 633 /regex/expand/419 1145s ok 634 /regex/expand/420 1145s ok 635 /regex/expand/421 1145s ok 636 /regex/expand/422 1145s ok 637 /regex/expand/423 1145s ok 638 /regex/expand/424 1145s ok 639 /regex/expand/425 1145s ok 640 /regex/expand/426 1145s ok 641 /regex/expand/427 1145s ok 642 /regex/expand/428 1145s ok 643 /regex/expand/429 1145s ok 644 /regex/expand/430 1145s ok 645 /regex/expand/431 1145s ok 646 /regex/expand/432 1145s ok 647 /regex/expand/433 1145s ok 648 /regex/expand/434 1145s ok 649 /regex/expand/435 1145s ok 650 /regex/expand/436 1145s ok 651 /regex/expand/437 1145s ok 652 /regex/expand/438 1145s ok 653 /regex/expand/439 1145s ok 654 /regex/expand/440 1145s ok 655 /regex/expand/441 1145s ok 656 /regex/expand/442 1145s ok 657 /regex/expand/443 1145s ok 658 /regex/expand/444 1145s ok 659 /regex/expand/445 1145s ok 660 /regex/expand/446 1145s ok 661 /regex/expand/447 1145s ok 662 /regex/expand/448 1145s ok 663 /regex/expand/449 1145s ok 664 /regex/expand/450 1145s ok 665 /regex/expand/451 1145s ok 666 /regex/expand/452 1145s ok 667 /regex/expand/453 1145s ok 668 /regex/expand/454 1145s ok 669 /regex/expand/455 1145s ok 670 /regex/expand/456 1145s ok 671 /regex/expand/457 1145s ok 672 /regex/expand/458 1145s ok 673 /regex/expand/459 1145s ok 674 /regex/expand/460 1145s ok 675 /regex/expand/461 1145s ok 676 /regex/expand/462 1145s ok 677 /regex/expand/463 1145s ok 678 /regex/expand/464 1145s ok 679 /regex/expand/465 1145s ok 680 /regex/expand/466 1145s ok 681 /regex/expand/467 1145s ok 682 /regex/expand/468 1145s ok 683 /regex/expand/469 1145s ok 684 /regex/expand/470 1145s ok 685 /regex/expand/471 1145s ok 686 /regex/expand/472 1145s ok 687 /regex/expand/473 1145s ok 688 /regex/expand/474 1145s ok 689 /regex/expand/475 1145s ok 690 /regex/expand/476 1145s ok 691 /regex/expand/477 1145s ok 692 /regex/expand/478 1145s ok 693 /regex/expand/479 1145s ok 694 /regex/expand/480 1145s ok 695 /regex/expand/481 1145s ok 696 /regex/expand/482 1145s # End of expand tests 1145s # Start of replace tests 1145s ok 697 /regex/replace/483 1145s ok 698 /regex/replace/484 1145s ok 699 /regex/replace/485 1145s ok 700 /regex/replace/486 1145s ok 701 /regex/replace/487 1145s ok 702 /regex/replace/488 1145s ok 703 /regex/replace/489 1145s ok 704 /regex/replace/490 1145s ok 705 /regex/replace/491 1145s ok 706 /regex/replace/492 1145s ok 707 /regex/replace/493 1145s ok 708 /regex/replace/494 1145s ok 709 /regex/replace/495 1145s ok 710 /regex/replace/496 1145s ok 711 /regex/replace/497 1145s ok 712 /regex/replace/498 1145s ok 713 /regex/replace/499 1145s ok 714 /regex/replace/500 1145s ok 715 /regex/replace/501 1145s ok 716 /regex/replace/502 1145s ok 717 /regex/replace/503 1145s ok 718 /regex/replace/504 1145s ok 719 /regex/replace/505 1145s ok 720 /regex/replace/506 1145s ok 721 /regex/replace/507 1145s ok 722 /regex/replace/508 1145s ok 723 /regex/replace/509 1145s ok 724 /regex/replace/510 1145s # End of replace tests 1145s # Start of replace-optimized tests 1145s ok 725 /regex/replace-optimized/483 1145s ok 726 /regex/replace-optimized/484 1145s ok 727 /regex/replace-optimized/485 1145s ok 728 /regex/replace-optimized/486 1145s ok 729 /regex/replace-optimized/487 1145s ok 730 /regex/replace-optimized/488 1145s ok 731 /regex/replace-optimized/489 1145s ok 732 /regex/replace-optimized/490 1145s ok 733 /regex/replace-optimized/491 1145s ok 734 /regex/replace-optimized/492 1145s ok 735 /regex/replace-optimized/493 1145s ok 736 /regex/replace-optimized/494 1145s ok 737 /regex/replace-optimized/495 1145s ok 738 /regex/replace-optimized/496 1145s ok 739 /regex/replace-optimized/497 1145s ok 740 /regex/replace-optimized/498 1145s ok 741 /regex/replace-optimized/499 1145s ok 742 /regex/replace-optimized/500 1145s ok 743 /regex/replace-optimized/501 1145s ok 744 /regex/replace-optimized/502 1145s ok 745 /regex/replace-optimized/503 1145s ok 746 /regex/replace-optimized/504 1145s ok 747 /regex/replace-optimized/505 1145s ok 748 /regex/replace-optimized/506 1145s ok 749 /regex/replace-optimized/507 1145s ok 750 /regex/replace-optimized/508 1145s ok 751 /regex/replace-optimized/509 1145s ok 752 /regex/replace-optimized/510 1145s # End of replace-optimized tests 1145s # Start of replace-literally tests 1145s ok 753 /regex/replace-literally/511 1145s ok 754 /regex/replace-literally/512 1145s ok 755 /regex/replace-literally/513 1145s ok 756 /regex/replace-literally/514 1145s ok 757 /regex/replace-literally/515 1145s ok 758 /regex/replace-literally/516 1145s ok 759 /regex/replace-literally/517 1145s ok 760 /regex/replace-literally/518 1145s ok 761 /regex/replace-literally/519 1145s ok 762 /regex/replace-literally/520 1145s ok 763 /regex/replace-literally/521 1145s ok 764 /regex/replace-literally/522 1145s ok 765 /regex/replace-literally/523 1145s ok 766 /regex/replace-literally/524 1145s ok 767 /regex/replace-literally/525 1145s ok 768 /regex/replace-literally/526 1145s ok 769 /regex/replace-literally/527 1145s ok 770 /regex/replace-literally/528 1145s ok 771 /regex/replace-literally/529 1145s ok 772 /regex/replace-literally/530 1145s # End of replace-literally tests 1145s # Start of string-number tests 1145s ok 773 /regex/string-number/531 1145s ok 774 /regex/string-number/532 1145s ok 775 /regex/string-number/533 1145s ok 776 /regex/string-number/534 1145s ok 777 /regex/string-number/535 1145s ok 778 /regex/string-number/536 1145s ok 779 /regex/string-number/537 1145s ok 780 /regex/string-number/538 1145s ok 781 /regex/string-number/539 1145s ok 782 /regex/string-number/540 1145s ok 783 /regex/string-number/541 1145s ok 784 /regex/string-number/542 1145s ok 785 /regex/string-number/543 1145s ok 786 /regex/string-number/544 1145s ok 787 /regex/string-number/545 1145s # End of string-number tests 1145s # Start of escape_nul tests 1145s ok 788 /regex/escape_nul/546 1145s ok 789 /regex/escape_nul/547 1145s ok 790 /regex/escape_nul/548 1145s ok 791 /regex/escape_nul/549 1145s ok 792 /regex/escape_nul/550 1145s ok 793 /regex/escape_nul/551 1145s ok 794 /regex/escape_nul/552 1145s ok 795 /regex/escape_nul/553 1145s ok 796 /regex/escape_nul/554 1145s ok 797 /regex/escape_nul/555 1145s ok 798 /regex/escape_nul/556 1145s ok 799 /regex/escape_nul/557 1145s ok 800 /regex/escape_nul/558 1145s ok 801 /regex/escape_nul/559 1145s ok 802 /regex/escape_nul/560 1145s # End of escape_nul tests 1145s # Start of escape tests 1145s ok 803 /regex/escape/561 1145s ok 804 /regex/escape/562 1145s ok 805 /regex/escape/563 1145s ok 806 /regex/escape/564 1145s ok 807 /regex/escape/565 1145s ok 808 /regex/escape/566 1145s ok 809 /regex/escape/567 1145s ok 810 /regex/escape/568 1145s ok 811 /regex/escape/569 1145s ok 812 /regex/escape/570 1145s ok 813 /regex/escape/571 1145s ok 814 /regex/escape/572 1145s ok 815 /regex/escape/573 1145s ok 816 /regex/escape/574 1145s ok 817 /regex/escape/575 1145s ok 818 /regex/escape/576 1145s ok 819 /regex/escape/577 1145s ok 820 /regex/escape/578 1145s # End of escape tests 1145s # Start of match-all0 tests 1145s ok 821 /regex/match-all0/579 1145s ok 822 /regex/match-all0/581 1145s # End of match-all0 tests 1145s # Start of match-all-full0 tests 1145s ok 823 /regex/match-all-full0/580 1145s ok 824 /regex/match-all-full0/582 1145s ok 825 /regex/match-all-full0/583 1145s ok 826 /regex/match-all-full0/584 1145s # End of match-all-full0 tests 1145s # Start of match-all1 tests 1145s ok 827 /regex/match-all1/585 1145s ok 828 /regex/match-all1/587 1145s ok 829 /regex/match-all1/592 1145s # End of match-all1 tests 1145s # Start of match-all-full1 tests 1145s ok 830 /regex/match-all-full1/586 1145s ok 831 /regex/match-all-full1/588 1145s ok 832 /regex/match-all-full1/589 1145s ok 833 /regex/match-all-full1/590 1145s ok 834 /regex/match-all-full1/591 1145s ok 835 /regex/match-all-full1/593 1145s # End of match-all-full1 tests 1145s # Start of match-all2 tests 1145s ok 836 /regex/match-all2/594 1145s ok 837 /regex/match-all2/596 1145s ok 838 /regex/match-all2/598 1145s # End of match-all2 tests 1145s # Start of match-all-full2 tests 1145s ok 839 /regex/match-all-full2/595 1145s ok 840 /regex/match-all-full2/597 1145s ok 841 /regex/match-all-full2/599 1145s # End of match-all-full2 tests 1145s # Start of match-all3 tests 1145s ok 842 /regex/match-all3/600 1145s ok 843 /regex/match-all3/602 1145s # End of match-all3 tests 1145s # Start of match-all-full3 tests 1145s ok 844 /regex/match-all-full3/601 1145s ok 845 /regex/match-all-full3/603 1145s # End of match-all-full3 tests 1145s # Start of match-notempty tests 1145s ok 846 /regex/match-notempty/604 1145s # End of match-notempty tests 1145s # Start of match-notempty-optimized tests 1145s ok 847 /regex/match-notempty-optimized/604 1145s # End of match-notempty-optimized tests 1145s # Start of match-notempty-atstart tests 1145s ok 848 /regex/match-notempty-atstart/605 1145s # End of match-notempty-atstart tests 1145s # Start of match-notempty-atstart-optimized tests 1145s ok 849 /regex/match-notempty-atstart-optimized/605 1145s # End of match-notempty-atstart-optimized tests 1145s # End of regex tests 1145s TAP version 14 1145s # random seed: R02S772f1c40dc84cc59abd22aa0403ed6cb 1145s 1..17 1145s # Start of converter tests 1145s ok 1 /converter/basics 1145s # End of converter tests 1145s # Start of converter-input-stream tests 1145s ok - glib/regex.test 1145s # Running test: glib/converter-stream.test 1145s ok 2 /converter-input-stream/expander 1145s ok 3 /converter-input-stream/compressor 1145s # Start of truncation tests 1146s ok 4 /converter-input-stream/truncation/zlib 1146s ok 5 /converter-input-stream/truncation/gzip 1146s ok 6 /converter-input-stream/truncation/raw 1146s # End of truncation tests 1146s # Start of charset tests 1146s ok 7 /converter-input-stream/charset/utf8->latin1 1146s ok 8 /converter-input-stream/charset/latin1->utf8 1146s ok 9 /converter-input-stream/charset/fallbacks 1146s # End of charset tests 1146s # End of converter-input-stream tests 1146s # Start of converter-output-stream tests 1146s # Start of roundtrip tests 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1146s ok 10 /converter-output-stream/roundtrip/zlib-0 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1146s ok 11 /converter-output-stream/roundtrip/zlib-9 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1146s ok 12 /converter-output-stream/roundtrip/gzip-0 1146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1147s ok 13 /converter-output-stream/roundtrip/gzip-9 1147s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1147s ok 14 /converter-output-stream/roundtrip/raw-0 1147s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1147s ok 15 /converter-output-stream/roundtrip/raw-9 1147s # End of roundtrip tests 1147s # End of converter-output-stream tests 1147s # Start of converter-stream tests 1147s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x7b3c3ef2ab0 and GSocketClientAsyncConnectData 0x7b3c3eeb210 1147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x7b3c3b31ba0 for GSocketClientAsyncConnectData 0x7b3c3eeb210 1147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1147s ok 16 /converter-stream/pollable 1147s ok 17 /converter-stream/leftover 1147s # End of converter-stream tests 1147s ok - glib/converter-stream.test 1147s # Running test: glib/mkenums.py.test 1147s TAP version 13 1147s ok 1 __main__.TestMkenums.test_available_in 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmp7zwpwcqn 1147s # rspfile: False 1147s # /tmp/tmp7zwpwcqn/tmplh40pk0p.h: 1147s # typedef enum { 1147s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1147s # } GDBusServerFlags; 1147s # 1147s # /tmp/tmp7zwpwcqn/tmpw4jrgupg.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7zwpwcqn/tmpw4jrgupg.template', '/tmp/tmp7zwpwcqn/tmplh40pk0p.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp7zwpwcqn/tmplh40pk0p.h 1147s # basename: tmplh40pk0p.h 1147s # enumeration-production 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-header 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-production 1147s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1147s # valuenick: user 1147s # valuenum: 4 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-tail 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmpq596i8vp 1147s # rspfile: False 1147s # /tmp/tmpq596i8vp/tmporjlru2p.h: 1147s # typedef enum { 1147s # ENUM_VALUE_WITH_COMMA = ',', 1147s # } TestCommaEnum; 1147s # 1147s # /tmp/tmpq596i8vp/tmp9mbjgih_.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq596i8vp/tmp9mbjgih_.template', '/tmp/tmpq596i8vp/tmporjlru2p.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmpq596i8vp/tmporjlru2p.h 1147s # basename: tmporjlru2p.h 1147s # enumeration-production 1147s # EnumName: TestCommaEnum 1147s # enum_name: test_comma_enum 1147s # ENUMNAME: TEST_COMMA_ENUM 1147s # ENUMSHORT: COMMA_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: TestCommaEnum 1147s # enum_name: test_comma_enum 1147s # ENUMNAME: TEST_COMMA_ENUM 1147s # ENUMSHORT: COMMA_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_WITH_COMMA 1147s # valuenick: comma 1147s # valuenum: 44 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: TestCommaEnum 1147s # enum_name: test_comma_enum 1147s # ENUMNAME: TEST_COMMA_ENUM 1147s # ENUMSHORT: COMMA_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 3 __main__.TestMkenums.test_deprecated_in 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmp0bbtn5y6 1147s # rspfile: False 1147s # /tmp/tmp0bbtn5y6/tmp62zbbvl6.h: 1147s # typedef enum { 1147s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1147s # } GDBusServerFlags; 1147s # 1147s # /tmp/tmp0bbtn5y6/tmpl0jnorlo.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0bbtn5y6/tmpl0jnorlo.template', '/tmp/tmp0bbtn5y6/tmp62zbbvl6.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp0bbtn5y6/tmp62zbbvl6.h 1147s # basename: tmp62zbbvl6.h 1147s # enumeration-production 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-header 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-production 1147s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1147s # valuenick: user 1147s # valuenum: 4 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-tail 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 4 __main__.TestMkenums.test_deprecated_in_for 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmp384p7rym 1147s # rspfile: False 1147s # /tmp/tmp384p7rym/tmpqzp46q9n.h: 1147s # typedef enum { 1147s # 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) 1147s # } GDBusServerFlags; 1147s # 1147s # /tmp/tmp384p7rym/tmpjgi1zmyi.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp384p7rym/tmpjgi1zmyi.template', '/tmp/tmp384p7rym/tmpqzp46q9n.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp384p7rym/tmpqzp46q9n.h 1147s # basename: tmpqzp46q9n.h 1147s # enumeration-production 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-header 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-production 1147s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1147s # valuenick: user 1147s # valuenum: 4 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # value-tail 1147s # EnumName: GDBusServerFlags 1147s # enum_name: g_dbus_server_flags 1147s # ENUMNAME: G_DBUS_SERVER_FLAGS 1147s # ENUMSHORT: DBUS_SERVER_FLAGS 1147s # ENUMPREFIX: G 1147s # enumsince: 1147s # type: flags 1147s # Type: Flags 1147s # TYPE: FLAGS 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 5 __main__.TestMkenums.test_empty_header 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmpy4jq4dlp 1147s # rspfile: False 1147s # /tmp/tmpy4jq4dlp/tmp937g7g3z.h: 1147s # /tmp/tmpy4jq4dlp/tmpe_5pak2e.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy4jq4dlp/tmpe_5pak2e.template', '/tmp/tmpy4jq4dlp/tmp937g7g3z.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 6 __main__.TestMkenums.test_empty_template 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmpqo051auj 1147s # rspfile: False 1147s # /tmp/tmpqo051auj/tmpbduvrczi.template: 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqo051auj/tmpbduvrczi.template'] 1147s # Return code: 0 1147s # Output: 1147s # /* 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. */ 1147s # 1147s # 1147s # /* Generated data ends here */ 1147s # Error: 1147s ok 7 __main__.TestMkenums.test_enum_name 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmp8dt2ae78 1147s # rspfile: False 1147s # /tmp/tmp8dt2ae78/tmpqeduplc8.h: 1147s # typedef enum _SomeEnumIdentifier { 1147s # ENUM_VALUE 1147s # } SomeEnumIdentifier; 1147s # 1147s # /tmp/tmp8dt2ae78/tmpajtytd04.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8dt2ae78/tmpajtytd04.template', '/tmp/tmp8dt2ae78/tmpqeduplc8.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp8dt2ae78/tmpqeduplc8.h 1147s # basename: tmpqeduplc8.h 1147s # enumeration-production 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE 1147s # valuenick: value 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumIdentifier 1147s # enum_name: some_enum_identifier 1147s # ENUMNAME: SOME_ENUM_IDENTIFIER 1147s # ENUMSHORT: ENUM_IDENTIFIER 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 8 __main__.TestMkenums.test_enum_private_public 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmp1w7gt4hk 1147s # rspfile: False 1147s # /tmp/tmp1w7gt4hk/tmp14rz11s6.h: 1147s # typedef enum { 1147s # ENUM_VALUE_PUBLIC1, 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE, 1147s # } SomeEnumA 1147s # 1147s # /tmp/tmp1w7gt4hk/tmptyviki_1.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1w7gt4hk/tmptyviki_1.template', '/tmp/tmp1w7gt4hk/tmp14rz11s6.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp1w7gt4hk/tmp14rz11s6.h 1147s # basename: tmp14rz11s6.h 1147s # enumeration-production 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC1 1147s # valuenick: public1 1147s # valuenum: 0 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumA 1147s # enum_name: some_enum_a 1147s # ENUMNAME: SOME_ENUM_A 1147s # ENUMSHORT: ENUM_A 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s # 1147s # /tmp/tmp1w7gt4hk/tmpswqidnin.h: 1147s # typedef enum { 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE, 1147s # /*< public >*/ 1147s # ENUM_VALUE_PUBLIC2, 1147s # } SomeEnumB; 1147s # 1147s # /tmp/tmp1w7gt4hk/tmp1tu923m9.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1w7gt4hk/tmp1tu923m9.template', '/tmp/tmp1w7gt4hk/tmpswqidnin.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmp1w7gt4hk/tmpswqidnin.h 1147s # basename: tmpswqidnin.h 1147s # enumeration-production 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC2 1147s # valuenick: public2 1147s # valuenum: 1 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: SomeEnumB 1147s # enum_name: some_enum_b 1147s # ENUMNAME: SOME_ENUM_B 1147s # ENUMSHORT: ENUM_B 1147s # ENUMPREFIX: SOME 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmpxdklg1md 1147s # rspfile: False 1147s # /tmp/tmpxdklg1md/tmpcbj08b1u.h: 1147s # typedef enum { 1147s # /*< private >*/ 1147s # ENUM_VALUE_PRIVATE = 5, 1147s # /*< public >*/ 1147s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1147s # } TestSymbolicEnum; 1147s # 1147s # /tmp/tmpxdklg1md/tmpws1s3n9a.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN file-production ***/ 1147s # file-production 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-production ***/ 1147s # 1147s # /*** BEGIN enumeration-production ***/ 1147s # enumeration-production 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END enumeration-production ***/ 1147s # 1147s # /*** BEGIN value-header ***/ 1147s # value-header 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-header ***/ 1147s # 1147s # /*** BEGIN value-production ***/ 1147s # value-production 1147s # VALUENAME: @VALUENAME@ 1147s # valuenick: @valuenick@ 1147s # valuenum: @valuenum@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-production ***/ 1147s # 1147s # /*** BEGIN value-tail ***/ 1147s # value-tail 1147s # EnumName: @EnumName@ 1147s # enum_name: @enum_name@ 1147s # ENUMNAME: @ENUMNAME@ 1147s # ENUMSHORT: @ENUMSHORT@ 1147s # ENUMPREFIX: @ENUMPREFIX@ 1147s # enumsince: @enumsince@ 1147s # type: @type@ 1147s # Type: @Type@ 1147s # TYPE: @TYPE@ 1147s # /*** END value-tail ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # /*** END file-tail ***/ 1147s # 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxdklg1md/tmpws1s3n9a.template', '/tmp/tmpxdklg1md/tmpcbj08b1u.h'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # file-production 1147s # filename: /tmp/tmpxdklg1md/tmpcbj08b1u.h 1147s # basename: tmpcbj08b1u.h 1147s # enumeration-production 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-header 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-production 1147s # VALUENAME: ENUM_VALUE_PUBLIC 1147s # valuenick: public 1147s # valuenum: 7 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # value-tail 1147s # EnumName: TestSymbolicEnum 1147s # enum_name: test_symbolic_enum 1147s # ENUMNAME: TEST_SYMBOLIC_ENUM 1147s # ENUMSHORT: SYMBOLIC_ENUM 1147s # ENUMPREFIX: TEST 1147s # enumsince: 1147s # type: enum 1147s # Type: Enum 1147s # TYPE: ENUM 1147s # file-tail 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1147s # glib-mkenums: /usr/bin/glib-mkenums 1147s # tmpdir: /tmp/tmpumhcm_x4 1147s # rspfile: False 1147s # /tmp/tmpumhcm_x4/tmpp63b3pmp.template: 1147s # /*** BEGIN file-header ***/ 1147s # file-header 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-header ***/ 1147s # 1147s # /*** BEGIN comment ***/ 1147s # comment 1147s # comment: @comment@ 1147s # /*** END comment ***/ 1147s # 1147s # /*** BEGIN file-tail ***/ 1147s # file-tail 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # /*** END file-tail ***/ 1147s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpumhcm_x4/tmpp63b3pmp.template'] 1147s # Return code: 0 1147s # Output: 1147s # comment 1147s # 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. 1147s # 1147s # 1147s # file-header 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # file-tail 1147s # filename: @filename@ 1147s # basename: @basename@ 1147s # 1147s # comment 1147s # comment: Generated data ends here 1147s # Error: 1147s # WARNING: @filename@ used in file-header section. 1147s # WARNING: @basename@ used in file-header section. 1147s # WARNING: @filename@ used in file-tail section. 1147s # WARNING: @basename@ used in file-tail section. 1147s # Executing: glib/mkenums.py.test 1148s ok 11 __main__.TestMkenums.test_flag_enum_annotation 1148s # glib-mkenums: /usr/bin/glib-mkenums 1148s # tmpdir: /tmp/tmplqh2gjcr 1148s # rspfile: False 1148s # /tmp/tmplqh2gjcr/tmpo5mp2iqz.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } G_GNUC_FLAG_ENUM SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp5mc_1vsm.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp5mc_1vsm.template', '/tmp/tmplqh2gjcr/tmpo5mp2iqz.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpo5mp2iqz.h 1148s # basename: tmpo5mp2iqz.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpa5ot46nb.h: 1148s # typedef enum G_GNUC_FLAG_ENUM { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpioxss8da.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpioxss8da.template', '/tmp/tmplqh2gjcr/tmpa5ot46nb.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpa5ot46nb.h 1148s # basename: tmpa5ot46nb.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpvvtgivhm.h: 1148s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp_g46tef8.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp_g46tef8.template', '/tmp/tmplqh2gjcr/tmpvvtgivhm.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpvvtgivhm.h 1148s # basename: tmpvvtgivhm.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpv88jq_yu.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } __attribute__((flag_enum)) SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmprm826fnf.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmprm826fnf.template', '/tmp/tmplqh2gjcr/tmpv88jq_yu.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpv88jq_yu.h 1148s # basename: tmpv88jq_yu.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpverccxpk.h: 1148s # typedef enum __attribute__((flag_enum)) { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpz564j7jc.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpz564j7jc.template', '/tmp/tmplqh2gjcr/tmpverccxpk.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpverccxpk.h 1148s # basename: tmpverccxpk.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmph5cm87sz.h: 1148s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmput28xqkr.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmput28xqkr.template', '/tmp/tmplqh2gjcr/tmph5cm87sz.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmph5cm87sz.h 1148s # basename: tmph5cm87sz.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp2uqqdxfe.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } __attribute__((__flag_enum__)) SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp7dsythri.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp7dsythri.template', '/tmp/tmplqh2gjcr/tmp2uqqdxfe.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp2uqqdxfe.h 1148s # basename: tmp2uqqdxfe.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp52dopchi.h: 1148s # typedef enum __attribute__((__flag_enum__)) { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpdjzvu4ni.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpdjzvu4ni.template', '/tmp/tmplqh2gjcr/tmp52dopchi.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp52dopchi.h 1148s # basename: tmp52dopchi.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpxm_ee2g5.h: 1148s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp2i5_hgzt.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp2i5_hgzt.template', '/tmp/tmplqh2gjcr/tmpxm_ee2g5.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpxm_ee2g5.h 1148s # basename: tmpxm_ee2g5.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpnjp_mr1y.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp_n0xm0u6.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp_n0xm0u6.template', '/tmp/tmplqh2gjcr/tmpnjp_mr1y.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpnjp_mr1y.h 1148s # basename: tmpnjp_mr1y.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp8b17ceu1.h: 1148s # typedef enum __attribute__((flag_enum,deprecated)) { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmphb6teram.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmphb6teram.template', '/tmp/tmplqh2gjcr/tmp8b17ceu1.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp8b17ceu1.h 1148s # basename: tmp8b17ceu1.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpahdqzzpo.h: 1148s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp0iiw609q.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp0iiw609q.template', '/tmp/tmplqh2gjcr/tmpahdqzzpo.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpahdqzzpo.h 1148s # basename: tmpahdqzzpo.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpu070ji6i.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp_ld18gdf.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp_ld18gdf.template', '/tmp/tmplqh2gjcr/tmpu070ji6i.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpu070ji6i.h 1148s # basename: tmpu070ji6i.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmptx6hnwrj.h: 1148s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpabj_oy78.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpabj_oy78.template', '/tmp/tmplqh2gjcr/tmptx6hnwrj.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmptx6hnwrj.h 1148s # basename: tmptx6hnwrj.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp3on9sx52.h: 1148s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpym3vo_qp.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpym3vo_qp.template', '/tmp/tmplqh2gjcr/tmp3on9sx52.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp3on9sx52.h 1148s # basename: tmp3on9sx52.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp8kyypkjo.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } [[gnu::flag_enum]] SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp33bcybot.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp33bcybot.template', '/tmp/tmplqh2gjcr/tmp8kyypkjo.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp8kyypkjo.h 1148s # basename: tmp8kyypkjo.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp722dbtcr.h: 1148s # typedef enum [[gnu::flag_enum]] { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp7rqdb3s5.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp7rqdb3s5.template', '/tmp/tmplqh2gjcr/tmp722dbtcr.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp722dbtcr.h 1148s # basename: tmp722dbtcr.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmprukahxd0.h: 1148s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpmqzn2r6c.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpmqzn2r6c.template', '/tmp/tmplqh2gjcr/tmprukahxd0.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmprukahxd0.h 1148s # basename: tmprukahxd0.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmppyyfbxuq.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } [[clang::flag_enum]] SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp_wmno3g0.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp_wmno3g0.template', '/tmp/tmplqh2gjcr/tmppyyfbxuq.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmppyyfbxuq.h 1148s # basename: tmppyyfbxuq.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpnapunc1c.h: 1148s # typedef enum [[clang::flag_enum]] { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp0bz9ogbf.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp0bz9ogbf.template', '/tmp/tmplqh2gjcr/tmpnapunc1c.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpnapunc1c.h 1148s # basename: tmpnapunc1c.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpz5c5iqc5.h: 1148s # typedef enum [[clang::flag_enum]] _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpreyoz81m.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpreyoz81m.template', '/tmp/tmplqh2gjcr/tmpz5c5iqc5.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpz5c5iqc5.h 1148s # basename: tmpz5c5iqc5.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmprfe90e5z.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpu1pbjwyl.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpu1pbjwyl.template', '/tmp/tmplqh2gjcr/tmprfe90e5z.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmprfe90e5z.h 1148s # basename: tmprfe90e5z.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp1255icww.h: 1148s # typedef enum [[nodiscard,gnu::flag_enum]] { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmplp4n2llu.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmplp4n2llu.template', '/tmp/tmplqh2gjcr/tmp1255icww.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp1255icww.h 1148s # basename: tmp1255icww.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpr4y64zlt.h: 1148s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpzzh8dcyo.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpzzh8dcyo.template', '/tmp/tmplqh2gjcr/tmpr4y64zlt.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpr4y64zlt.h 1148s # basename: tmpr4y64zlt.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpb8t7t001.h: 1148s # typedef enum { 1148s # SOME_FLAGS_ONE = (1 << 1), 1148s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmprm7e16ec.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmprm7e16ec.template', '/tmp/tmplqh2gjcr/tmpb8t7t001.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpb8t7t001.h 1148s # basename: tmpb8t7t001.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_ONE 1148s # valuenick: one 1148s # valuenum: 2 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmpd_ayx9ho.h: 1148s # typedef enum [[clang::flag_enum,nodiscard]] { 1148s # SOME_FLAGS_TWO = (1 << 2), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmpyp_y0j6y.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmpyp_y0j6y.template', '/tmp/tmplqh2gjcr/tmpd_ayx9ho.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmpd_ayx9ho.h 1148s # basename: tmpd_ayx9ho.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_TWO 1148s # valuenick: two 1148s # valuenum: 4 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # file-tail 1148s # 1148s # comment 1148s # comment: Generated data ends here 1148s # Error: 1148s # 1148s # /tmp/tmplqh2gjcr/tmp98hn1e_c.h: 1148s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1148s # SOME_FLAGS_THREE = (1 << 3), 1148s # } SomeFlags; 1148s # 1148s # /tmp/tmplqh2gjcr/tmp96044umh.template: 1148s # /*** BEGIN file-header ***/ 1148s # file-header 1148s # /*** END file-header ***/ 1148s # 1148s # /*** BEGIN file-production ***/ 1148s # file-production 1148s # filename: @filename@ 1148s # basename: @basename@ 1148s # /*** END file-production ***/ 1148s # 1148s # /*** BEGIN enumeration-production ***/ 1148s # enumeration-production 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END enumeration-production ***/ 1148s # 1148s # /*** BEGIN value-header ***/ 1148s # value-header 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-header ***/ 1148s # 1148s # /*** BEGIN value-production ***/ 1148s # value-production 1148s # VALUENAME: @VALUENAME@ 1148s # valuenick: @valuenick@ 1148s # valuenum: @valuenum@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-production ***/ 1148s # 1148s # /*** BEGIN value-tail ***/ 1148s # value-tail 1148s # EnumName: @EnumName@ 1148s # enum_name: @enum_name@ 1148s # ENUMNAME: @ENUMNAME@ 1148s # ENUMSHORT: @ENUMSHORT@ 1148s # ENUMPREFIX: @ENUMPREFIX@ 1148s # enumsince: @enumsince@ 1148s # type: @type@ 1148s # Type: @Type@ 1148s # TYPE: @TYPE@ 1148s # /*** END value-tail ***/ 1148s # 1148s # /*** BEGIN comment ***/ 1148s # comment 1148s # comment: @comment@ 1148s # /*** END comment ***/ 1148s # 1148s # /*** BEGIN file-tail ***/ 1148s # file-tail 1148s # /*** END file-tail ***/ 1148s # 1148s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplqh2gjcr/tmp96044umh.template', '/tmp/tmplqh2gjcr/tmp98hn1e_c.h'] 1148s # Return code: 0 1148s # Output: 1148s # comment 1148s # 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. 1148s # 1148s # 1148s # file-header 1148s # file-production 1148s # filename: /tmp/tmplqh2gjcr/tmp98hn1e_c.h 1148s # basename: tmp98hn1e_c.h 1148s # enumeration-production 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-header 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-production 1148s # VALUENAME: SOME_FLAGS_THREE 1148s # valuenick: three 1148s # valuenum: 8 1148s # type: flags 1148s # Type: Flags 1148s # TYPE: FLAGS 1148s # value-tail 1148s # EnumName: SomeFlags 1148s # enum_name: some_flags 1148s # ENUMNAME: SOME_FLAGS 1148s # ENUMSHORT: FLAGS 1148s # ENUMPREFIX: SOME 1148s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 12 __main__.TestMkenums.test_help 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp91boziem 1149s # rspfile: False 1149s # Running: ['/usr/bin/glib-mkenums', '--help'] 1149s # Return code: 0 1149s # Output: 1149s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1149s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1149s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1149s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1149s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1149s # [--output OUTPUT] [--version] 1149s # [args ...] 1149s # 1149s # positional arguments: 1149s # args One or more input files, or a single argument 1149s # @rspfile_path pointing to a file that contains the 1149s # actual arguments 1149s # 1149s # options: 1149s # -h, --help show this help message and exit 1149s # --identifier-prefix IDPREFIX 1149s # Identifier prefix 1149s # --symbol-prefix SYMPREFIX 1149s # Symbol prefix 1149s # --fhead FHEAD Output file header 1149s # --ftail FTAIL Output file footer 1149s # --fprod FPROD Put out TEXT every time a new input file is being 1149s # processed. 1149s # --eprod EPROD Per enum text, produced prior to value iterations 1149s # --vhead VHEAD Value header, produced before iterating over enum 1149s # values 1149s # --vprod VPROD Value text, produced for each enum value. 1149s # --vtail VTAIL Value tail, produced after iterating over enum values 1149s # --comments COMMENT_TMPL 1149s # Comment structure 1149s # --template TEMPLATE Template file 1149s # --output OUTPUT 1149s # --version, -v Print version information 1149s # 1149s # Production text substitutions: 1149s # @EnumName@ PrefixTheXEnum 1149s # @enum_name@ prefix_the_xenum 1149s # @ENUMNAME@ PREFIX_THE_XENUM 1149s # @ENUMSHORT@ THE_XENUM 1149s # @ENUMPREFIX@ PREFIX 1149s # @enumsince@ the user-provided since value given 1149s # @VALUENAME@ PREFIX_THE_XVALUE 1149s # @valuenick@ the-xvalue 1149s # @valuenum@ the integer value (limited support, Since: 2.26) 1149s # @type@ either enum or flags 1149s # @Type@ either Enum or Flags 1149s # @TYPE@ either ENUM or FLAGS 1149s # @filename@ name of current input file 1149s # @basename@ base name of the current input file (Since: 2.22) 1149s # Error: 1149s ok 13 __main__.TestMkenums.test_no_args 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp5e4gpv9f 1149s # rspfile: False 1149s # Running: ['/usr/bin/glib-mkenums'] 1149s # Return code: 0 1149s # Output: 1149s # /* 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s # Error: 1149s ok 14 __main__.TestMkenums.test_no_headers 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpuui5u63b 1149s # rspfile: False 1149s # /tmp/tmpuui5u63b/tmpmbhvpust.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuui5u63b/tmpmbhvpust.template'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 15 __main__.TestMkenums.test_no_nick 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmppcgfd2eg 1149s # rspfile: False 1149s # /tmp/tmppcgfd2eg/tmpksofjscp.h: 1149s # typedef enum { 1149s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1149s # } GeglSamplerType; 1149s # 1149s # /tmp/tmppcgfd2eg/tmp1qr4bndl.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppcgfd2eg/tmp1qr4bndl.template', '/tmp/tmppcgfd2eg/tmpksofjscp.h'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmppcgfd2eg/tmpksofjscp.h 1149s # basename: tmpksofjscp.h 1149s # enumeration-production 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: GEGL_SAMPLER_NEAREST 1149s # valuenick: nearest 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: GeglSamplerType 1149s # enum_name: gegl_sampler_type 1149s # ENUMNAME: GEGL_SAMPLER_TYPE 1149s # ENUMSHORT: SAMPLER_TYPE 1149s # ENUMPREFIX: GEGL 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 16 __main__.TestMkenums.test_non_utf8_encoding 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpzs378qtz 1149s # rspfile: False 1149s # /tmp/tmpzs378qtz/tmpvbtyqhbt.h: 1149s # /* Copyright © La Peña */ 1149s # typedef enum { 1149s # ENUM_VALUE 1149s # } SomeEnumIdentifier; 1149s # 1149s # /tmp/tmpzs378qtz/tmp2ibo_j7w.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzs378qtz/tmp2ibo_j7w.template', '/tmp/tmpzs378qtz/tmpvbtyqhbt.h'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpzs378qtz/tmpvbtyqhbt.h 1149s # basename: tmpvbtyqhbt.h 1149s # enumeration-production 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE 1149s # valuenick: value 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1149s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1149s ok 17 __main__.TestMkenums.test_reproducible 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpe3fozxwk 1149s # rspfile: False 1149s # /tmp/tmpe3fozxwk/tmpgu43yb9h.template: template 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe3fozxwk/tmpgu43yb9h.template', '/tmp/tmpe3fozxwk/tmp08xvulpd1.h', '/tmp/tmpe3fozxwk/tmpgb_xd8tr2.h'] 1149s # Return code: 0 1149s # Output: 1149s # /* 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s # Error: 1149s # 1149s # /tmp/tmpe3fozxwk/tmpss8sg4o2.template: template 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe3fozxwk/tmpss8sg4o2.template', '/tmp/tmpe3fozxwk/tmpgb_xd8tr2.h', '/tmp/tmpe3fozxwk/tmp08xvulpd1.h'] 1149s # Return code: 0 1149s # Output: 1149s # /* 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s # Error: 1149s ok 18 __main__.TestMkenums.test_since 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpiisjjmmo 1149s # rspfile: False 1149s # /tmp/tmpiisjjmmo/tmpj7ok3pyw.h: 1149s # typedef enum { /*< since=1.0 >*/ 1149s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1149s # } QmiWmsMessageProtocol; 1149s # 1149s # /tmp/tmpiisjjmmo/tmpfd2jy5vk.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiisjjmmo/tmpfd2jy5vk.template', '/tmp/tmpiisjjmmo/tmpj7ok3pyw.h'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpiisjjmmo/tmpj7ok3pyw.h 1149s # basename: tmpj7ok3pyw.h 1149s # enumeration-production 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1149s # valuenick: cdma 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: QmiWmsMessageProtocol 1149s # enum_name: qmi_wms_message_protocol 1149s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1149s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1149s # ENUMPREFIX: QMI 1149s # enumsince: 1.0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 19 __main__.TestMkenums.test_with_double_quotes 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmppjhr877u 1149s # rspfile: False 1149s # /tmp/tmppjhr877u/tmpr00aa4an.h: 1149s # typedef enum { 1149s # FOO_VALUE /*< nick="eek, a comma" >*/ 1149s # } Foo; 1149s # 1149s # /tmp/tmppjhr877u/tmp7uc02o57.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppjhr877u/tmp7uc02o57.template', '/tmp/tmppjhr877u/tmpr00aa4an.h'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmppjhr877u/tmpr00aa4an.h 1149s # basename: tmpr00aa4an.h 1149s # enumeration-production 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: FOO_VALUE 1149s # valuenick: eek, a comma 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: Foo 1149s # enum_name: foo_ 1149s # ENUMNAME: FOO_ 1149s # ENUMSHORT: 1149s # ENUMPREFIX: FOO 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 20 __main__.TestRspMkenums.test_available_in 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp6bahsumc 1149s # rspfile: True 1149s # /tmp/tmp6bahsumc/tmphpihga9y.h: 1149s # typedef enum { 1149s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1149s # } GDBusServerFlags; 1149s # 1149s # /tmp/tmp6bahsumc/tmp6oef5y2v.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmp6bahsumc/tmp6oef5y2v.template /tmp/tmp6bahsumc/tmphpihga9y.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6bahsumc/tmpkdpz338v'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmp6bahsumc/tmphpihga9y.h 1149s # basename: tmphpihga9y.h 1149s # enumeration-production 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-header 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-production 1149s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1149s # valuenick: user 1149s # valuenum: 4 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-tail 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 21 __main__.TestRspMkenums.test_comma_in_enum_value 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpshlvp5j2 1149s # rspfile: True 1149s # /tmp/tmpshlvp5j2/tmpayng9zlr.h: 1149s # typedef enum { 1149s # ENUM_VALUE_WITH_COMMA = ',', 1149s # } TestCommaEnum; 1149s # 1149s # /tmp/tmpshlvp5j2/tmpy3hgv_8d.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpshlvp5j2/tmpy3hgv_8d.template /tmp/tmpshlvp5j2/tmpayng9zlr.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpshlvp5j2/tmp5ad9gryu'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpshlvp5j2/tmpayng9zlr.h 1149s # basename: tmpayng9zlr.h 1149s # enumeration-production 1149s # EnumName: TestCommaEnum 1149s # enum_name: test_comma_enum 1149s # ENUMNAME: TEST_COMMA_ENUM 1149s # ENUMSHORT: COMMA_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: TestCommaEnum 1149s # enum_name: test_comma_enum 1149s # ENUMNAME: TEST_COMMA_ENUM 1149s # ENUMSHORT: COMMA_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE_WITH_COMMA 1149s # valuenick: comma 1149s # valuenum: 44 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: TestCommaEnum 1149s # enum_name: test_comma_enum 1149s # ENUMNAME: TEST_COMMA_ENUM 1149s # ENUMSHORT: COMMA_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 22 __main__.TestRspMkenums.test_deprecated_in 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp7o69veq5 1149s # rspfile: True 1149s # /tmp/tmp7o69veq5/tmpplnwtc6n.h: 1149s # typedef enum { 1149s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1149s # } GDBusServerFlags; 1149s # 1149s # /tmp/tmp7o69veq5/tmplq3jazs7.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmp7o69veq5/tmplq3jazs7.template /tmp/tmp7o69veq5/tmpplnwtc6n.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7o69veq5/tmp3r_i6q2t'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmp7o69veq5/tmpplnwtc6n.h 1149s # basename: tmpplnwtc6n.h 1149s # enumeration-production 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-header 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-production 1149s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1149s # valuenick: user 1149s # valuenum: 4 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-tail 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 23 __main__.TestRspMkenums.test_deprecated_in_for 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpzq9gmfaj 1149s # rspfile: True 1149s # /tmp/tmpzq9gmfaj/tmpa217c4n_.h: 1149s # typedef enum { 1149s # 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) 1149s # } GDBusServerFlags; 1149s # 1149s # /tmp/tmpzq9gmfaj/tmpeau1lw9j.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmpzq9gmfaj/tmpeau1lw9j.template /tmp/tmpzq9gmfaj/tmpa217c4n_.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzq9gmfaj/tmpuyrk9geo'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmpzq9gmfaj/tmpa217c4n_.h 1149s # basename: tmpa217c4n_.h 1149s # enumeration-production 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-header 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-production 1149s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1149s # valuenick: user 1149s # valuenum: 4 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # value-tail 1149s # EnumName: GDBusServerFlags 1149s # enum_name: g_dbus_server_flags 1149s # ENUMNAME: G_DBUS_SERVER_FLAGS 1149s # ENUMSHORT: DBUS_SERVER_FLAGS 1149s # ENUMPREFIX: G 1149s # enumsince: 1149s # type: flags 1149s # Type: Flags 1149s # TYPE: FLAGS 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 24 __main__.TestRspMkenums.test_empty_header 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp63n_hkzn 1149s # rspfile: True 1149s # /tmp/tmp63n_hkzn/tmp6634p8as.h: 1149s # /tmp/tmp63n_hkzn/tmpmytbo4su.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmp63n_hkzn/tmpmytbo4su.template /tmp/tmp63n_hkzn/tmp6634p8as.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp63n_hkzn/tmpp89chzv3'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 25 __main__.TestRspMkenums.test_empty_template 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmpkvx5zy0d 1149s # rspfile: True 1149s # /tmp/tmpkvx5zy0d/tmpu7uxu7o_.template: 1149s # Response file contains: --template /tmp/tmpkvx5zy0d/tmpu7uxu7o_.template 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkvx5zy0d/tmp7jj7vga2'] 1149s # Return code: 0 1149s # Output: 1149s # /* 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. */ 1149s # 1149s # 1149s # /* Generated data ends here */ 1149s # Error: 1149s ok 26 __main__.TestRspMkenums.test_enum_name 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp1pxx6rcb 1149s # rspfile: True 1149s # /tmp/tmp1pxx6rcb/tmppft0_u0p.h: 1149s # typedef enum _SomeEnumIdentifier { 1149s # ENUM_VALUE 1149s # } SomeEnumIdentifier; 1149s # 1149s # /tmp/tmp1pxx6rcb/tmpaov5wfls.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmp1pxx6rcb/tmpaov5wfls.template /tmp/tmp1pxx6rcb/tmppft0_u0p.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1pxx6rcb/tmpv1v04283'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmp1pxx6rcb/tmppft0_u0p.h 1149s # basename: tmppft0_u0p.h 1149s # enumeration-production 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE 1149s # valuenick: value 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: SomeEnumIdentifier 1149s # enum_name: some_enum_identifier 1149s # ENUMNAME: SOME_ENUM_IDENTIFIER 1149s # ENUMSHORT: ENUM_IDENTIFIER 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 27 __main__.TestRspMkenums.test_enum_private_public 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmppmz86jwy 1149s # rspfile: True 1149s # /tmp/tmppmz86jwy/tmpv79hbpoo.h: 1149s # typedef enum { 1149s # ENUM_VALUE_PUBLIC1, 1149s # /*< private >*/ 1149s # ENUM_VALUE_PRIVATE, 1149s # } SomeEnumA 1149s # 1149s # /tmp/tmppmz86jwy/tmp320fdlyy.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmppmz86jwy/tmp320fdlyy.template /tmp/tmppmz86jwy/tmpv79hbpoo.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppmz86jwy/tmp_h87sks4'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmppmz86jwy/tmpv79hbpoo.h 1149s # basename: tmpv79hbpoo.h 1149s # enumeration-production 1149s # EnumName: SomeEnumA 1149s # enum_name: some_enum_a 1149s # ENUMNAME: SOME_ENUM_A 1149s # ENUMSHORT: ENUM_A 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: SomeEnumA 1149s # enum_name: some_enum_a 1149s # ENUMNAME: SOME_ENUM_A 1149s # ENUMSHORT: ENUM_A 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE_PUBLIC1 1149s # valuenick: public1 1149s # valuenum: 0 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: SomeEnumA 1149s # enum_name: some_enum_a 1149s # ENUMNAME: SOME_ENUM_A 1149s # ENUMSHORT: ENUM_A 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s # 1149s # /tmp/tmppmz86jwy/tmp81jd84bi.h: 1149s # typedef enum { 1149s # /*< private >*/ 1149s # ENUM_VALUE_PRIVATE, 1149s # /*< public >*/ 1149s # ENUM_VALUE_PUBLIC2, 1149s # } SomeEnumB; 1149s # 1149s # /tmp/tmppmz86jwy/tmp09j96xt5.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmppmz86jwy/tmp09j96xt5.template /tmp/tmppmz86jwy/tmp81jd84bi.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppmz86jwy/tmpvaob57p1'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmppmz86jwy/tmp81jd84bi.h 1149s # basename: tmp81jd84bi.h 1149s # enumeration-production 1149s # EnumName: SomeEnumB 1149s # enum_name: some_enum_b 1149s # ENUMNAME: SOME_ENUM_B 1149s # ENUMSHORT: ENUM_B 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: SomeEnumB 1149s # enum_name: some_enum_b 1149s # ENUMNAME: SOME_ENUM_B 1149s # ENUMSHORT: ENUM_B 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE_PUBLIC2 1149s # valuenick: public2 1149s # valuenum: 1 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: SomeEnumB 1149s # enum_name: some_enum_b 1149s # ENUMNAME: SOME_ENUM_B 1149s # ENUMSHORT: ENUM_B 1149s # ENUMPREFIX: SOME 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 28 __main__.TestRspMkenums.test_enum_symbolic_expression 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp05tbd6i9 1149s # rspfile: True 1149s # /tmp/tmp05tbd6i9/tmptpjmdzug.h: 1149s # typedef enum { 1149s # /*< private >*/ 1149s # ENUM_VALUE_PRIVATE = 5, 1149s # /*< public >*/ 1149s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1149s # } TestSymbolicEnum; 1149s # 1149s # /tmp/tmp05tbd6i9/tmpap4pdbqd.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN file-production ***/ 1149s # file-production 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-production ***/ 1149s # 1149s # /*** BEGIN enumeration-production ***/ 1149s # enumeration-production 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END enumeration-production ***/ 1149s # 1149s # /*** BEGIN value-header ***/ 1149s # value-header 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-header ***/ 1149s # 1149s # /*** BEGIN value-production ***/ 1149s # value-production 1149s # VALUENAME: @VALUENAME@ 1149s # valuenick: @valuenick@ 1149s # valuenum: @valuenum@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-production ***/ 1149s # 1149s # /*** BEGIN value-tail ***/ 1149s # value-tail 1149s # EnumName: @EnumName@ 1149s # enum_name: @enum_name@ 1149s # ENUMNAME: @ENUMNAME@ 1149s # ENUMSHORT: @ENUMSHORT@ 1149s # ENUMPREFIX: @ENUMPREFIX@ 1149s # enumsince: @enumsince@ 1149s # type: @type@ 1149s # Type: @Type@ 1149s # TYPE: @TYPE@ 1149s # /*** END value-tail ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # /*** END file-tail ***/ 1149s # 1149s # Response file contains: --template /tmp/tmp05tbd6i9/tmpap4pdbqd.template /tmp/tmp05tbd6i9/tmptpjmdzug.h 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp05tbd6i9/tmp5a2ktyc8'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # file-production 1149s # filename: /tmp/tmp05tbd6i9/tmptpjmdzug.h 1149s # basename: tmptpjmdzug.h 1149s # enumeration-production 1149s # EnumName: TestSymbolicEnum 1149s # enum_name: test_symbolic_enum 1149s # ENUMNAME: TEST_SYMBOLIC_ENUM 1149s # ENUMSHORT: SYMBOLIC_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-header 1149s # EnumName: TestSymbolicEnum 1149s # enum_name: test_symbolic_enum 1149s # ENUMNAME: TEST_SYMBOLIC_ENUM 1149s # ENUMSHORT: SYMBOLIC_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-production 1149s # VALUENAME: ENUM_VALUE_PUBLIC 1149s # valuenick: public 1149s # valuenum: 7 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # value-tail 1149s # EnumName: TestSymbolicEnum 1149s # enum_name: test_symbolic_enum 1149s # ENUMNAME: TEST_SYMBOLIC_ENUM 1149s # ENUMSHORT: SYMBOLIC_ENUM 1149s # ENUMPREFIX: TEST 1149s # enumsince: 1149s # type: enum 1149s # Type: Enum 1149s # TYPE: ENUM 1149s # file-tail 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s ok 29 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1149s # glib-mkenums: /usr/bin/glib-mkenums 1149s # tmpdir: /tmp/tmp1aq9pok4 1149s # rspfile: True 1149s # /tmp/tmp1aq9pok4/tmpe77jmov8.template: 1149s # /*** BEGIN file-header ***/ 1149s # file-header 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-header ***/ 1149s # 1149s # /*** BEGIN comment ***/ 1149s # comment 1149s # comment: @comment@ 1149s # /*** END comment ***/ 1149s # 1149s # /*** BEGIN file-tail ***/ 1149s # file-tail 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # /*** END file-tail ***/ 1149s # Response file contains: --template /tmp/tmp1aq9pok4/tmpe77jmov8.template 1149s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1aq9pok4/tmp14e2lrrz'] 1149s # Return code: 0 1149s # Output: 1149s # comment 1149s # 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. 1149s # 1149s # 1149s # file-header 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # file-tail 1149s # filename: @filename@ 1149s # basename: @basename@ 1149s # 1149s # comment 1149s # comment: Generated data ends here 1149s # Error: 1149s # WARNING: @filename@ used in file-header section. 1149s # WARNING: @basename@ used in file-header section. 1149s # WARNING: @filename@ used in file-tail section. 1149s # WARNING: @basename@ used in file-tail section. 1150s ok 30 __main__.TestRspMkenums.test_flag_enum_annotation 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmpetv3dw7a 1150s # rspfile: True 1150s # /tmp/tmpetv3dw7a/tmpeybw9iow.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } G_GNUC_FLAG_ENUM SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpnpoer1wh.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpnpoer1wh.template /tmp/tmpetv3dw7a/tmpeybw9iow.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpr807jx9_'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpeybw9iow.h 1150s # basename: tmpeybw9iow.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp3sortkh5.h: 1150s # typedef enum G_GNUC_FLAG_ENUM { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpu7jlhis5.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpu7jlhis5.template /tmp/tmpetv3dw7a/tmp3sortkh5.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpkcy01pwg'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp3sortkh5.h 1150s # basename: tmp3sortkh5.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpymjd9lyx.h: 1150s # typedef enum G_GNUC_FLAG_ENUM _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpw1sz04nk.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpw1sz04nk.template /tmp/tmpetv3dw7a/tmpymjd9lyx.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpf9f5pg3y'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpymjd9lyx.h 1150s # basename: tmpymjd9lyx.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp8lym3iw8.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } __attribute__((flag_enum)) SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpb6da7nqm.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpb6da7nqm.template /tmp/tmpetv3dw7a/tmp8lym3iw8.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpty7gkri3'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp8lym3iw8.h 1150s # basename: tmp8lym3iw8.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpavx7kxki.h: 1150s # typedef enum __attribute__((flag_enum)) { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpmxzcw8pe.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpmxzcw8pe.template /tmp/tmpetv3dw7a/tmpavx7kxki.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpjlndw2wl'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpavx7kxki.h 1150s # basename: tmpavx7kxki.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmplwi6idur.h: 1150s # typedef enum __attribute__((flag_enum)) _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp_z95xavg.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp_z95xavg.template /tmp/tmpetv3dw7a/tmplwi6idur.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpajjnfn5a'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmplwi6idur.h 1150s # basename: tmplwi6idur.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpgb9g8ht_.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } __attribute__((__flag_enum__)) SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp5g0fneox.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp5g0fneox.template /tmp/tmpetv3dw7a/tmpgb9g8ht_.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpcy1d7_md'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpgb9g8ht_.h 1150s # basename: tmpgb9g8ht_.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp3urnk61x.h: 1150s # typedef enum __attribute__((__flag_enum__)) { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp8uev5u3x.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp8uev5u3x.template /tmp/tmpetv3dw7a/tmp3urnk61x.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp12eeblh4'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp3urnk61x.h 1150s # basename: tmp3urnk61x.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmplq2eyydd.h: 1150s # typedef enum __attribute__((__flag_enum__)) _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpogijnoro.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpogijnoro.template /tmp/tmpetv3dw7a/tmplq2eyydd.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpj4v0ssfr'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmplq2eyydd.h 1150s # basename: tmplq2eyydd.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpht_m5pa3.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } __attribute__((flag_enum,deprecated)) SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpjm8jvah7.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpjm8jvah7.template /tmp/tmpetv3dw7a/tmpht_m5pa3.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmphafi6pec'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpht_m5pa3.h 1150s # basename: tmpht_m5pa3.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp84f9zov8.h: 1150s # typedef enum __attribute__((flag_enum,deprecated)) { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpqegk4zim.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpqegk4zim.template /tmp/tmpetv3dw7a/tmp84f9zov8.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp1am2qcxo'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp84f9zov8.h 1150s # basename: tmp84f9zov8.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpcwgbhnet.h: 1150s # typedef enum __attribute__((flag_enum,deprecated)) _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpj2tns_lp.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpj2tns_lp.template /tmp/tmpetv3dw7a/tmpcwgbhnet.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmphm859byz'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpcwgbhnet.h 1150s # basename: tmpcwgbhnet.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpbuubrhwy.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } __attribute__((deprecated,__flag_enum__)) SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpvi8fg_mf.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpvi8fg_mf.template /tmp/tmpetv3dw7a/tmpbuubrhwy.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpxvqdp1va'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpbuubrhwy.h 1150s # basename: tmpbuubrhwy.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpsuul5hks.h: 1150s # typedef enum __attribute__((deprecated,__flag_enum__)) { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpazuli01z.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpazuli01z.template /tmp/tmpetv3dw7a/tmpsuul5hks.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpgrzfarcz'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpsuul5hks.h 1150s # basename: tmpsuul5hks.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpkwzqlxne.h: 1150s # typedef enum __attribute__((deprecated,__flag_enum__)) _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpnl_z48i4.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpnl_z48i4.template /tmp/tmpetv3dw7a/tmpkwzqlxne.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp0gcey7w3'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpkwzqlxne.h 1150s # basename: tmpkwzqlxne.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmphjgqq1b6.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } [[gnu::flag_enum]] SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpnp6bd8th.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpnp6bd8th.template /tmp/tmpetv3dw7a/tmphjgqq1b6.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpvrlht186'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmphjgqq1b6.h 1150s # basename: tmphjgqq1b6.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmplqwv5kb8.h: 1150s # typedef enum [[gnu::flag_enum]] { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpvg9zp34_.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpvg9zp34_.template /tmp/tmpetv3dw7a/tmplqwv5kb8.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpuefzj8fo'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmplqwv5kb8.h 1150s # basename: tmplqwv5kb8.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpx4v7o61v.h: 1150s # typedef enum [[gnu::flag_enum]] _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpu_4vsury.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpu_4vsury.template /tmp/tmpetv3dw7a/tmpx4v7o61v.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp9nxpfl7y'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpx4v7o61v.h 1150s # basename: tmpx4v7o61v.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpbatg_xdw.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } [[clang::flag_enum]] SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpw1ckaptq.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpw1ckaptq.template /tmp/tmpetv3dw7a/tmpbatg_xdw.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpxclyfmsk'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpbatg_xdw.h 1150s # basename: tmpbatg_xdw.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmptqbotprc.h: 1150s # typedef enum [[clang::flag_enum]] { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpfu8h5yaj.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpfu8h5yaj.template /tmp/tmpetv3dw7a/tmptqbotprc.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpjb7goz59'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmptqbotprc.h 1150s # basename: tmptqbotprc.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpekoq_ske.h: 1150s # typedef enum [[clang::flag_enum]] _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp_2bdpnek.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp_2bdpnek.template /tmp/tmpetv3dw7a/tmpekoq_ske.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp44u3wn84'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpekoq_ske.h 1150s # basename: tmpekoq_ske.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp_mkf9voj.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } [[nodiscard,gnu::flag_enum]] SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpobzsfapm.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpobzsfapm.template /tmp/tmpetv3dw7a/tmp_mkf9voj.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp5vw376ui'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp_mkf9voj.h 1150s # basename: tmp_mkf9voj.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpz0g3obez.h: 1150s # typedef enum [[nodiscard,gnu::flag_enum]] { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpf4jnar9z.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpf4jnar9z.template /tmp/tmpetv3dw7a/tmpz0g3obez.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp656zkro7'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpz0g3obez.h 1150s # basename: tmpz0g3obez.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpo7cbqq5i.h: 1150s # typedef enum [[nodiscard,gnu::flag_enum]] _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp5iw6plz7.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp5iw6plz7.template /tmp/tmpetv3dw7a/tmpo7cbqq5i.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpagnljcq3'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpo7cbqq5i.h 1150s # basename: tmpo7cbqq5i.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpqx9phvs8.h: 1150s # typedef enum { 1150s # SOME_FLAGS_ONE = (1 << 1), 1150s # } [[clang::flag_enum,nodiscard]] SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp2tq_hqw3.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp2tq_hqw3.template /tmp/tmpetv3dw7a/tmpqx9phvs8.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp4qwznvfq'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpqx9phvs8.h 1150s # basename: tmpqx9phvs8.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_ONE 1150s # valuenick: one 1150s # valuenum: 2 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmp0ybebraz.h: 1150s # typedef enum [[clang::flag_enum,nodiscard]] { 1150s # SOME_FLAGS_TWO = (1 << 2), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmp86l7diae.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmp86l7diae.template /tmp/tmpetv3dw7a/tmp0ybebraz.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmp9wdiqx1g'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmp0ybebraz.h 1150s # basename: tmp0ybebraz.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_TWO 1150s # valuenick: two 1150s # valuenum: 4 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # 1150s # /tmp/tmpetv3dw7a/tmpvhfbql44.h: 1150s # typedef enum [[clang::flag_enum,nodiscard]] _SomeFlags { 1150s # SOME_FLAGS_THREE = (1 << 3), 1150s # } SomeFlags; 1150s # 1150s # /tmp/tmpetv3dw7a/tmpqkv6yvgd.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpetv3dw7a/tmpqkv6yvgd.template /tmp/tmpetv3dw7a/tmpvhfbql44.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpetv3dw7a/tmpvfe8f4sn'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpetv3dw7a/tmpvhfbql44.h 1150s # basename: tmpvhfbql44.h 1150s # enumeration-production 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-header 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-production 1150s # VALUENAME: SOME_FLAGS_THREE 1150s # valuenick: three 1150s # valuenum: 8 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # value-tail 1150s # EnumName: SomeFlags 1150s # enum_name: some_flags 1150s # ENUMNAME: SOME_FLAGS 1150s # ENUMSHORT: FLAGS 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: flags 1150s # Type: Flags 1150s # TYPE: FLAGS 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s ok 31 __main__.TestRspMkenums.test_help 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmp0zpfpen3 1150s # rspfile: True 1150s # Response file contains: --help 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0zpfpen3/tmp6t11ooel'] 1150s # Return code: 0 1150s # Output: 1150s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1150s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1150s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1150s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1150s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1150s # [--output OUTPUT] [--version] 1150s # [args ...] 1150s # 1150s # positional arguments: 1150s # args One or more input files, or a single argument 1150s # @rspfile_path pointing to a file that contains the 1150s # actual arguments 1150s # 1150s # options: 1150s # -h, --help show this help message and exit 1150s # --identifier-prefix IDPREFIX 1150s # Identifier prefix 1150s # --symbol-prefix SYMPREFIX 1150s # Symbol prefix 1150s # --fhead FHEAD Output file header 1150s # --ftail FTAIL Output file footer 1150s # --fprod FPROD Put out TEXT every time a new input file is being 1150s # processed. 1150s # --eprod EPROD Per enum text, produced prior to value iterations 1150s # --vhead VHEAD Value header, produced before iterating over enum 1150s # values 1150s # --vprod VPROD Value text, produced for each enum value. 1150s # --vtail VTAIL Value tail, produced after iterating over enum values 1150s # --comments COMMENT_TMPL 1150s # Comment structure 1150s # --template TEMPLATE Template file 1150s # --output OUTPUT 1150s # --version, -v Print version information 1150s # 1150s # Production text substitutions: 1150s # @EnumName@ PrefixTheXEnum 1150s # @enum_name@ prefix_the_xenum 1150s # @ENUMNAME@ PREFIX_THE_XENUM 1150s # @ENUMSHORT@ THE_XENUM 1150s # @ENUMPREFIX@ PREFIX 1150s # @enumsince@ the user-provided since value given 1150s # @VALUENAME@ PREFIX_THE_XVALUE 1150s # @valuenick@ the-xvalue 1150s # @valuenum@ the integer value (limited support, Since: 2.26) 1150s # @type@ either enum or flags 1150s # @Type@ either Enum or Flags 1150s # @TYPE@ either ENUM or FLAGS 1150s # @filename@ name of current input file 1150s # @basename@ base name of the current input file (Since: 2.22) 1150s # Error: 1150s ok 32 __main__.TestRspMkenums.test_no_args 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmp_c_5osvv 1150s # rspfile: True 1150s # Response file contains: 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_c_5osvv/tmpz0b5hdmz'] 1150s # Return code: 0 1150s # Output: 1150s # /* 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. */ 1150s # 1150s # 1150s # /* Generated data ends here */ 1150s # Error: 1150s ok 33 __main__.TestRspMkenums.test_no_headers 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmplc2uqt7p 1150s # rspfile: True 1150s # /tmp/tmplc2uqt7p/tmp62k8xz0y.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmplc2uqt7p/tmp62k8xz0y.template 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplc2uqt7p/tmpad6ol7d7'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s ok 34 __main__.TestRspMkenums.test_no_nick 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmp0tj0p6u6 1150s # rspfile: True 1150s # /tmp/tmp0tj0p6u6/tmp3t_5ssi_.h: 1150s # typedef enum { 1150s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1150s # } GeglSamplerType; 1150s # 1150s # /tmp/tmp0tj0p6u6/tmpr96aekp1.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmp0tj0p6u6/tmpr96aekp1.template /tmp/tmp0tj0p6u6/tmp3t_5ssi_.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0tj0p6u6/tmpcfkqyb7v'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmp0tj0p6u6/tmp3t_5ssi_.h 1150s # basename: tmp3t_5ssi_.h 1150s # enumeration-production 1150s # EnumName: GeglSamplerType 1150s # enum_name: gegl_sampler_type 1150s # ENUMNAME: GEGL_SAMPLER_TYPE 1150s # ENUMSHORT: SAMPLER_TYPE 1150s # ENUMPREFIX: GEGL 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-header 1150s # EnumName: GeglSamplerType 1150s # enum_name: gegl_sampler_type 1150s # ENUMNAME: GEGL_SAMPLER_TYPE 1150s # ENUMSHORT: SAMPLER_TYPE 1150s # ENUMPREFIX: GEGL 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-production 1150s # VALUENAME: GEGL_SAMPLER_NEAREST 1150s # valuenick: nearest 1150s # valuenum: 0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-tail 1150s # EnumName: GeglSamplerType 1150s # enum_name: gegl_sampler_type 1150s # ENUMNAME: GEGL_SAMPLER_TYPE 1150s # ENUMSHORT: SAMPLER_TYPE 1150s # ENUMPREFIX: GEGL 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s ok 35 __main__.TestRspMkenums.test_non_utf8_encoding 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmp22hsp5ns 1150s # rspfile: True 1150s # /tmp/tmp22hsp5ns/tmp2v3iphf_.h: 1150s # /* Copyright © La Peña */ 1150s # typedef enum { 1150s # ENUM_VALUE 1150s # } SomeEnumIdentifier; 1150s # 1150s # /tmp/tmp22hsp5ns/tmp68994mwo.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmp22hsp5ns/tmp68994mwo.template /tmp/tmp22hsp5ns/tmp2v3iphf_.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp22hsp5ns/tmpeab06f2a'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmp22hsp5ns/tmp2v3iphf_.h 1150s # basename: tmp2v3iphf_.h 1150s # enumeration-production 1150s # EnumName: SomeEnumIdentifier 1150s # enum_name: some_enum_identifier 1150s # ENUMNAME: SOME_ENUM_IDENTIFIER 1150s # ENUMSHORT: ENUM_IDENTIFIER 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-header 1150s # EnumName: SomeEnumIdentifier 1150s # enum_name: some_enum_identifier 1150s # ENUMNAME: SOME_ENUM_IDENTIFIER 1150s # ENUMSHORT: ENUM_IDENTIFIER 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-production 1150s # VALUENAME: ENUM_VALUE 1150s # valuenick: value 1150s # valuenum: 0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-tail 1150s # EnumName: SomeEnumIdentifier 1150s # enum_name: some_enum_identifier 1150s # ENUMNAME: SOME_ENUM_IDENTIFIER 1150s # ENUMSHORT: ENUM_IDENTIFIER 1150s # ENUMPREFIX: SOME 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1150s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1150s ok 36 __main__.TestRspMkenums.test_reproducible 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmpkkk58cz3 1150s # rspfile: True 1150s # /tmp/tmpkkk58cz3/tmps32dfmf7.template: template 1150s # Response file contains: --template /tmp/tmpkkk58cz3/tmps32dfmf7.template /tmp/tmpkkk58cz3/tmpmn9ilx8c1.h /tmp/tmpkkk58cz3/tmp0bo87vpk2.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkkk58cz3/tmpswkg30_0'] 1150s # Return code: 0 1150s # Output: 1150s # /* 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. */ 1150s # 1150s # 1150s # /* Generated data ends here */ 1150s # Error: 1150s # 1150s # /tmp/tmpkkk58cz3/tmp5v_ftww_.template: template 1150s # Response file contains: --template /tmp/tmpkkk58cz3/tmp5v_ftww_.template /tmp/tmpkkk58cz3/tmp0bo87vpk2.h /tmp/tmpkkk58cz3/tmpmn9ilx8c1.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkkk58cz3/tmpyip8lph5'] 1150s # Return code: 0 1150s # Output: 1150s # /* 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. */ 1150s # 1150s # 1150s # /* Generated data ends here */ 1150s # Error: 1150s ok 37 __main__.TestRspMkenums.test_since 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmpdra5tpfq 1150s # rspfile: True 1150s # /tmp/tmpdra5tpfq/tmprxq3ps4u.h: 1150s # typedef enum { /*< since=1.0 >*/ 1150s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1150s # } QmiWmsMessageProtocol; 1150s # 1150s # /tmp/tmpdra5tpfq/tmpygtgtr51.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmpdra5tpfq/tmpygtgtr51.template /tmp/tmpdra5tpfq/tmprxq3ps4u.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdra5tpfq/tmpeo3h0fez'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmpdra5tpfq/tmprxq3ps4u.h 1150s # basename: tmprxq3ps4u.h 1150s # enumeration-production 1150s # EnumName: QmiWmsMessageProtocol 1150s # enum_name: qmi_wms_message_protocol 1150s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1150s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1150s # ENUMPREFIX: QMI 1150s # enumsince: 1.0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-header 1150s # EnumName: QmiWmsMessageProtocol 1150s # enum_name: qmi_wms_message_protocol 1150s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1150s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1150s # ENUMPREFIX: QMI 1150s # enumsince: 1.0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-production 1150s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1150s # valuenick: cdma 1150s # valuenum: 0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-tail 1150s # EnumName: QmiWmsMessageProtocol 1150s # enum_name: qmi_wms_message_protocol 1150s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1150s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1150s # ENUMPREFIX: QMI 1150s # enumsince: 1.0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s ok 38 __main__.TestRspMkenums.test_with_double_quotes 1150s # glib-mkenums: /usr/bin/glib-mkenums 1150s # tmpdir: /tmp/tmp8vnzcix8 1150s # rspfile: True 1150s # /tmp/tmp8vnzcix8/tmp_13durq_.h: 1150s # typedef enum { 1150s # FOO_VALUE /*< nick="eek, a comma" >*/ 1150s # } Foo; 1150s # 1150s # /tmp/tmp8vnzcix8/tmphor40gq1.template: 1150s # /*** BEGIN file-header ***/ 1150s # file-header 1150s # /*** END file-header ***/ 1150s # 1150s # /*** BEGIN file-production ***/ 1150s # file-production 1150s # filename: @filename@ 1150s # basename: @basename@ 1150s # /*** END file-production ***/ 1150s # 1150s # /*** BEGIN enumeration-production ***/ 1150s # enumeration-production 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END enumeration-production ***/ 1150s # 1150s # /*** BEGIN value-header ***/ 1150s # value-header 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-header ***/ 1150s # 1150s # /*** BEGIN value-production ***/ 1150s # value-production 1150s # VALUENAME: @VALUENAME@ 1150s # valuenick: @valuenick@ 1150s # valuenum: @valuenum@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-production ***/ 1150s # 1150s # /*** BEGIN value-tail ***/ 1150s # value-tail 1150s # EnumName: @EnumName@ 1150s # enum_name: @enum_name@ 1150s # ENUMNAME: @ENUMNAME@ 1150s # ENUMSHORT: @ENUMSHORT@ 1150s # ENUMPREFIX: @ENUMPREFIX@ 1150s # enumsince: @enumsince@ 1150s # type: @type@ 1150s # Type: @Type@ 1150s # TYPE: @TYPE@ 1150s # /*** END value-tail ***/ 1150s # 1150s # /*** BEGIN comment ***/ 1150s # comment 1150s # comment: @comment@ 1150s # /*** END comment ***/ 1150s # 1150s # /*** BEGIN file-tail ***/ 1150s # file-tail 1150s # /*** END file-tail ***/ 1150s # 1150s # Response file contains: --template /tmp/tmp8vnzcix8/tmphor40gq1.template /tmp/tmp8vnzcix8/tmp_13durq_.h 1150s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8vnzcix8/tmpch18y23k'] 1150s # Return code: 0 1150s # Output: 1150s # comment 1150s # 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. 1150s # 1150s # 1150s # file-header 1150s # file-production 1150s # filename: /tmp/tmp8vnzcix8/tmp_13durq_.h 1150s # basename: tmp_13durq_.h 1150s # enumeration-production 1150s # EnumName: Foo 1150s # enum_name: foo_ 1150s # ENUMNAME: FOO_ 1150s # ENUMSHORT: 1150s # ENUMPREFIX: FOO 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-header 1150s # EnumName: Foo 1150s # enum_name: foo_ 1150s # ENUMNAME: FOO_ 1150s # ENUMSHORT: 1150s # ENUMPREFIX: FOO 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-production 1150s # VALUENAME: FOO_VALUE 1150s # valuenick: eek, a comma 1150s # valuenum: 0 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # value-tail 1150s # EnumName: Foo 1150s # enum_name: foo_ 1150s # ENUMNAME: FOO_ 1150s # ENUMSHORT: 1150s # ENUMPREFIX: FOO 1150s # enumsince: 1150s # type: enum 1150s # Type: Enum 1150s # TYPE: ENUM 1150s # file-tail 1150s # 1150s # comment 1150s # comment: Generated data ends here 1150s # Error: 1150s 1..38 1151s ok - glib/mkenums.py.test 1151s # Running test: glib/timeout.test 1151s TAP version 14 1151s # random seed: R02S9c7c7b2165a660d3b18730ab28873d4b 1151s 1..5 1151s # Start of timeout tests 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1152s # Executing: glib/timeout.test 1153s ok 1 /timeout/seconds 1153s # slow test /timeout/seconds executed in 2.10 secs 1155s ok 2 /timeout/seconds-once 1155s # slow test /timeout/seconds-once executed in 2.10 secs 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1157s ok 3 /timeout/weeks-overflow 1157s # slow test /timeout/weeks-overflow executed in 2.10 secs 1157s ok 4 /timeout/far-future-ready-time 1157s # Executing: glib/timeout.test 1162s # Executing: glib/timeout.test 1167s # Executing: glib/timeout.test 1168s ok 5 /timeout/rounding 1168s # slow test /timeout/rounding executed in 10.72 secs 1168s # End of timeout tests 1168s ok - glib/timeout.test 1168s # Running test: glib/bytes.test 1168s TAP version 14 1168s # random seed: R02S14c7cd8dff3b504db3bded12fac28586 1168s 1..21 1168s # Start of bytes tests 1168s ok 1 /bytes/new 1168s ok 2 /bytes/new-take 1168s ok 3 /bytes/new-static 1168s ok 4 /bytes/new-with-free-func 1168s ok 5 /bytes/new-from-bytes 1168s ok 6 /bytes/new-from-bytes-slice 1168s ok 7 /bytes/new-from-bytes-shared-ref 1168s ok 8 /bytes/hash 1168s ok 9 /bytes/equal 1168s ok 10 /bytes/compare 1168s ok 11 /bytes/null 1168s ok 12 /bytes/get-region 1168s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1168s ok 13 /bytes/unref-null 1168s # Start of to-data tests 1168s ok 14 /bytes/to-data/transferred 1168s ok - glib/bytes.test 1168s # Running test: glib/spawn-singlethread.test 1168s ok - glib/spawn-singlethread.test 1168s # Running test: glib/rand.test 1168s ok 15 /bytes/to-data/two-refs 1168s ok 16 /bytes/to-data/non-malloc 1168s ok 17 /bytes/to-data/different-free-func 1168s # End of to-data tests 1168s # Start of to-array tests 1168s ok 18 /bytes/to-array/transferred 1168s ok 19 /bytes/to-array/two-refs 1168s ok 20 /bytes/to-array/non-malloc 1168s # Start of transferred tests 1168s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1168s ok 21 /bytes/to-array/transferred/oversize 1168s # End of transferred tests 1168s # End of to-array tests 1168s # End of bytes tests 1168s TAP version 14 1168s # random seed: R02S6a5cacc82187b7bc0a2459276fa4fecb 1168s 1..9 1168s # Start of gthread tests 1168s ok 1 /gthread/spawn-single-sync 1168s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1168s ok 2 /gthread/spawn-stderr-socket 1168s ok 3 /gthread/spawn-single-async 1168s # thread 1 1168s # thread 1 1168s ok 4 /gthread/spawn-single-async-with-fds 1168s ok 5 /gthread/spawn-async-with-invalid-fds 1168s ok 6 /gthread/spawn-script 1168s ok 7 /gthread/spawn-posix-spawn 1168s # Start of spawn tests 1168s ok 8 /gthread/spawn/nonexistent 1168s # FD map: 1168s # • 5 → 15 1168s # • 6 → 16 1168s # • 7 → 17 1168s # • 8 → 18 1168s # • 9 → 19 1168s # • 10 → 20 1168s # • 11 → 21 1168s # • 12 → 22 1168s # • 13 → 23 1168s # • 3 → 13 1168s ok 9 /gthread/spawn/fd-assignment-clash 1168s # End of spawn tests 1168s # End of gthread tests 1168s TAP version 14 1168s # random seed: R02Sed566f3aeda1425c87a34c9d04f3755e 1168s 1..2 1168s # Start of rand tests 1168s ok - glib/rand.test 1168s ok 1 /rand/test-rand 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1168s ok 2 /rand/double-range 1168s # End of rand tests 1168s # Running test: glib/atomic-c-23.test 1168s TAP version 14 1168s # random seed: R02S3f8931c5af8907f6d7116d456f07a74d 1168s 1..2 1168s # Start of atomic tests 1168s ok 1 /atomic/types 1168s ok - glib/atomic-c-23.test 1168s ok 2 /atomic/threaded 1168s # End of atomic tests 1168s # Running test: glib/static-link.test 1168s ok # SKIP - glib/static-link.test 1168s # Running test: glib/memchunk.test 1168s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1168s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1168s and make sure you have glib build dependencies installed, including 1168s meson. 1168s TAP version 14 1168s # random seed: R02S826f6db74e78dca78f5a3886b33bfe3d 1168s 1..1 1168s # Start of memchunk tests 1168s ok 1 /memchunk/basic 1168s # End of memchunk tests 1168s ok - glib/memchunk.test 1168s # Running test: glib/once.test 1168s TAP version 14 1168s # random seed: R02S964bdcc874b897c18b7c81b54c591662 1168s 1..5 1168s # Start of once tests 1168s # /once/single-threaded summary: Test g_once() usage from a single thread 1168s ok 1 /once/single-threaded 1168s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1168s ok 2 /once/multi-threaded 1168s # End of once tests 1168s # Start of once-init tests 1168s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1168s ok 3 /once-init/single-threaded 1168s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1168s ok - glib/once.test 1168s ok 4 /once-init/multi-threaded 1168s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1168s ok 5 /once-init/string 1168s # End of once-init tests 1168s # Running test: glib/list.test 1168s TAP version 14 1168s # random seed: R02S918728820f032a53ebcd153f67eb0674 1168s 1..20 1168s # Start of list tests 1168s ok 1 /list/sort 1168s ok 2 /list/sort-with-data 1168s ok 3 /list/insert-before-link 1168s ok 4 /list/insert-sorted 1168s ok 5 /list/insert-sorted-with-data 1168s ok 6 /list/reverse 1168s ok 7 /list/nth 1168s ok 8 /list/concat 1168s ok 9 /list/remove 1168s ok 10 /list/remove-all 1168s ok 11 /list/first-last 1168s ok 12 /list/insert 1168s ok 13 /list/free-full 1168s ok 14 /list/copy 1168s ok 15 /list/copy-deep 1168s ok 16 /list/delete-link 1168s ok 17 /list/prepend 1168s ok 18 /list/position 1168s ok 19 /list/double-free 1168s # Start of sort tests 1168s ok 20 /list/sort/stable 1168s # End of sort tests 1168s # End of list tests 1168s ok - glib/list.test 1168s # Running test: glib/markup-subparser.test 1168s ok - glib/markup-subparser.test 1168s # Running test: glib/keyfile.test 1168s TAP version 14 1168s # random seed: R02S0e599a463b252f5effe5f3233aee0299 1168s 1..14 1168s # Start of glib tests 1168s # Start of markup tests 1168s # Start of subparser tests 1168s # Start of success tests 1168s ok 1 /glib/markup/subparser/success/0 1168s ok 2 /glib/markup/subparser/success/1 1168s ok 3 /glib/markup/subparser/success/2 1168s ok 4 /glib/markup/subparser/success/3 1168s ok 5 /glib/markup/subparser/success/4 1168s ok 6 /glib/markup/subparser/success/5 1168s ok 7 /glib/markup/subparser/success/6 1168s # End of success tests 1168s # Start of failure tests 1168s ok 8 /glib/markup/subparser/failure/0 1168s ok 9 /glib/markup/subparser/failure/1 1168s ok 10 /glib/markup/subparser/failure/2 1168s ok 11 /glib/markup/subparser/failure/3 1168s ok 12 /glib/markup/subparser/failure/4 1168s ok 13 /glib/markup/subparser/failure/5 1168s ok 14 /glib/markup/subparser/failure/6 1168s # End of failure tests 1168s # End of subparser tests 1168s # End of markup tests 1168s # End of glib tests 1168s TAP version 14 1168s # random seed: R02S35d2039ff635aea40601970851e06565 1168s 1..36 1168s # Start of keyfile tests 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/line-ends/.dirs/runtime 1168s ok 1 /keyfile/line-ends 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/whitespace/.dirs/runtime 1168s ok 2 /keyfile/whitespace 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/comments/.dirs/runtime 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1168s ok 3 /keyfile/comments 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/listing/.dirs/runtime 1168s ok 4 /keyfile/listing 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/string/.dirs/runtime 1168s ok 5 /keyfile/string 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/boolean/.dirs/runtime 1168s ok 6 /keyfile/boolean 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/number/.dirs/runtime 1168s ok 7 /keyfile/number 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/.dirs/runtime 1168s ok 8 /keyfile/locale-string 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/lists/.dirs/runtime 1168s ok 9 /keyfile/lists 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/lists-set-get/.dirs/runtime 1168s ok 10 /keyfile/lists-set-get 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/group-remove/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1168s ok 11 /keyfile/group-remove 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/key-remove/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1168s ok 12 /keyfile/key-remove 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/groups/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1168s ok 13 /keyfile/groups 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-keys/.dirs/runtime 1168s ok 14 /keyfile/duplicate-keys 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1168s ok 15 /keyfile/duplicate-groups 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/duplicate-groups2/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1168s ok 16 /keyfile/duplicate-groups2 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/group-names/.dirs/runtime 1168s ok 17 /keyfile/group-names 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/key-names/.dirs/runtime 1168s ok 18 /keyfile/key-names 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/reload/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1168s ok 19 /keyfile/reload 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/int64/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1168s ok 20 /keyfile/int64 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/load/.dirs/runtime 1168s ok 21 /keyfile/load 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/save/.dirs/runtime 1168s ok 22 /keyfile/save 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/load-fail/.dirs/runtime 1168s ok 23 /keyfile/load-fail 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/non-utf8/.dirs/runtime 1168s ok 24 /keyfile/non-utf8 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/page-boundary/.dirs/runtime 1168s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1168s ok 25 /keyfile/page-boundary 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/ref/.dirs/runtime 1168s ok 26 /keyfile/ref 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/replace-value/.dirs/runtime 1168s ok 27 /keyfile/replace-value 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/list-separator/.dirs/runtime 1168s ok 28 /keyfile/list-separator 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/empty-string/.dirs/runtime 1168s ok 29 /keyfile/empty-string 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/limbo/.dirs/runtime 1168s ok 30 /keyfile/limbo 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/utf8/.dirs/runtime 1168s # Testing invalid encoding ‘non-UTF-8’ 1168s # Testing invalid encoding ‘UTF’ 1168s # Testing invalid encoding ‘UTF-9’ 1168s ok 31 /keyfile/utf8 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/roundtrip/.dirs/runtime 1168s ok 32 /keyfile/roundtrip 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/bytes/.dirs/runtime 1168s ok 33 /keyfile/bytes 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/get-locale/.dirs/runtime 1168s ok 34 /keyfile/get-locale 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/free-when-not-last-ref/.dirs/runtime 1168s ok 35 /keyfile/free-when-not-last-ref 1168s # Start of locale-string tests 1168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/home 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/cache 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/config 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/data 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/state 1168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_Q1B4J3/keyfile/locale-string/multiple-loads/.dirs/runtime 1168s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1168s ok - glib/keyfile.test 1168s # Running test: glib/cxx-2c.test 1168s ok - glib/cxx-2c.test 1168s # Running test: glib/node.test 1168s ok - glib/node.test 1168s # Running test: glib/string.test 1168s ok - glib/string.test 1168s # Running test: glib/test-printf.test 1168s ok - glib/test-printf.test 1168s # Running test: glib/actions.test 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1168s ok 36 /keyfile/locale-string/multiple-loads 1168s # End of locale-string tests 1168s # End of keyfile tests 1168s TAP version 14 1168s # random seed: R02S3117a961ec20f4208ec0cf55b55ea82e 1168s 1..2 1168s # Start of gtask tests 1168s # 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. 1168s ok 1 /gtask/name 1168s # Start of name tests 1168s # 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. 1168s ok 2 /gtask/name/macro-wrapper 1168s # End of name tests 1168s # End of gtask tests 1168s TAP version 14 1168s # random seed: R02S0c3ba774dee22dbd48a35874e8a7bcd6 1168s 1..6 1168s # Start of node tests 1168s ok 1 /node/allocation 1168s ok 2 /node/construction 1168s ok 3 /node/traversal 1168s ok 4 /node/misc 1168s ok 5 /node/unlink 1168s ok 6 /node/copy 1168s # End of node tests 1168s TAP version 14 1168s # random seed: R02S52c222afea310ed613f875dd70b113d8 1168s 1..25 1168s # Start of string tests 1168s ok 1 /string/chunks 1168s ok 2 /string/chunk-insert 1168s ok 3 /string/new 1168s ok 4 /string/printf 1168s ok 5 /string/assign 1168s ok 6 /string/append-c 1168s ok 7 /string/append 1168s ok 8 /string/append-vprintf 1168s ok 9 /string/prepend-c 1168s ok 10 /string/prepend 1168s ok 11 /string/insert 1168s ok 12 /string/insert-unichar 1168s ok 13 /string/equal 1168s ok 14 /string/truncate 1168s ok 15 /string/overwrite 1168s ok 16 /string/nul-handling 1168s ok 17 /string/up-down 1168s ok 18 /string/set-size 1168s ok 19 /string/to-bytes 1168s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1168s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1168s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1168s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1168s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1168s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1168s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1168s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1168s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1168s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1168s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1168s # -> 4 replacements, "fd fr fals" 1168s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1168s # -> 3 replacements, "aaaaaaaaa" 1168s # 7: Replacing "a" with "" (limit 0) in "aaa" 1168s # -> 3 replacements, "" 1168s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1168s # -> 1 replacements, "bba" 1168s # 9: Replacing "" with "bar" (limit 0) in "foo" 1168s # -> 4 replacements, "barfbarobarobar" 1168s # 10: Replacing "" with "bar" (limit 1) in "foo" 1168s # -> 1 replacements, "barfoo" 1168s # 11: Replacing "" with "bar" (limit 2) in "foo" 1168s # -> 2 replacements, "barfbaroo" 1168s # 12: Replacing "" with "bar" (limit 3) in "foo" 1168s # -> 3 replacements, "barfbarobaro" 1168s # 13: Replacing "" with "bar" (limit 4) in "foo" 1168s # -> 4 replacements, "barfbarobarobar" 1168s # 14: Replacing "" with "bar" (limit 5) in "foo" 1168s # -> 4 replacements, "barfbarobarobar" 1168s # 15: Replacing "" with "x" (limit 0) in "" 1168s # -> 1 replacements, "x" 1168s # 16: Replacing "" with "" (limit 0) in "" 1168s # -> 1 replacements, "" 1168s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1168s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1168s ok 20 /string/replace 1168s ok 21 /string/steal 1168s ok 22 /string/new-take 1168s ok 23 /string/copy 1168s ok 24 /string/sized-new 1168s # Start of new-take tests 1168s ok 25 /string/new-take/null 1168s # End of new-take tests 1168s # End of string tests 1168s TAP version 14 1168s # random seed: R02Sb1264ff434d9873c3a94094a93daad81 1168s 1..24 1168s # Start of snprintf tests 1168s ok 1 /snprintf/retval-and-trunc 1168s ok 2 /snprintf/%d 1168s ok 3 /snprintf/%d-invalid 1168s ok 4 /snprintf/%o 1168s ok 5 /snprintf/%u 1168s ok 6 /snprintf/%x 1168s ok 7 /snprintf/%X 1168s ok 8 /snprintf/%f 1168s ok 9 /snprintf/%e 1168s ok 10 /snprintf/%c 1168s ok 11 /snprintf/%s 1168s ok 12 /snprintf/%n 1168s ok 13 /snprintf/test-percent 1168s ok 14 /snprintf/test-positional-params 1168s ok 15 /snprintf/test-64bit 1168s ok 16 /snprintf/produce-embedded-nulls 1168s # End of snprintf tests 1168s # Start of printf tests 1168s ok 17 /printf/test-percent 1168s ok 18 /printf/test-positional-params 1168s ok 19 /printf/test-64bit 1168s # Start of test-64bit tests 1168s # Start of subprocess tests 1168s # End of subprocess tests 1168s # End of test-64bit tests 1168s # End of printf tests 1168s # Start of fprintf tests 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1168s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1168s ok 20 /fprintf/produce-embedded-nulls 1168s # End of fprintf tests 1168s # Start of sprintf tests 1168s ok 21 /sprintf/test-positional-params 1168s ok 22 /sprintf/upper-bound 1168s # End of sprintf tests 1168s # Start of vasprintf tests 1168s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1168s ok 23 /vasprintf/invalid-format-placeholder 1168s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1168s ok 24 /vasprintf/invalid-wide-string 1168s # End of vasprintf tests 1168s TAP version 14 1168s # random seed: R02S886a95f2636c2e039761aa684774ee06 1168s 1..13 1168s # Start of actions tests 1168s ok 1 /actions/basic 1168s ok 2 /actions/name 1168s ok 3 /actions/simplegroup 1168s ok 4 /actions/stateful 1168s ok 5 /actions/default-activate 1168s ok 6 /actions/entries 1168s ok 7 /actions/parse-detailed 1168s ok 8 /actions/property 1168s ok 9 /actions/no-properties 1168s # Start of dbus tests 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s ok 10 /actions/dbus/export 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1168s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s ok 11 /actions/dbus/threaded 1170s # slow test /actions/dbus/threaded executed in 2.16 secs 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s ok 12 /actions/dbus/bug679509 1170s # Start of export tests 1170s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s ok 13 /actions/dbus/export/error-handling 1170s # End of export tests 1170s # End of dbus tests 1170s # End of actions tests 1170s ok - glib/actions.test 1170s # Running test: glib/gdbus-introspection.test 1170s TAP version 14 1170s # random seed: R02S84f5a913403d50e6cd7467d02471ebd5 1170s 1..4 1170s # Start of gdbus tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-parser/.dirs/runtime 1170s ok 1 /gdbus/introspection-parser 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-generate/.dirs/runtime 1170s ok - glib/gdbus-introspection.test 1170s # Running test: glib/pollable.test 1170s ok 2 /gdbus/introspection-generate 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-default-direction/.dirs/runtime 1170s ok 3 /gdbus/introspection-default-direction 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FTFBK3/gdbus/introspection-extra-data/.dirs/runtime 1170s ok 4 /gdbus/introspection-extra-data 1170s # End of gdbus tests 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1170s TAP version 14 1170s # random seed: R02Se2285b102b08f504da93d8d8c253b390 1170s 1..6 1170s # Start of pollable tests 1170s ok - glib/pollable.test 1170s # Running test: glib/print.test 1170s ok - glib/print.test 1170s # Running test: glib/utils-c-99.test 1170s ok 1 /pollable/converter 1170s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1170s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x48e4994b900 and GSocketClientAsyncConnectData 0x48e4994d7a0 1170s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1170s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1170s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x48e49943e00 for GSocketClientAsyncConnectData 0x48e4994d7a0 1170s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1170s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1170s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1170s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1170s ok 2 /pollable/socket 1170s # Start of unix tests 1170s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1170s ok 3 /pollable/unix/pipe 1170s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1170s ok 4 /pollable/unix/pty 1170s # /pollable/unix/file summary: Test that regular files are not considered pollable 1170s ok 5 /pollable/unix/file 1170s # /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 1170s ok 6 /pollable/unix/nulldev 1170s # End of unix tests 1170s # End of pollable tests 1170s TAP version 14 1170s # random seed: R02S1c38e3fc7391b04214830082eb12fe89 1170s 1..1 1170s ok 1 /print-console # SKIP Testing console output only supported on Windows 1170s TAP version 14 1170s # random seed: R02S8ed4d8665e99bfdf90b6b82e77b7819a 1170s 1..41 1170s # Start of utils tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/language-names/.dirs/runtime 1170s ok 1 /utils/language-names 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/locale-variants/.dirs/runtime 1170s # Testing locale ‘en’ 1170s # Testing locale ‘sr@latin’ 1170s # Testing locale ‘fr_BE’ 1170s # Testing locale ‘sr_SR@latin’ 1170s # Testing locale ‘sr_SR@latin.UTF-8’ 1170s # Testing locale ‘sr@latin_invalid’ 1170s # Testing locale ‘sr.UTF-8@latin’ 1170s # Testing locale ‘sr.UTF-8_latin’ 1170s # Testing locale ‘sr.UTF-8@latin_invalid’ 1170s ok 2 /utils/locale-variants 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/version/.dirs/runtime 1170s ok 3 /utils/version 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/appname/.dirs/runtime 1170s ok 4 /utils/appname 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/prgname-thread-safety/.dirs/runtime 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1170s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1170s ok 5 /utils/prgname-thread-safety 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/tmpdir/.dirs/runtime 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1170s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/tmpdir: No such file or directory 1170s ok 6 /utils/tmpdir 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/basic_bits/.dirs/runtime 1170s ok 7 /utils/basic_bits 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/bits/.dirs/runtime 1170s ok 8 /utils/bits 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/swap/.dirs/runtime 1170s ok 9 /utils/swap 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/find-program/.dirs/runtime 1170s ok 10 /utils/find-program 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/find-program-for-path/.dirs/runtime 1170s ok 11 /utils/find-program-for-path 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/debug/.dirs/runtime 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/debug: No such file or directory 1170s ok 12 /utils/debug 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/codeset/.dirs/runtime 1170s ok 13 /utils/codeset 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/codeset2/.dirs/runtime 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/codeset2: No such file or directory 1170s ok 14 /utils/codeset2 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/console-charset/.dirs/runtime 1170s ok 15 /utils/console-charset 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/gettext/.dirs/runtime 1170s ok 16 /utils/gettext 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/username/.dirs/runtime 1170s ok 17 /utils/username 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/realname/.dirs/runtime 1170s ok 18 /utils/realname 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/hostname/.dirs/runtime 1170s ok 19 /utils/hostname 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/os-info/.dirs/runtime 1170s # NAME: Ubuntu 1170s ok 20 /utils/os-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/.dirs/runtime 1170s ok 21 /utils/clear-pointer 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer-cast/.dirs/runtime 1170s ok 22 /utils/clear-pointer-cast 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/take-pointer/.dirs/runtime 1170s ok 23 /utils/take-pointer 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-source/.dirs/runtime 1170s ok 24 /utils/clear-source 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/misc-mem/.dirs/runtime 1170s ok 25 /utils/misc-mem 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/.dirs/runtime 1170s # /utils/aligned-mem summary: Aligned memory allocator 1170s # Alignment must not be zero 1170s # Alignment must be a power of two 1170s # Alignment must be a multiple of sizeof(void*) 1170s ok 26 /utils/aligned-mem 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/free-sized/.dirs/runtime 1170s # /utils/free-sized summary: Check that g_free_sized() works 1170s ok 27 /utils/free-sized 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/nullify/.dirs/runtime 1170s ok 28 /utils/nullify 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/atexit/.dirs/runtime 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/atexit: No such file or directory 1170s ok 29 /utils/atexit 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/check-setuid/.dirs/runtime 1170s ok 30 /utils/check-setuid 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/int-limits/.dirs/runtime 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1170s ok 31 /utils/int-limits 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-list/.dirs/runtime 1170s ok 32 /utils/clear-list 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-slist/.dirs/runtime 1170s ok 33 /utils/clear-slist 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/steal-handle-id/.dirs/runtime 1170s ok 34 /utils/steal-handle-id 1170s # Start of user-special-dirs tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/desktop/.dirs/runtime 1170s ok 35 /utils/user-special-dirs/desktop 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1170s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/load-unlocked: No such file or directory 1170s ok 36 /utils/user-special-dirs/load-unlocked 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1170s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1170s Unable to clean up temporary directory /tmp/test_utils-c-99_S5QBK3/utils/user-special-dirs/reload-leaks: No such file or directory 1170s ok 37 /utils/user-special-dirs/reload-leaks 1170s # End of user-special-dirs tests 1170s # Start of clear-pointer tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/home 1170s ok - glib/utils-c-99.test 1170s # Running test: glib/data-output-stream.test 1170s ok - glib/data-output-stream.test 1170s # Running test: glib/thread-pool.test 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/clear-pointer/side-effects/.dirs/runtime 1170s ok 38 /utils/clear-pointer/side-effects 1170s # End of clear-pointer tests 1170s # Start of aligned-mem tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/alignment/.dirs/runtime 1170s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1170s ok 39 /utils/aligned-mem/alignment 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/zeroed/.dirs/runtime 1170s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1170s ok 40 /utils/aligned-mem/zeroed 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_S5QBK3/utils/aligned-mem/free-sized/.dirs/runtime 1170s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1170s ok 41 /utils/aligned-mem/free-sized 1170s # Start of subprocess tests 1170s # End of subprocess tests 1170s # End of aligned-mem tests 1170s # End of utils tests 1170s TAP version 14 1170s # random seed: R02S478c8fe7bcdb859a45b0b2d6db570ed5 1170s 1..7 1170s # Start of data-output-stream tests 1170s ok 1 /data-output-stream/basic 1170s ok 2 /data-output-stream/write-lines-LF 1170s ok 3 /data-output-stream/write-lines-CR 1170s ok 4 /data-output-stream/write-lines-CR-LF 1170s ok 5 /data-output-stream/write-int 1170s ok 6 /data-output-stream/seek 1170s ok 7 /data-output-stream/truncate 1170s # End of data-output-stream tests 1170s TAP version 14 1170s # random seed: R02Sf3f81f9ce87ef274a952255465580d82 1170s 1..6 1170s # Start of thread_pool tests 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1170s ok 1 /thread_pool/pool_fail 1170s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1170s ok 2 /thread_pool/shared 1170s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1170s ok 3 /thread_pool/exclusive 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1170s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1170s ok 4 /thread_pool/create_shared_after_exclusive 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1170s ok - glib/thread-pool.test 1170s # Running test: glib/g-file.test 1170s ok - glib/g-file.test 1170s # Running test: glib/gnotification.test 1170s ok 5 /thread_pool/create_full 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1170s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1170s ok 6 /thread_pool/create_exclusive_after_shared 1170s # End of thread_pool tests 1170s TAP version 14 1170s # random seed: R02S2523d1c7a13a1312f61a127b627fa203 1170s 1..8 1170s # Start of g-file tests 1170s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1170s ok 1 /g-file/test_g_file_new_null 1170s ok 2 /g-file/test_g_file_new_for_path 1170s ok 3 /g-file/test_g_file_new_for_uri 1170s ok 4 /g-file/test_g_file_dup 1170s ok 5 /g-file/test_g_file_get_parse_name_utf8 1170s file:///tmp/test-tmp-glib_g-file.test-RPZBK3 1170s file:///tmp 1170s file:///tmp 1170s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1170s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1170s ok 6 /g-file/test_g_file_new_for_commandline_arg 1170s /dir1 /dir1/dir2/dir3/ 1170s /dir1/ /dir1/dir2/dir3/ 1170s /dir1 /dir1/dir2/dir3 1170s /dir1/ /dir1/dir2/dir3 1170s /tmp/ /something/ 1170s /dir1/dir2 /dir1/ 1170s //dir1/new //dir1/new/dir2/dir3 1170s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1170s file:///dir1 file:///dir1/dir2/dir3/ 1170s file:///dir1/ file:///dir1/dir2/dir3/ 1170s file:///dir1 file:///dir1/dir2/dir3 1170s file:///dir1/ file:///dir1/dir2/dir3 1170s file:///tmp/ file:///something/ 1170s file:///dir1/dir2 file:///dir1/ 1170s file:////dir1/new file:////dir1/new/dir2/dir3 1170s 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 1170s ok 7 /g-file/test_g_file_has_prefix 1170s ok 8 /g-file/test_g_file_get_parent_child 1170s # End of g-file tests 1170s TAP version 14 1170s # random seed: R02S937ce6b7457de7cf1312f0618feb6f6e 1170s 1..2 1170s # Start of gnotification tests 1170s ok 1 /gnotification/basic 1170s ok 2 /gnotification/properties 1170s ok - glib/gnotification.test 1170s # Running test: glib/autoptr-girepository.test 1170s # End of gnotification tests 1170s TAP version 14 1170s # random seed: R02S287eaaaea094b0b7e37b748eb3e78043 1170s 1..24 1170s # Start of autoptr tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/repository/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 1 /autoptr/repository 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/typelib/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 2 /autoptr/typelib 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/base-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 3 /autoptr/base-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/arg-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 4 /autoptr/arg-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/callable-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 5 /autoptr/callable-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/callback-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 6 /autoptr/callback-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/constant-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 7 /autoptr/constant-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/enum-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 8 /autoptr/enum-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/field-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 9 /autoptr/field-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/flags-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 10 /autoptr/flags-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/function-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 11 /autoptr/function-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/interface-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 12 /autoptr/interface-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/object-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 13 /autoptr/object-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/system-data2 1170s ok - glib/autoptr-girepository.test 1170s # Running test: glib/option-context.test 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/property-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 14 /autoptr/property-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/registered-type-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 15 /autoptr/registered-type-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/signal-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 16 /autoptr/signal-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/struct-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 17 /autoptr/struct-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/type-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 18 /autoptr/type-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/union-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 19 /autoptr/union-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/value-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 20 /autoptr/value-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/autoptr/vfunc-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 21 /autoptr/vfunc-info 1170s # End of autoptr tests 1170s # Start of auto tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/auto/arg-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 22 /auto/arg-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/auto/type-info/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 23 /auto/type-info 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BECCK3/auto/function-invoker/.dirs/runtime 1170s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1170s ok 24 /auto/function-invoker 1170s # End of auto tests 1170s TAP version 14 1170s # random seed: R02S68a986899038203fe548d8be5f537bdc 1170s 1..61 1170s # Start of option tests 1170s ok 1 /option/basic 1170s ok 2 /option/translate 1170s ok 3 /option/strict-posix 1170s # Testing command: program --double abc 1170s # Testing command: program --double 2e309 1170s # Testing command: program --int abc 1170s # Testing command: program --int 99999999999999999999999999999999999 1170s # Testing command: program --int64 abc 1170s # Testing command: program --int64 99999999999999999999999999999999999 1170s ok 4 /option/parsing-errors 1170s # Start of help tests 1170s ok 5 /option/help/options 1170s ok 6 /option/help/no-options 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1170s ok 7 /option/help/no-help-options 1170s # Usage: 1170s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1170s # 1170s # Summary 1170s # 1170s # Help Options: 1170s # -h, --help Show help options 1170s # 1170s # Application Options: 1170s # -t, --test=Argument to use in test (deprecated) Test tests 1170s # --test2 Tests also 1170s # 1170s # Description 1170s # 1170s ok 8 /option/help/deprecated 1170s ok 9 /option/help/main-get_help-format 1170s ok 10 /option/help/group-get_help-format 1170s # End of help tests 1170s # Start of group tests 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1170s ok 11 /option/group/captions 1170s ok - glib/option-context.test 1170s ok 12 /option/group/main 1170s ok 13 /option/group/error-hook 1170s ok 14 /option/group/parse 1170s # Start of captions tests 1170s # Start of subprocess tests 1170s # End of subprocess tests 1170s # End of captions tests 1170s # End of group tests 1170s # Start of restoration tests 1170s ok 15 /option/restoration/int 1170s ok 16 /option/restoration/string 1170s ok 17 /option/restoration/boolean 1170s # End of restoration tests 1170s # Start of arg tests 1170s ok 18 /option/arg/reverse-string 1170s ok 19 /option/arg/optional-int 1170s # Start of repetition tests 1170s ok 20 /option/arg/repetition/int 1170s ok 21 /option/arg/repetition/string 1170s ok 22 /option/arg/repetition/filename 1170s ok 23 /option/arg/repetition/double 1170s ok 24 /option/arg/repetition/locale 1170s ok 25 /option/arg/repetition/int64 1170s # End of repetition tests 1170s # Start of array tests 1170s ok 26 /option/arg/array/string 1170s # End of array tests 1170s # Start of callback tests 1170s ok 27 /option/arg/callback/string 1170s ok 28 /option/arg/callback/count 1170s ok 29 /option/arg/callback/optional1 1170s ok 30 /option/arg/callback/optional2 1170s ok 31 /option/arg/callback/optional3 1170s ok 32 /option/arg/callback/optional4 1170s ok 33 /option/arg/callback/optional5 1170s ok 34 /option/arg/callback/optional6 1170s ok 35 /option/arg/callback/optional7 1170s ok 36 /option/arg/callback/optional8 1170s # End of callback tests 1170s # Start of remaining tests 1170s ok 37 /option/arg/remaining/callback 1170s ok 38 /option/arg/remaining/callback-false 1170s ok 39 /option/arg/remaining/non-option 1170s ok 40 /option/arg/remaining/separator 1170s ok 41 /option/arg/remaining/array 1170s # End of remaining tests 1170s # Start of ignore tests 1170s ok 42 /option/arg/ignore/long 1170s ok 43 /option/arg/ignore/short 1170s ok 44 /option/arg/ignore/arg 1170s # End of ignore tests 1170s # Start of rest tests 1170s ok 45 /option/arg/rest/non-option 1170s ok 46 /option/arg/rest/separator1 1170s ok 47 /option/arg/rest/separator2 1170s ok 48 /option/arg/rest/separator3 1170s ok 49 /option/arg/rest/separator4 1170s ok 50 /option/arg/rest/separator5 1170s # End of rest tests 1170s # End of arg tests 1170s # Start of context tests 1170s ok 51 /option/context/add 1170s ok 52 /option/context/empty2 1170s ok 53 /option/context/empty3 1170s # End of context tests 1170s # Start of bug tests 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1170s ok 54 /option/bug/unknown-short 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1170s ok 55 /option/bug/lonely-dash 1170s ok 56 /option/bug/triple-dash 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1170s ok 57 /option/bug/missing-arg 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1170s ok 58 /option/bug/dash-arg 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1170s ok 59 /option/bug/short-remaining 1170s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1170s ok 60 /option/bug/double-free 1170s ok 61 /option/bug/double-zero 1170s # End of bug tests 1170s # End of option tests 1170s # Running test: glib/cxx-03.test 1170s TAP version 14 1170s # random seed: R02S858914fbb131f5edffe25cce22c00307 1170s 1..2 1170s # Start of gtask tests 1170s # 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. 1170s ok 1 /gtask/name 1170s # Start of name tests 1170s ok - glib/cxx-03.test 1170s # 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. 1170s ok 2 /gtask/name/macro-wrapper 1170s # End of name tests 1170s # End of gtask tests 1170s # Running test: glib/gdbus-connection-flush.test 1170s TAP version 14 1170s # random seed: R02Sfbd09c8c682a279620c4f489a14b8f65 1170s 1..2 1170s # Start of gdbus tests 1170s # Start of connection tests 1170s # Start of flush tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/busy/.dirs/runtime 1170s ok 1 /gdbus/connection/flush/busy 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_OYMFK3/gdbus/connection/flush/idle/.dirs/runtime 1170s ok 2 /gdbus/connection/flush/idle 1170s # End of flush tests 1170s # End of connection tests 1170s # End of gdbus tests 1170s ok - glib/gdbus-connection-flush.test 1170s # Running test: glib/gdbus-export.test 1170s TAP version 14 1170s # random seed: R02S7ee45d42abea73badab457906d8606c4 1170s 1..7 1170s # Start of gdbus tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration/.dirs/runtime 1170s ok 1 /gdbus/object-registration 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures/.dirs/runtime 1170s ok 2 /gdbus/object-registration-with-closures 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/object-registration-with-closures2/.dirs/runtime 1170s ok 3 /gdbus/object-registration-with-closures2 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/registered-interfaces/.dirs/runtime 1170s ok 4 /gdbus/registered-interfaces 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/async-properties/.dirs/runtime 1170s ok 5 /gdbus/async-properties 1170s # Start of threaded-unregistration tests 1170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/home 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/cache 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/system-config2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/config 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/system-data2 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/data 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/state 1170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/object/.dirs/runtime 1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1170s # /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 1171s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1171s # slow test /gdbus/threaded-unregistration/object executed in 1.09 secs 1171s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/home 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/cache 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/config 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/data 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/state 1171s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_03OEK3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1171s # /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 1172s # Executing: glib/gdbus-export.test 1172s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1172s # slow test /gdbus/threaded-unregistration/subtree executed in 1.05 secs 1172s # End of threaded-unregistration tests 1172s # End of gdbus tests 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s ok - glib/gdbus-export.test 1172s # Running test: glib/gdbus-message.test 1172s TAP version 14 1172s # random seed: R02S1ab5ef1cf660a485d70837fcd09eeeb9 1172s 1..3 1172s # Start of gdbus tests 1172s # Start of message tests 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_F1IJK3/gdbus/message/lock/.dirs/runtime 1172s ok 1 /gdbus/message/lock 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_F1IJK3/gdbus/message/copy/.dirs/runtime 1172s ok 2 /gdbus/message/copy 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_F1IJK3/gdbus/message/bytes-needed/.dirs/runtime 1172s # Vector: 0 1172s # Vector: 1 1172s # Vector: 2 1172s # Vector: 3 1172s # Vector: 4 1172s # Vector: 5 1172s ok 3 /gdbus/message/bytes-needed 1172s # End of message tests 1172s # End of gdbus tests 1172s ok - glib/gdbus-message.test 1172s # Running test: glib/callable-info.test 1172s TAP version 14 1172s # random seed: R02S57ebf64db3d51973ad1e919005bd285b 1172s 1..7 1172s # Start of callable-info tests 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/sync-function/.dirs/runtime 1172s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1172s ok 1 /callable-info/sync-function 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/async-function/.dirs/runtime 1172s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1172s ok 2 /callable-info/async-function 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/is-method/.dirs/runtime 1172s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1172s ok 3 /callable-info/is-method 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/static-method/.dirs/runtime 1173s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1173s ok 4 /callable-info/static-method 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/static-vfunc/.dirs/runtime 1173s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1173s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/native-address/.dirs/runtime 1173s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1173s ok 6 /callable-info/native-address 1173s # Start of platform tests 1173s # Start of unix tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_7VFJK3/callable-info/platform/unix/is-method/.dirs/runtime 1173s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1173s # Checking DesktopAppInfo in Gio 1173s # Checking DesktopAppInfo in GioUnix 1173s ok 7 /callable-info/platform/unix/is-method 1173s # End of unix tests 1173s # End of platform tests 1173s # End of callable-info tests 1173s TAP version 14 1173s # random seed: R02Sd37339633b64ceb89a735aced2eb561e 1173s 1..5 1173s # Start of gio tests 1173s # Start of contexts tests 1173s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1173s ok 1 /gio/contexts/thread-independence 1173s ok 2 /gio/contexts/context-independence 1173s # Start of context-specific tests 1173s ok 3 /gio/contexts/context-specific/identity 1173s ok - glib/callable-info.test 1173s # Running test: glib/contexts.test 1173s ok 4 /gio/contexts/context-specific/emit 1173s ok 5 /gio/contexts/context-specific/emit-and-unref 1173s # End of context-specific tests 1173s # End of contexts tests 1173s # End of gio tests 1173s ok - glib/contexts.test 1173s # Running test: glib/basic-signals.test 1173s TAP version 14 1173s # random seed: R02S863c81e9fafac1768c86d3a33f6157bc 1173s 1..1 1173s # Start of gobject tests 1173s ok 1 /gobject/basic-signals 1173s # End of gobject tests 1173s ok - glib/basic-signals.test 1173s # Running test: glib/unicode.test 1173s TAP version 14 1173s # random seed: R02Sd14e53b68669d89819bd2ea3c6032691 1173s 1..41 1173s # Start of unicode tests 1173s ok 1 /unicode/alnum 1173s ok 2 /unicode/alpha 1173s ok 3 /unicode/break-type 1173s ok 4 /unicode/canonical-decomposition 1173s ok 5 /unicode/casefold 1173s # Converting 'i' => 'İ' (line 6) 1173s # Converting 'I' => 'I' (line 7) 1173s # Converting 'İ' => 'İ' (line 8) 1173s # Converting 'i' => 'İ' (line 9) 1173s # Converting 'I' => 'I' (line 10) 1173s # Converting 'İ' => 'İ' (line 11) 1173s # Converting 'ᾁ' => 'ἉΙ' (line 13) 1173s # Converting 'ᾁ' => 'ἉΙ' (line 14) 1173s # Converting 'ΜΆΙΟΣ ' => 'ΜΆΙΟΣ ' (line 16) 1173s # Converting 'ΜΆΙΟΣ' => 'ΜΆΙΟΣ' (line 17) 1173s # Converting 'ΣΙΓΜΑ' => 'ΣΙΓΜΑ' (line 18) 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Cannot set locale to lt_LT, skipping 1173s # Converting 'iė' => 'IE' (line 32) 1173s # Converting 'iė' => 'IE' (line 33) 1173s # Converting 'Ì' => 'Ì' (line 34) 1173s # Converting 'Í' => 'Í' (line 35) 1173s # Converting 'Ĩ' => 'Ĩ' (line 36) 1173s # Converting 'Í' => 'Í' (line 37) 1173s # Converting 'Ì' => 'Ì' (line 38) 1173s # Converting 'Ĩ' => 'Ĩ' (line 39) 1173s # Converting 'Į́' => 'Į́' (line 40) 1173s # Converting 'J́' => 'J́' (line 41) 1173s # Converting 'Į́' => 'Į́' (line 42) 1173s # Converting 'affl' => 'AFFL' (line 44) 1173s # Converting 'A' => 'A' (line 48) 1173s # Converting 'B' => 'B' (line 49) 1173s # Converting 'C' => 'C' (line 50) 1173s # Converting 'D' => 'D' (line 51) 1173s # Converting 'E' => 'E' (line 52) 1173s # Converting 'F' => 'F' (line 53) 1173s # Converting 'G' => 'G' (line 54) 1173s # Converting 'H' => 'H' (line 55) 1173s # Converting 'I' => 'I' (line 56) 1173s # Converting 'J' => 'J' (line 57) 1173s # Converting 'K' => 'K' (line 58) 1173s # Converting 'L' => 'L' (line 59) 1173s # Converting 'M' => 'M' (line 60) 1173s # Converting 'N' => 'N' (line 61) 1173s # Converting 'O' => 'O' (line 62) 1173s # Converting 'P' => 'P' (line 63) 1173s # Converting 'Q' => 'Q' (line 64) 1173s # Converting 'R' => 'R' (line 65) 1173s # Converting 'S' => 'S' (line 66) 1173s # Converting 'T' => 'T' (line 67) 1173s # Converting 'U' => 'U' (line 68) 1173s # Converting 'V' => 'V' (line 69) 1173s # Converting 'W' => 'W' (line 70) 1173s # Converting 'X' => 'X' (line 71) 1173s # Converting 'Y' => 'Y' (line 72) 1173s # Converting 'Z' => 'Z' (line 73) 1173s # Converting 'a' => 'A' (line 74) 1173s # Converting 'b' => 'B' (line 75) 1173s # Converting 'c' => 'C' (line 76) 1173s # Converting 'd' => 'D' (line 77) 1173s # Converting 'e' => 'E' (line 78) 1173s # Converting 'f' => 'F' (line 79) 1173s # Converting 'g' => 'G' (line 80) 1173s # Converting 'h' => 'H' (line 81) 1173s # Converting 'i' => 'I' (line 82) 1173s # Converting 'j' => 'J' (line 83) 1173s # Converting 'k' => 'K' (line 84) 1173s # Converting 'l' => 'L' (line 85) 1173s # Converting 'm' => 'M' (line 86) 1173s # Converting 'n' => 'N' (line 87) 1173s # Converting 'o' => 'O' (line 88) 1173s # Converting 'p' => 'P' (line 89) 1173s # Converting 'q' => 'Q' (line 90) 1173s # Converting 'r' => 'R' (line 91) 1173s # Converting 's' => 'S' (line 92) 1173s # Converting 't' => 'T' (line 93) 1173s # Converting 'u' => 'U' (line 94) 1173s # Converting 'v' => 'V' (line 95) 1173s # Converting 'w' => 'W' (line 96) 1173s # Converting 'x' => 'X' (line 97) 1173s # Converting 'y' => 'Y' (line 98) 1173s # Converting 'z' => 'Z' (line 99) 1173s # Converting 'µ' => 'Μ' (line 100) 1173s # Converting 'À' => 'À' (line 101) 1173s # Converting 'Á' => 'Á' (line 102) 1173s # Converting 'Â' => 'Â' (line 103) 1173s # Converting 'Ã' => 'Ã' (line 104) 1173s # Converting 'Ä' => 'Ä' (line 105) 1173s # Converting 'Å' => 'Å' (line 106) 1173s # Converting 'Æ' => 'Æ' (line 107) 1173s # Converting 'Ç' => 'Ç' (line 108) 1173s # Converting 'È' => 'È' (line 109) 1173s # Converting 'É' => 'É' (line 110) 1173s # Converting 'Ê' => 'Ê' (line 111) 1173s # Converting 'Ë' => 'Ë' (line 112) 1173s # Converting 'Ì' => 'Ì' (line 113) 1173s # Converting 'Í' => 'Í' (line 114) 1173s # Converting 'Î' => 'Î' (line 115) 1173s # Converting 'Ï' => 'Ï' (line 116) 1173s # Converting 'Ð' => 'Ð' (line 117) 1173s # Converting 'Ñ' => 'Ñ' (line 118) 1173s # Converting 'Ò' => 'Ò' (line 119) 1173s # Converting 'Ó' => 'Ó' (line 120) 1173s # Converting 'Ô' => 'Ô' (line 121) 1173s # Converting 'Õ' => 'Õ' (line 122) 1173s # Converting 'Ö' => 'Ö' (line 123) 1173s # Converting 'Ø' => 'Ø' (line 124) 1173s # Converting 'Ù' => 'Ù' (line 125) 1173s # Converting 'Ú' => 'Ú' (line 126) 1173s # Converting 'Û' => 'Û' (line 127) 1173s # Converting 'Ü' => 'Ü' (line 128) 1173s # Converting 'Ý' => 'Ý' (line 129) 1173s # Converting 'Þ' => 'Þ' (line 130) 1173s # Converting 'ß' => 'SS' (line 131) 1173s # Converting 'à' => 'À' (line 132) 1173s # Converting 'á' => 'Á' (line 133) 1173s # Converting 'â' => 'Â' (line 134) 1173s # Converting 'ã' => 'Ã' (line 135) 1173s # Converting 'ä' => 'Ä' (line 136) 1173s # Converting 'å' => 'Å' (line 137) 1173s # Converting 'æ' => 'Æ' (line 138) 1173s # Converting 'ç' => 'Ç' (line 139) 1173s # Converting 'è' => 'È' (line 140) 1173s # Converting 'é' => 'É' (line 141) 1173s # Converting 'ê' => 'Ê' (line 142) 1173s # Converting 'ë' => 'Ë' (line 143) 1173s # Converting 'ì' => 'Ì' (line 144) 1173s # Converting 'í' => 'Í' (line 145) 1173s # Converting 'î' => 'Î' (line 146) 1173s # Converting 'ï' => 'Ï' (line 147) 1173s # Converting 'ð' => 'Ð' (line 148) 1173s # Converting 'ñ' => 'Ñ' (line 149) 1173s # Converting 'ò' => 'Ò' (line 150) 1173s # Converting 'ó' => 'Ó' (line 151) 1173s # Converting 'ô' => 'Ô' (line 152) 1173s # Converting 'õ' => 'Õ' (line 153) 1173s # Converting 'ö' => 'Ö' (line 154) 1173s # Converting 'ø' => 'Ø' (line 155) 1173s # Converting 'ù' => 'Ù' (line 156) 1173s # Converting 'ú' => 'Ú' (line 157) 1173s # Converting 'û' => 'Û' (line 158) 1173s # Converting 'ü' => 'Ü' (line 159) 1173s # Converting 'ý' => 'Ý' (line 160) 1173s # Converting 'þ' => 'Þ' (line 161) 1173s # Converting 'ÿ' => 'Ÿ' (line 162) 1173s # Converting 'Ā' => 'Ā' (line 163) 1173s # Converting 'ā' => 'Ā' (line 164) 1173s # Converting 'Ă' => 'Ă' (line 165) 1173s # Converting 'ă' => 'Ă' (line 166) 1173s # Converting 'Ą' => 'Ą' (line 167) 1173s # Converting 'ą' => 'Ą' (line 168) 1173s # Converting 'Ć' => 'Ć' (line 169) 1173s # Converting 'ć' => 'Ć' (line 170) 1173s # Converting 'Ĉ' => 'Ĉ' (line 171) 1173s # Converting 'ĉ' => 'Ĉ' (line 172) 1173s # Converting 'Ċ' => 'Ċ' (line 173) 1173s # Converting 'ċ' => 'Ċ' (line 174) 1173s # Converting 'Č' => 'Č' (line 175) 1173s # Converting 'č' => 'Č' (line 176) 1173s # Converting 'Ď' => 'Ď' (line 177) 1173s # Converting 'ď' => 'Ď' (line 178) 1173s # Converting 'Đ' => 'Đ' (line 179) 1173s # Converting 'đ' => 'Đ' (line 180) 1173s # Converting 'Ē' => 'Ē' (line 181) 1173s # Converting 'ē' => 'Ē' (line 182) 1173s # Converting 'Ĕ' => 'Ĕ' (line 183) 1173s # Converting 'ĕ' => 'Ĕ' (line 184) 1173s # Converting 'Ė' => 'Ė' (line 185) 1173s # Converting 'ė' => 'Ė' (line 186) 1173s # Converting 'Ę' => 'Ę' (line 187) 1173s # Converting 'ę' => 'Ę' (line 188) 1173s # Converting 'Ě' => 'Ě' (line 189) 1173s # Converting 'ě' => 'Ě' (line 190) 1173s # Converting 'Ĝ' => 'Ĝ' (line 191) 1173s # Converting 'ĝ' => 'Ĝ' (line 192) 1173s # Converting 'Ğ' => 'Ğ' (line 193) 1173s # Converting 'ğ' => 'Ğ' (line 194) 1173s # Converting 'Ġ' => 'Ġ' (line 195) 1173s # Converting 'ġ' => 'Ġ' (line 196) 1173s # Converting 'Ģ' => 'Ģ' (line 197) 1173s # Converting 'ģ' => 'Ģ' (line 198) 1173s # Converting 'Ĥ' => 'Ĥ' (line 199) 1173s # Converting 'ĥ' => 'Ĥ' (line 200) 1173s # Converting 'Ħ' => 'Ħ' (line 201) 1173s # Converting 'ħ' => 'Ħ' (line 202) 1173s # Converting 'Ĩ' => 'Ĩ' (line 203) 1173s # Converting 'ĩ' => 'Ĩ' (line 204) 1173s # Converting 'Ī' => 'Ī' (line 205) 1173s # Converting 'ī' => 'Ī' (line 206) 1173s # Converting 'Ĭ' => 'Ĭ' (line 207) 1173s # Converting 'ĭ' => 'Ĭ' (line 208) 1173s # Converting 'Į' => 'Į' (line 209) 1173s # Converting 'į' => 'Į' (line 210) 1173s # Converting 'İ' => 'İ' (line 211) 1173s # Converting 'ı' => 'I' (line 212) 1173s # Converting 'IJ' => 'IJ' (line 213) 1173s # Converting 'ij' => 'IJ' (line 214) 1173s # Converting 'Ĵ' => 'Ĵ' (line 215) 1173s # Converting 'ĵ' => 'Ĵ' (line 216) 1173s # Converting 'Ķ' => 'Ķ' (line 217) 1173s # Converting 'ķ' => 'Ķ' (line 218) 1173s # Converting 'ĸ' => 'ĸ' (line 219) 1173s # Converting 'Ĺ' => 'Ĺ' (line 220) 1173s # Converting 'ĺ' => 'Ĺ' (line 221) 1173s # Converting 'Ļ' => 'Ļ' (line 222) 1173s # Converting 'ļ' => 'Ļ' (line 223) 1173s # Converting 'Ľ' => 'Ľ' (line 224) 1173s # Converting 'ľ' => 'Ľ' (line 225) 1173s # Converting 'Ŀ' => 'Ŀ' (line 226) 1173s # Converting 'ŀ' => 'Ŀ' (line 227) 1173s # Converting 'Ł' => 'Ł' (line 228) 1173s # Converting 'ł' => 'Ł' (line 229) 1173s # Converting 'Ń' => 'Ń' (line 230) 1173s # Converting 'ń' => 'Ń' (line 231) 1173s # Converting 'Ņ' => 'Ņ' (line 232) 1173s # Converting 'ņ' => 'Ņ' (line 233) 1173s # Converting 'Ň' => 'Ň' (line 234) 1173s # Converting 'ň' => 'Ň' (line 235) 1173s # Converting 'ʼn' => 'ʼN' (line 236) 1173s # Converting 'Ŋ' => 'Ŋ' (line 237) 1173s # Converting 'ŋ' => 'Ŋ' (line 238) 1173s # Converting 'Ō' => 'Ō' (line 239) 1173s # Converting 'ō' => 'Ō' (line 240) 1173s # Converting 'Ŏ' => 'Ŏ' (line 241) 1173s # Converting 'ŏ' => 'Ŏ' (line 242) 1173s # Converting 'Ő' => 'Ő' (line 243) 1173s # Converting 'ő' => 'Ő' (line 244) 1173s # Converting 'Œ' => 'Œ' (line 245) 1173s # Converting 'œ' => 'Œ' (line 246) 1173s # Converting 'Ŕ' => 'Ŕ' (line 247) 1173s # Converting 'ŕ' => 'Ŕ' (line 248) 1173s # Converting 'Ŗ' => 'Ŗ' (line 249) 1173s # Converting 'ŗ' => 'Ŗ' (line 250) 1173s # Converting 'Ř' => 'Ř' (line 251) 1173s # Converting 'ř' => 'Ř' (line 252) 1173s # Converting 'Ś' => 'Ś' (line 253) 1173s # Converting 'ś' => 'Ś' (line 254) 1173s # Converting 'Ŝ' => 'Ŝ' (line 255) 1173s # Converting 'ŝ' => 'Ŝ' (line 256) 1173s # Converting 'Ş' => 'Ş' (line 257) 1173s # Converting 'ş' => 'Ş' (line 258) 1173s # Converting 'Š' => 'Š' (line 259) 1173s # Converting 'š' => 'Š' (line 260) 1173s # Converting 'Ţ' => 'Ţ' (line 261) 1173s # Converting 'ţ' => 'Ţ' (line 262) 1173s # Converting 'Ť' => 'Ť' (line 263) 1173s # Converting 'ť' => 'Ť' (line 264) 1173s # Converting 'Ŧ' => 'Ŧ' (line 265) 1173s # Converting 'ŧ' => 'Ŧ' (line 266) 1173s # Converting 'Ũ' => 'Ũ' (line 267) 1173s # Converting 'ũ' => 'Ũ' (line 268) 1173s # Converting 'Ū' => 'Ū' (line 269) 1173s # Converting 'ū' => 'Ū' (line 270) 1173s # Converting 'Ŭ' => 'Ŭ' (line 271) 1173s # Converting 'ŭ' => 'Ŭ' (line 272) 1173s # Converting 'Ů' => 'Ů' (line 273) 1173s # Converting 'ů' => 'Ů' (line 274) 1173s # Converting 'Ű' => 'Ű' (line 275) 1173s # Converting 'ű' => 'Ű' (line 276) 1173s # Converting 'Ų' => 'Ų' (line 277) 1173s # Converting 'ų' => 'Ų' (line 278) 1173s # Converting 'Ŵ' => 'Ŵ' (line 279) 1173s # Converting 'ŵ' => 'Ŵ' (line 280) 1173s # Converting 'Ŷ' => 'Ŷ' (line 281) 1173s # Converting 'ŷ' => 'Ŷ' (line 282) 1173s # Converting 'Ÿ' => 'Ÿ' (line 283) 1173s # Converting 'Ź' => 'Ź' (line 284) 1173s # Converting 'ź' => 'Ź' (line 285) 1173s # Converting 'Ż' => 'Ż' (line 286) 1173s # Converting 'ż' => 'Ż' (line 287) 1173s # Converting 'Ž' => 'Ž' (line 288) 1173s # Converting 'ž' => 'Ž' (line 289) 1173s # Converting 'ſ' => 'S' (line 290) 1173s # Converting 'ƀ' => 'Ƀ' (line 291) 1173s # Converting 'Ɓ' => 'Ɓ' (line 292) 1173s # Converting 'Ƃ' => 'Ƃ' (line 293) 1173s # Converting 'ƃ' => 'Ƃ' (line 294) 1173s # Converting 'Ƅ' => 'Ƅ' (line 295) 1173s # Converting 'ƅ' => 'Ƅ' (line 296) 1173s # Converting 'Ɔ' => 'Ɔ' (line 297) 1173s # Converting 'Ƈ' => 'Ƈ' (line 298) 1173s # Converting 'ƈ' => 'Ƈ' (line 299) 1173s # Converting 'Ɖ' => 'Ɖ' (line 300) 1173s # Converting 'Ɗ' => 'Ɗ' (line 301) 1173s # Converting 'Ƌ' => 'Ƌ' (line 302) 1173s # Converting 'ƌ' => 'Ƌ' (line 303) 1173s # Converting 'ƍ' => 'ƍ' (line 304) 1173s # Converting 'Ǝ' => 'Ǝ' (line 305) 1173s # Converting 'Ə' => 'Ə' (line 306) 1173s # Converting 'Ɛ' => 'Ɛ' (line 307) 1173s # Converting 'Ƒ' => 'Ƒ' (line 308) 1173s # Converting 'ƒ' => 'Ƒ' (line 309) 1173s # Converting 'Ɠ' => 'Ɠ' (line 310) 1173s # Converting 'Ɣ' => 'Ɣ' (line 311) 1173s # Converting 'ƕ' => 'Ƕ' (line 312) 1173s # Converting 'Ɩ' => 'Ɩ' (line 313) 1173s # Converting 'Ɨ' => 'Ɨ' (line 314) 1173s # Converting 'Ƙ' => 'Ƙ' (line 315) 1173s # Converting 'ƙ' => 'Ƙ' (line 316) 1173s # Converting 'ƚ' => 'Ƚ' (line 317) 1173s # Converting 'ƛ' => 'Ƛ' (line 318) 1173s # Converting 'Ɯ' => 'Ɯ' (line 319) 1173s # Converting 'Ɲ' => 'Ɲ' (line 320) 1173s # Converting 'ƞ' => 'Ƞ' (line 321) 1173s # Converting 'Ɵ' => 'Ɵ' (line 322) 1173s # Converting 'Ơ' => 'Ơ' (line 323) 1173s # Converting 'ơ' => 'Ơ' (line 324) 1173s # Converting 'Ƣ' => 'Ƣ' (line 325) 1173s # Converting 'ƣ' => 'Ƣ' (line 326) 1173s # Converting 'Ƥ' => 'Ƥ' (line 327) 1173s # Converting 'ƥ' => 'Ƥ' (line 328) 1173s # Converting 'Ʀ' => 'Ʀ' (line 329) 1173s # Converting 'Ƨ' => 'Ƨ' (line 330) 1173s # Converting 'ƨ' => 'Ƨ' (line 331) 1173s # Converting 'Ʃ' => 'Ʃ' (line 332) 1173s # Converting 'ƪ' => 'ƪ' (line 333) 1173s # Converting 'ƫ' => 'ƫ' (line 334) 1173s # Converting 'Ƭ' => 'Ƭ' (line 335) 1173s # Converting 'ƭ' => 'Ƭ' (line 336) 1173s # Converting 'Ʈ' => 'Ʈ' (line 337) 1173s # Converting 'Ư' => 'Ư' (line 338) 1173s # Converting 'ư' => 'Ư' (line 339) 1173s # Converting 'Ʊ' => 'Ʊ' (line 340) 1173s # Converting 'Ʋ' => 'Ʋ' (line 341) 1173s # Converting 'Ƴ' => 'Ƴ' (line 342) 1173s # Converting 'ƴ' => 'Ƴ' (line 343) 1173s # Converting 'Ƶ' => 'Ƶ' (line 344) 1173s # Converting 'ƶ' => 'Ƶ' (line 345) 1173s # Converting 'Ʒ' => 'Ʒ' (line 346) 1173s # Converting 'Ƹ' => 'Ƹ' (line 347) 1173s # Converting 'ƹ' => 'Ƹ' (line 348) 1173s # Converting 'ƺ' => 'ƺ' (line 349) 1173s # Converting 'Ƽ' => 'Ƽ' (line 350) 1173s # Converting 'ƽ' => 'Ƽ' (line 351) 1173s # Converting 'ƾ' => 'ƾ' (line 352) 1173s # Converting 'ƿ' => 'Ƿ' (line 353) 1173s # Converting 'DŽ' => 'DŽ' (line 354) 1173s # Converting 'Dž' => 'DŽ' (line 355) 1173s # Converting 'dž' => 'DŽ' (line 356) 1173s # Converting 'LJ' => 'LJ' (line 357) 1173s # Converting 'Lj' => 'LJ' (line 358) 1173s # Converting 'lj' => 'LJ' (line 359) 1173s # Converting 'NJ' => 'NJ' (line 360) 1173s # Converting 'Nj' => 'NJ' (line 361) 1173s # Converting 'nj' => 'NJ' (line 362) 1173s # Converting 'Ǎ' => 'Ǎ' (line 363) 1173s # Converting 'ǎ' => 'Ǎ' (line 364) 1173s # Converting 'Ǐ' => 'Ǐ' (line 365) 1173s # Converting 'ǐ' => 'Ǐ' (line 366) 1173s # Converting 'Ǒ' => 'Ǒ' (line 367) 1173s # Converting 'ǒ' => 'Ǒ' (line 368) 1173s # Converting 'Ǔ' => 'Ǔ' (line 369) 1173s # Converting 'ǔ' => 'Ǔ' (line 370) 1173s # Converting 'Ǖ' => 'Ǖ' (line 371) 1173s # Converting 'ǖ' => 'Ǖ' (line 372) 1173s # Converting 'Ǘ' => 'Ǘ' (line 373) 1173s # Converting 'ǘ' => 'Ǘ' (line 374) 1173s # Converting 'Ǚ' => 'Ǚ' (line 375) 1173s # Converting 'ǚ' => 'Ǚ' (line 376) 1173s # Converting 'Ǜ' => 'Ǜ' (line 377) 1173s # Converting 'ǜ' => 'Ǜ' (line 378) 1173s # Converting 'ǝ' => 'Ǝ' (line 379) 1173s # Converting 'Ǟ' => 'Ǟ' (line 380) 1173s # Converting 'ǟ' => 'Ǟ' (line 381) 1173s # Converting 'Ǡ' => 'Ǡ' (line 382) 1173s # Converting 'ǡ' => 'Ǡ' (line 383) 1173s # Converting 'Ǣ' => 'Ǣ' (line 384) 1173s # Converting 'ǣ' => 'Ǣ' (line 385) 1173s # Converting 'Ǥ' => 'Ǥ' (line 386) 1173s # Converting 'ǥ' => 'Ǥ' (line 387) 1173s # Converting 'Ǧ' => 'Ǧ' (line 388) 1173s # Converting 'ǧ' => 'Ǧ' (line 389) 1173s # Converting 'Ǩ' => 'Ǩ' (line 390) 1173s # Converting 'ǩ' => 'Ǩ' (line 391) 1173s # Converting 'Ǫ' => 'Ǫ' (line 392) 1173s # Converting 'ǫ' => 'Ǫ' (line 393) 1173s # Converting 'Ǭ' => 'Ǭ' (line 394) 1173s # Converting 'ǭ' => 'Ǭ' (line 395) 1173s # Converting 'Ǯ' => 'Ǯ' (line 396) 1173s # Converting 'ǯ' => 'Ǯ' (line 397) 1173s # Converting 'ǰ' => 'J̌' (line 398) 1173s # Converting 'DZ' => 'DZ' (line 399) 1173s # Converting 'Dz' => 'DZ' (line 400) 1173s # Converting 'dz' => 'DZ' (line 401) 1173s # Converting 'Ǵ' => 'Ǵ' (line 402) 1173s # Converting 'ǵ' => 'Ǵ' (line 403) 1173s # Converting 'Ƕ' => 'Ƕ' (line 404) 1173s # Converting 'Ƿ' => 'Ƿ' (line 405) 1173s # Converting 'Ǹ' => 'Ǹ' (line 406) 1173s # Converting 'ǹ' => 'Ǹ' (line 407) 1173s # Converting 'Ǻ' => 'Ǻ' (line 408) 1173s # Converting 'ǻ' => 'Ǻ' (line 409) 1173s # Converting 'Ǽ' => 'Ǽ' (line 410) 1173s # Converting 'ǽ' => 'Ǽ' (line 411) 1173s # Converting 'Ǿ' => 'Ǿ' (line 412) 1173s # Converting 'ǿ' => 'Ǿ' (line 413) 1173s # Converting 'Ȁ' => 'Ȁ' (line 414) 1173s # Converting 'ȁ' => 'Ȁ' (line 415) 1173s # Converting 'Ȃ' => 'Ȃ' (line 416) 1173s # Converting 'ȃ' => 'Ȃ' (line 417) 1173s # Converting 'Ȅ' => 'Ȅ' (line 418) 1173s # Converting 'ȅ' => 'Ȅ' (line 419) 1173s # Converting 'Ȇ' => 'Ȇ' (line 420) 1173s # Converting 'ȇ' => 'Ȇ' (line 421) 1173s # Converting 'Ȉ' => 'Ȉ' (line 422) 1173s # Converting 'ȉ' => 'Ȉ' (line 423) 1173s # Converting 'Ȋ' => 'Ȋ' (line 424) 1173s # Converting 'ȋ' => 'Ȋ' (line 425) 1173s # Converting 'Ȍ' => 'Ȍ' (line 426) 1173s # Converting 'ȍ' => 'Ȍ' (line 427) 1173s # Converting 'Ȏ' => 'Ȏ' (line 428) 1173s # Converting 'ȏ' => 'Ȏ' (line 429) 1173s # Converting 'Ȑ' => 'Ȑ' (line 430) 1173s # Converting 'ȑ' => 'Ȑ' (line 431) 1173s # Converting 'Ȓ' => 'Ȓ' (line 432) 1173s # Converting 'ȓ' => 'Ȓ' (line 433) 1173s # Converting 'Ȕ' => 'Ȕ' (line 434) 1173s # Converting 'ȕ' => 'Ȕ' (line 435) 1173s # Converting 'Ȗ' => 'Ȗ' (line 436) 1173s # Converting 'ȗ' => 'Ȗ' (line 437) 1173s # Converting 'Ș' => 'Ș' (line 438) 1173s # Converting 'ș' => 'Ș' (line 439) 1173s # Converting 'Ț' => 'Ț' (line 440) 1173s # Converting 'ț' => 'Ț' (line 441) 1173s # Converting 'Ȝ' => 'Ȝ' (line 442) 1173s # Converting 'ȝ' => 'Ȝ' (line 443) 1173s # Converting 'Ȟ' => 'Ȟ' (line 444) 1173s # Converting 'ȟ' => 'Ȟ' (line 445) 1173s # Converting 'Ƞ' => 'Ƞ' (line 446) 1173s # Converting 'ȡ' => 'ȡ' (line 447) 1173s # Converting 'Ȣ' => 'Ȣ' (line 448) 1173s # Converting 'ȣ' => 'Ȣ' (line 449) 1173s # Converting 'Ȥ' => 'Ȥ' (line 450) 1173s # Converting 'ȥ' => 'Ȥ' (line 451) 1173s # Converting 'Ȧ' => 'Ȧ' (line 452) 1173s # Converting 'ȧ' => 'Ȧ' (line 453) 1173s # Converting 'Ȩ' => 'Ȩ' (line 454) 1173s # Converting 'ȩ' => 'Ȩ' (line 455) 1173s # Converting 'Ȫ' => 'Ȫ' (line 456) 1173s # Converting 'ȫ' => 'Ȫ' (line 457) 1173s # Converting 'Ȭ' => 'Ȭ' (line 458) 1173s # Converting 'ȭ' => 'Ȭ' (line 459) 1173s # Converting 'Ȯ' => 'Ȯ' (line 460) 1173s # Converting 'ȯ' => 'Ȯ' (line 461) 1173s # Converting 'Ȱ' => 'Ȱ' (line 462) 1173s # Converting 'ȱ' => 'Ȱ' (line 463) 1173s # Converting 'Ȳ' => 'Ȳ' (line 464) 1173s # Converting 'ȳ' => 'Ȳ' (line 465) 1173s # Converting 'ȴ' => 'ȴ' (line 466) 1173s # Converting 'ȵ' => 'ȵ' (line 467) 1173s # Converting 'ȶ' => 'ȶ' (line 468) 1173s # Converting 'ȷ' => 'ȷ' (line 469) 1173s # Converting 'ȸ' => 'ȸ' (line 470) 1173s # Converting 'ȹ' => 'ȹ' (line 471) 1173s # Converting 'Ⱥ' => 'Ⱥ' (line 472) 1173s # Converting 'Ȼ' => 'Ȼ' (line 473) 1173s # Converting 'ȼ' => 'Ȼ' (line 474) 1173s # Converting 'Ƚ' => 'Ƚ' (line 475) 1173s # Converting 'Ⱦ' => 'Ⱦ' (line 476) 1173s # Converting 'ȿ' => 'Ȿ' (line 477) 1173s # Converting 'ɀ' => 'Ɀ' (line 478) 1173s # Converting 'Ɂ' => 'Ɂ' (line 479) 1173s # Converting 'ɂ' => 'Ɂ' (line 480) 1173s # Converting 'Ƀ' => 'Ƀ' (line 481) 1173s # Converting 'Ʉ' => 'Ʉ' (line 482) 1173s # Converting 'Ʌ' => 'Ʌ' (line 483) 1173s # Converting 'Ɇ' => 'Ɇ' (line 484) 1173s # Converting 'ɇ' => 'Ɇ' (line 485) 1173s # Converting 'Ɉ' => 'Ɉ' (line 486) 1173s # Converting 'ɉ' => 'Ɉ' (line 487) 1173s # Converting 'Ɋ' => 'Ɋ' (line 488) 1173s # Converting 'ɋ' => 'Ɋ' (line 489) 1173s # Converting 'Ɍ' => 'Ɍ' (line 490) 1173s # Converting 'ɍ' => 'Ɍ' (line 491) 1173s # Converting 'Ɏ' => 'Ɏ' (line 492) 1173s # Converting 'ɏ' => 'Ɏ' (line 493) 1173s # Converting 'ɐ' => 'Ɐ' (line 494) 1173s # Converting 'ɑ' => 'Ɑ' (line 495) 1173s # Converting 'ɒ' => 'Ɒ' (line 496) 1173s # Converting 'ɓ' => 'Ɓ' (line 497) 1173s # Converting 'ɔ' => 'Ɔ' (line 498) 1173s # Converting 'ɕ' => 'ɕ' (line 499) 1173s # Converting 'ɖ' => 'Ɖ' (line 500) 1173s # Converting 'ɗ' => 'Ɗ' (line 501) 1173s # Converting 'ɘ' => 'ɘ' (line 502) 1173s # Converting 'ə' => 'Ə' (line 503) 1173s # Converting 'ɚ' => 'ɚ' (line 504) 1173s # Converting 'ɛ' => 'Ɛ' (line 505) 1173s # Converting 'ɜ' => 'Ɜ' (line 506) 1173s # Converting 'ɝ' => 'ɝ' (line 507) 1173s # Converting 'ɞ' => 'ɞ' (line 508) 1173s # Converting 'ɟ' => 'ɟ' (line 509) 1173s # Converting 'ɠ' => 'Ɠ' (line 510) 1173s # Converting 'ɡ' => 'Ɡ' (line 511) 1173s # Converting 'ɢ' => 'ɢ' (line 512) 1173s # Converting 'ɣ' => 'Ɣ' (line 513) 1173s # Converting 'ɤ' => 'Ɤ' (line 514) 1173s # Converting 'ɥ' => 'Ɥ' (line 515) 1173s # Converting 'ɦ' => 'Ɦ' (line 516) 1173s # Converting 'ɧ' => 'ɧ' (line 517) 1173s # Converting 'ɨ' => 'Ɨ' (line 518) 1173s # Converting 'ɩ' => 'Ɩ' (line 519) 1173s # Converting 'ɪ' => 'Ɪ' (line 520) 1173s # Converting 'ɫ' => 'Ɫ' (line 521) 1173s # Converting 'ɬ' => 'Ɬ' (line 522) 1173s # Converting 'ɭ' => 'ɭ' (line 523) 1173s # Converting 'ɮ' => 'ɮ' (line 524) 1173s # Converting 'ɯ' => 'Ɯ' (line 525) 1173s # Converting 'ɰ' => 'ɰ' (line 526) 1173s # Converting 'ɱ' => 'Ɱ' (line 527) 1173s # Converting 'ɲ' => 'Ɲ' (line 528) 1173s # Converting 'ɳ' => 'ɳ' (line 529) 1173s # Converting 'ɴ' => 'ɴ' (line 530) 1173s # Converting 'ɵ' => 'Ɵ' (line 531) 1173s # Converting 'ɶ' => 'ɶ' (line 532) 1173s # Converting 'ɷ' => 'ɷ' (line 533) 1173s # Converting 'ɸ' => 'ɸ' (line 534) 1173s # Converting 'ɹ' => 'ɹ' (line 535) 1173s # Converting 'ɺ' => 'ɺ' (line 536) 1173s # Converting 'ɻ' => 'ɻ' (line 537) 1173s # Converting 'ɼ' => 'ɼ' (line 538) 1173s # Converting 'ɽ' => 'Ɽ' (line 539) 1173s # Converting 'ɾ' => 'ɾ' (line 540) 1173s # Converting 'ɿ' => 'ɿ' (line 541) 1173s # Converting 'ʀ' => 'Ʀ' (line 542) 1173s # Converting 'ʁ' => 'ʁ' (line 543) 1173s # Converting 'ʂ' => 'Ʂ' (line 544) 1173s # Converting 'ʃ' => 'Ʃ' (line 545) 1173s # Converting 'ʄ' => 'ʄ' (line 546) 1173s # Converting 'ʅ' => 'ʅ' (line 547) 1173s # Converting 'ʆ' => 'ʆ' (line 548) 1173s # Converting 'ʇ' => 'Ʇ' (line 549) 1173s # Converting 'ʈ' => 'Ʈ' (line 550) 1173s # Converting 'ʉ' => 'Ʉ' (line 551) 1173s # Converting 'ʊ' => 'Ʊ' (line 552) 1173s # Converting 'ʋ' => 'Ʋ' (line 553) 1173s # Converting 'ʌ' => 'Ʌ' (line 554) 1173s # Converting 'ʍ' => 'ʍ' (line 555) 1173s # Converting 'ʎ' => 'ʎ' (line 556) 1173s # Converting 'ʏ' => 'ʏ' (line 557) 1173s # Converting 'ʐ' => 'ʐ' (line 558) 1173s # Converting 'ʑ' => 'ʑ' (line 559) 1173s # Converting 'ʒ' => 'Ʒ' (line 560) 1173s # Converting 'ʓ' => 'ʓ' (line 561) 1173s # Converting 'ʖ' => 'ʖ' (line 562) 1173s # Converting 'ʗ' => 'ʗ' (line 563) 1173s # Converting 'ʘ' => 'ʘ' (line 564) 1173s # Converting 'ʙ' => 'ʙ' (line 565) 1173s # Converting 'ʚ' => 'ʚ' (line 566) 1173s # Converting 'ʛ' => 'ʛ' (line 567) 1173s # Converting 'ʜ' => 'ʜ' (line 568) 1173s # Converting 'ʝ' => 'Ʝ' (line 569) 1173s # Converting 'ʞ' => 'Ʞ' (line 570) 1173s # Converting 'ʟ' => 'ʟ' (line 571) 1173s # Converting 'ʠ' => 'ʠ' (line 572) 1173s # Converting 'ʡ' => 'ʡ' (line 573) 1173s # Converting 'ʢ' => 'ʢ' (line 574) 1173s # Converting 'ʣ' => 'ʣ' (line 575) 1173s # Converting 'ʤ' => 'ʤ' (line 576) 1173s # Converting 'ʥ' => 'ʥ' (line 577) 1173s # Converting 'ʦ' => 'ʦ' (line 578) 1173s # Converting 'ʧ' => 'ʧ' (line 579) 1173s # Converting 'ʨ' => 'ʨ' (line 580) 1173s # Converting 'ʩ' => 'ʩ' (line 581) 1173s # Converting 'ʪ' => 'ʪ' (line 582) 1173s # Converting 'ʫ' => 'ʫ' (line 583) 1173s # Converting 'ʬ' => 'ʬ' (line 584) 1173s # Converting 'ʭ' => 'ʭ' (line 585) 1173s # Converting 'ʮ' => 'ʮ' (line 586) 1173s # Converting 'ʯ' => 'ʯ' (line 587) 1173s # Converting 'Ͱ' => 'Ͱ' (line 588) 1173s # Converting 'ͱ' => 'Ͱ' (line 589) 1173s # Converting 'Ͳ' => 'Ͳ' (line 590) 1173s # Converting 'ͳ' => 'Ͳ' (line 591) 1173s # Converting 'Ͷ' => 'Ͷ' (line 592) 1173s # Converting 'ͷ' => 'Ͷ' (line 593) 1173s # Converting 'ͻ' => 'Ͻ' (line 594) 1173s # Converting 'ͼ' => 'Ͼ' (line 595) 1173s # Converting 'ͽ' => 'Ͽ' (line 596) 1173s # Converting 'Ϳ' => 'Ϳ' (line 597) 1173s # Converting 'Ά' => 'Ά' (line 598) 1173s # Converting 'Έ' => 'Έ' (line 599) 1173s # Converting 'Ή' => 'Ή' (line 600) 1173s # Converting 'Ί' => 'Ί' (line 601) 1173s # Converting 'Ό' => 'Ό' (line 602) 1173s # Converting 'Ύ' => 'Ύ' (line 603) 1173s # Converting 'Ώ' => 'Ώ' (line 604) 1173s # Converting 'ΐ' => 'Ϊ́' (line 605) 1173s # Converting 'Α' => 'Α' (line 606) 1173s # Converting 'Β' => 'Β' (line 607) 1173s # Converting 'Γ' => 'Γ' (line 608) 1173s # Converting 'Δ' => 'Δ' (line 609) 1173s # Converting 'Ε' => 'Ε' (line 610) 1173s # Converting 'Ζ' => 'Ζ' (line 611) 1173s # Converting 'Η' => 'Η' (line 612) 1173s # Converting 'Θ' => 'Θ' (line 613) 1173s # Converting 'Ι' => 'Ι' (line 614) 1173s # Converting 'Κ' => 'Κ' (line 615) 1173s # Converting 'Λ' => 'Λ' (line 616) 1173s # Converting 'Μ' => 'Μ' (line 617) 1173s # Converting 'Ν' => 'Ν' (line 618) 1173s # Converting 'Ξ' => 'Ξ' (line 619) 1173s # Converting 'Ο' => 'Ο' (line 620) 1173s # Converting 'Π' => 'Π' (line 621) 1173s # Converting 'Ρ' => 'Ρ' (line 622) 1173s # Converting 'Τ' => 'Τ' (line 623) 1173s # Converting 'Υ' => 'Υ' (line 624) 1173s # Converting 'Φ' => 'Φ' (line 625) 1173s # Converting 'Χ' => 'Χ' (line 626) 1173s # Converting 'Ψ' => 'Ψ' (line 627) 1173s # Converting 'Ω' => 'Ω' (line 628) 1173s # Converting 'Ϊ' => 'Ϊ' (line 629) 1173s # Converting 'Ϋ' => 'Ϋ' (line 630) 1173s # Converting 'ά' => 'Ά' (line 631) 1173s # Converting 'έ' => 'Έ' (line 632) 1173s # Converting 'ή' => 'Ή' (line 633) 1173s # Converting 'ί' => 'Ί' (line 634) 1173s # Converting 'ΰ' => 'Ϋ́' (line 635) 1173s # Converting 'α' => 'Α' (line 636) 1173s # Converting 'β' => 'Β' (line 637) 1173s # Converting 'γ' => 'Γ' (line 638) 1173s # Converting 'δ' => 'Δ' (line 639) 1173s # Converting 'ε' => 'Ε' (line 640) 1173s # Converting 'ζ' => 'Ζ' (line 641) 1173s # Converting 'η' => 'Η' (line 642) 1173s # Converting 'θ' => 'Θ' (line 643) 1173s # Converting 'ι' => 'Ι' (line 644) 1173s # Converting 'κ' => 'Κ' (line 645) 1173s # Converting 'λ' => 'Λ' (line 646) 1173s # Converting 'μ' => 'Μ' (line 647) 1173s # Converting 'ν' => 'Ν' (line 648) 1173s # Converting 'ξ' => 'Ξ' (line 649) 1173s # Converting 'ο' => 'Ο' (line 650) 1173s # Converting 'π' => 'Π' (line 651) 1173s # Converting 'ρ' => 'Ρ' (line 652) 1173s # Converting 'ς' => 'Σ' (line 653) 1173s # Converting 'σ' => 'Σ' (line 654) 1173s # Converting 'τ' => 'Τ' (line 655) 1173s # Converting 'υ' => 'Υ' (line 656) 1173s # Converting 'φ' => 'Φ' (line 657) 1173s # Converting 'χ' => 'Χ' (line 658) 1173s # Converting 'ψ' => 'Ψ' (line 659) 1173s # Converting 'ω' => 'Ω' (line 660) 1173s # Converting 'ϊ' => 'Ϊ' (line 661) 1173s # Converting 'ϋ' => 'Ϋ' (line 662) 1173s # Converting 'ό' => 'Ό' (line 663) 1173s # Converting 'ύ' => 'Ύ' (line 664) 1173s # Converting 'ώ' => 'Ώ' (line 665) 1173s # Converting 'Ϗ' => 'Ϗ' (line 666) 1173s # Converting 'ϐ' => 'Β' (line 667) 1173s # Converting 'ϑ' => 'Θ' (line 668) 1173s # Converting 'ϒ' => 'ϒ' (line 669) 1173s # Converting 'ϓ' => 'ϓ' (line 670) 1173s # Converting 'ϔ' => 'ϔ' (line 671) 1173s # Converting 'ϕ' => 'Φ' (line 672) 1173s # Converting 'ϖ' => 'Π' (line 673) 1173s # Converting 'ϗ' => 'Ϗ' (line 674) 1173s # Converting 'Ϙ' => 'Ϙ' (line 675) 1173s # Converting 'ϙ' => 'Ϙ' (line 676) 1173s # Converting 'Ϛ' => 'Ϛ' (line 677) 1173s # Converting 'ϛ' => 'Ϛ' (line 678) 1173s # Converting 'Ϝ' => 'Ϝ' (line 679) 1173s # Converting 'ϝ' => 'Ϝ' (line 680) 1173s # Converting 'Ϟ' => 'Ϟ' (line 681) 1173s # Converting 'ϟ' => 'Ϟ' (line 682) 1173s # Converting 'Ϡ' => 'Ϡ' (line 683) 1173s # Converting 'ϡ' => 'Ϡ' (line 684) 1173s # Converting 'Ϣ' => 'Ϣ' (line 685) 1173s # Converting 'ϣ' => 'Ϣ' (line 686) 1173s # Converting 'Ϥ' => 'Ϥ' (line 687) 1173s # Converting 'ϥ' => 'Ϥ' (line 688) 1173s # Converting 'Ϧ' => 'Ϧ' (line 689) 1173s # Converting 'ϧ' => 'Ϧ' (line 690) 1173s # Converting 'Ϩ' => 'Ϩ' (line 691) 1173s # Converting 'ϩ' => 'Ϩ' (line 692) 1173s # Converting 'Ϫ' => 'Ϫ' (line 693) 1173s # Converting 'ϫ' => 'Ϫ' (line 694) 1173s # Converting 'Ϭ' => 'Ϭ' (line 695) 1173s # Converting 'ϭ' => 'Ϭ' (line 696) 1173s # Converting 'Ϯ' => 'Ϯ' (line 697) 1173s # Converting 'ϯ' => 'Ϯ' (line 698) 1173s # Converting 'ϰ' => 'Κ' (line 699) 1173s # Converting 'ϱ' => 'Ρ' (line 700) 1173s # Converting 'ϲ' => 'Ϲ' (line 701) 1173s # Converting 'ϳ' => 'Ϳ' (line 702) 1173s # Converting 'ϴ' => 'ϴ' (line 703) 1173s # Converting 'ϵ' => 'Ε' (line 704) 1173s # Converting 'Ϸ' => 'Ϸ' (line 705) 1173s # Converting 'ϸ' => 'Ϸ' (line 706) 1173s # Converting 'Ϲ' => 'Ϲ' (line 707) 1173s # Converting 'Ϻ' => 'Ϻ' (line 708) 1173s # Converting 'ϻ' => 'Ϻ' (line 709) 1173s # Converting 'ϼ' => 'ϼ' (line 710) 1173s # Converting 'Ͻ' => 'Ͻ' (line 711) 1173s # Converting 'Ͼ' => 'Ͼ' (line 712) 1173s # Converting 'Ͽ' => 'Ͽ' (line 713) 1173s # Converting 'Ѐ' => 'Ѐ' (line 714) 1173s # Converting 'Ё' => 'Ё' (line 715) 1173s # Converting 'Ђ' => 'Ђ' (line 716) 1173s # Converting 'Ѓ' => 'Ѓ' (line 717) 1173s # Converting 'Є' => 'Є' (line 718) 1173s # Converting 'Ѕ' => 'Ѕ' (line 719) 1173s # Converting 'І' => 'І' (line 720) 1173s # Converting 'Ї' => 'Ї' (line 721) 1173s # Converting 'Ј' => 'Ј' (line 722) 1173s # Converting 'Љ' => 'Љ' (line 723) 1173s # Converting 'Њ' => 'Њ' (line 724) 1173s # Converting 'Ћ' => 'Ћ' (line 725) 1173s # Converting 'Ќ' => 'Ќ' (line 726) 1173s # Converting 'Ѝ' => 'Ѝ' (line 727) 1173s # Converting 'Ў' => 'Ў' (line 728) 1173s # Converting 'Џ' => 'Џ' (line 729) 1173s # Converting 'А' => 'А' (line 730) 1173s # Converting 'Б' => 'Б' (line 731) 1173s # Converting 'В' => 'В' (line 732) 1173s # Converting 'Г' => 'Г' (line 733) 1173s # Converting 'Д' => 'Д' (line 734) 1173s # Converting 'Е' => 'Е' (line 735) 1173s # Converting 'Ж' => 'Ж' (line 736) 1173s # Converting 'З' => 'З' (line 737) 1173s # Converting 'И' => 'И' (line 738) 1173s # Converting 'Й' => 'Й' (line 739) 1173s # Converting 'К' => 'К' (line 740) 1173s # Converting 'Л' => 'Л' (line 741) 1173s # Converting 'М' => 'М' (line 742) 1173s # Converting 'Н' => 'Н' (line 743) 1173s # Converting 'О' => 'О' (line 744) 1173s # Converting 'П' => 'П' (line 745) 1173s # Converting 'Р' => 'Р' (line 746) 1173s # Converting 'С' => 'С' (line 747) 1173s # Converting 'Т' => 'Т' (line 748) 1173s # Converting 'У' => 'У' (line 749) 1173s # Converting 'Ф' => 'Ф' (line 750) 1173s # Converting 'Х' => 'Х' (line 751) 1173s # Converting 'Ц' => 'Ц' (line 752) 1173s # Converting 'Ч' => 'Ч' (line 753) 1173s # Converting 'Ш' => 'Ш' (line 754) 1173s # Converting 'Щ' => 'Щ' (line 755) 1173s # Converting 'Ъ' => 'Ъ' (line 756) 1173s # Converting 'Ы' => 'Ы' (line 757) 1173s # Converting 'Ь' => 'Ь' (line 758) 1173s # Converting 'Э' => 'Э' (line 759) 1173s # Converting 'Ю' => 'Ю' (line 760) 1173s # Converting 'Я' => 'Я' (line 761) 1173s # Converting 'а' => 'А' (line 762) 1173s # Converting 'б' => 'Б' (line 763) 1173s # Converting 'в' => 'В' (line 764) 1173s # Converting 'г' => 'Г' (line 765) 1173s # Converting 'д' => 'Д' (line 766) 1173s # Converting 'е' => 'Е' (line 767) 1173s # Converting 'ж' => 'Ж' (line 768) 1173s # Converting 'з' => 'З' (line 769) 1173s # Converting 'и' => 'И' (line 770) 1173s # Converting 'й' => 'Й' (line 771) 1173s # Converting 'к' => 'К' (line 772) 1173s # Converting 'л' => 'Л' (line 773) 1173s # Converting 'м' => 'М' (line 774) 1173s # Converting 'н' => 'Н' (line 775) 1173s # Converting 'о' => 'О' (line 776) 1173s # Converting 'п' => 'П' (line 777) 1173s # Converting 'р' => 'Р' (line 778) 1173s # Converting 'с' => 'С' (line 779) 1173s # Converting 'т' => 'Т' (line 780) 1173s # Converting 'у' => 'У' (line 781) 1173s # Converting 'ф' => 'Ф' (line 782) 1173s # Converting 'х' => 'Х' (line 783) 1173s # Converting 'ц' => 'Ц' (line 784) 1173s # Converting 'ч' => 'Ч' (line 785) 1173s # Converting 'ш' => 'Ш' (line 786) 1173s # Converting 'щ' => 'Щ' (line 787) 1173s # Converting 'ъ' => 'Ъ' (line 788) 1173s # Converting 'ы' => 'Ы' (line 789) 1173s # Converting 'ь' => 'Ь' (line 790) 1173s # Converting 'э' => 'Э' (line 791) 1173s # Converting 'ю' => 'Ю' (line 792) 1173s # Converting 'я' => 'Я' (line 793) 1173s # Converting 'ѐ' => 'Ѐ' (line 794) 1173s # Converting 'ё' => 'Ё' (line 795) 1173s # Converting 'ђ' => 'Ђ' (line 796) 1173s # Converting 'ѓ' => 'Ѓ' (line 797) 1173s # Converting 'є' => 'Є' (line 798) 1173s # Converting 'ѕ' => 'Ѕ' (line 799) 1173s # Converting 'і' => 'І' (line 800) 1173s # Converting 'ї' => 'Ї' (line 801) 1173s # Converting 'ј' => 'Ј' (line 802) 1173s # Converting 'љ' => 'Љ' (line 803) 1173s # Converting 'њ' => 'Њ' (line 804) 1173s # Converting 'ћ' => 'Ћ' (line 805) 1173s # Converting 'ќ' => 'Ќ' (line 806) 1173s # Converting 'ѝ' => 'Ѝ' (line 807) 1173s # Converting 'ў' => 'Ў' (line 808) 1173s # Converting 'џ' => 'Џ' (line 809) 1173s # Converting 'Ѡ' => 'Ѡ' (line 810) 1173s # Converting 'ѡ' => 'Ѡ' (line 811) 1173s # Converting 'Ѣ' => 'Ѣ' (line 812) 1173s # Converting 'ѣ' => 'Ѣ' (line 813) 1173s # Converting 'Ѥ' => 'Ѥ' (line 814) 1173s # Converting 'ѥ' => 'Ѥ' (line 815) 1173s # Converting 'Ѧ' => 'Ѧ' (line 816) 1173s # Converting 'ѧ' => 'Ѧ' (line 817) 1173s # Converting 'Ѩ' => 'Ѩ' (line 818) 1173s # Converting 'ѩ' => 'Ѩ' (line 819) 1173s # Converting 'Ѫ' => 'Ѫ' (line 820) 1173s # Converting 'ѫ' => 'Ѫ' (line 821) 1173s # Converting 'Ѭ' => 'Ѭ' (line 822) 1173s # Converting 'ѭ' => 'Ѭ' (line 823) 1173s # Converting 'Ѯ' => 'Ѯ' (line 824) 1173s # Converting 'ѯ' => 'Ѯ' (line 825) 1173s # Converting 'Ѱ' => 'Ѱ' (line 826) 1173s # Converting 'ѱ' => 'Ѱ' (line 827) 1173s # Converting 'Ѳ' => 'Ѳ' (line 828) 1173s # Converting 'ѳ' => 'Ѳ' (line 829) 1173s # Converting 'Ѵ' => 'Ѵ' (line 830) 1173s # Converting 'ѵ' => 'Ѵ' (line 831) 1173s # Converting 'Ѷ' => 'Ѷ' (line 832) 1173s # Converting 'ѷ' => 'Ѷ' (line 833) 1173s # Converting 'Ѹ' => 'Ѹ' (line 834) 1173s # Converting 'ѹ' => 'Ѹ' (line 835) 1173s # Converting 'Ѻ' => 'Ѻ' (line 836) 1173s # Converting 'ѻ' => 'Ѻ' (line 837) 1173s # Converting 'Ѽ' => 'Ѽ' (line 838) 1173s # Converting 'ѽ' => 'Ѽ' (line 839) 1173s # Converting 'Ѿ' => 'Ѿ' (line 840) 1173s # Converting 'ѿ' => 'Ѿ' (line 841) 1173s # Converting 'Ҁ' => 'Ҁ' (line 842) 1173s # Converting 'ҁ' => 'Ҁ' (line 843) 1173s # Converting 'Ҋ' => 'Ҋ' (line 844) 1173s # Converting 'ҋ' => 'Ҋ' (line 845) 1173s # Converting 'Ҍ' => 'Ҍ' (line 846) 1173s # Converting 'ҍ' => 'Ҍ' (line 847) 1173s # Converting 'Ҏ' => 'Ҏ' (line 848) 1173s # Converting 'ҏ' => 'Ҏ' (line 849) 1173s # Converting 'Ґ' => 'Ґ' (line 850) 1173s # Converting 'ґ' => 'Ґ' (line 851) 1173s # Converting 'Ғ' => 'Ғ' (line 852) 1173s # Converting 'ғ' => 'Ғ' (line 853) 1173s # Converting 'Ҕ' => 'Ҕ' (line 854) 1173s # Converting 'ҕ' => 'Ҕ' (line 855) 1173s # Converting 'Җ' => 'Җ' (line 856) 1173s # Converting 'җ' => 'Җ' (line 857) 1173s # Converting 'Ҙ' => 'Ҙ' (line 858) 1173s # Converting 'ҙ' => 'Ҙ' (line 859) 1173s # Converting 'Қ' => 'Қ' (line 860) 1173s # Converting 'қ' => 'Қ' (line 861) 1173s # Converting 'Ҝ' => 'Ҝ' (line 862) 1173s # Converting 'ҝ' => 'Ҝ' (line 863) 1173s # Converting 'Ҟ' => 'Ҟ' (line 864) 1173s # Converting 'ҟ' => 'Ҟ' (line 865) 1173s # Converting 'Ҡ' => 'Ҡ' (line 866) 1173s # Converting 'ҡ' => 'Ҡ' (line 867) 1173s # Converting 'Ң' => 'Ң' (line 868) 1173s # Converting 'ң' => 'Ң' (line 869) 1173s # Converting 'Ҥ' => 'Ҥ' (line 870) 1173s # Converting 'ҥ' => 'Ҥ' (line 871) 1173s # Converting 'Ҧ' => 'Ҧ' (line 872) 1173s # Converting 'ҧ' => 'Ҧ' (line 873) 1173s # Converting 'Ҩ' => 'Ҩ' (line 874) 1173s # Converting 'ҩ' => 'Ҩ' (line 875) 1173s # Converting 'Ҫ' => 'Ҫ' (line 876) 1173s # Converting 'ҫ' => 'Ҫ' (line 877) 1173s # Converting 'Ҭ' => 'Ҭ' (line 878) 1173s # Converting 'ҭ' => 'Ҭ' (line 879) 1173s # Converting 'Ү' => 'Ү' (line 880) 1173s # Converting 'ү' => 'Ү' (line 881) 1173s # Converting 'Ұ' => 'Ұ' (line 882) 1173s # Converting 'ұ' => 'Ұ' (line 883) 1173s # Converting 'Ҳ' => 'Ҳ' (line 884) 1173s # Converting 'ҳ' => 'Ҳ' (line 885) 1173s # Converting 'Ҵ' => 'Ҵ' (line 886) 1173s # Converting 'ҵ' => 'Ҵ' (line 887) 1173s # Converting 'Ҷ' => 'Ҷ' (line 888) 1173s # Converting 'ҷ' => 'Ҷ' (line 889) 1173s # Converting 'Ҹ' => 'Ҹ' (line 890) 1173s # Converting 'ҹ' => 'Ҹ' (line 891) 1173s # Converting 'Һ' => 'Һ' (line 892) 1173s # Converting 'һ' => 'Һ' (line 893) 1173s # Converting 'Ҽ' => 'Ҽ' (line 894) 1173s # Converting 'ҽ' => 'Ҽ' (line 895) 1173s # Converting 'Ҿ' => 'Ҿ' (line 896) 1173s # Converting 'ҿ' => 'Ҿ' (line 897) 1173s # Converting 'Ӏ' => 'Ӏ' (line 898) 1173s # Converting 'Ӂ' => 'Ӂ' (line 899) 1173s # Converting 'ӂ' => 'Ӂ' (line 900) 1173s # Converting 'Ӄ' => 'Ӄ' (line 901) 1173s # Converting 'ӄ' => 'Ӄ' (line 902) 1173s # Converting 'Ӆ' => 'Ӆ' (line 903) 1173s # Converting 'ӆ' => 'Ӆ' (line 904) 1173s # Converting 'Ӈ' => 'Ӈ' (line 905) 1173s # Converting 'ӈ' => 'Ӈ' (line 906) 1173s # Converting 'Ӊ' => 'Ӊ' (line 907) 1173s # Converting 'ӊ' => 'Ӊ' (line 908) 1173s # Converting 'Ӌ' => 'Ӌ' (line 909) 1173s # Converting 'ӌ' => 'Ӌ' (line 910) 1173s # Converting 'Ӎ' => 'Ӎ' (line 911) 1173s # Converting 'ӎ' => 'Ӎ' (line 912) 1173s # Converting 'ӏ' => 'Ӏ' (line 913) 1173s # Converting 'Ӑ' => 'Ӑ' (line 914) 1173s # Converting 'ӑ' => 'Ӑ' (line 915) 1173s # Converting 'Ӓ' => 'Ӓ' (line 916) 1173s # Converting 'ӓ' => 'Ӓ' (line 917) 1173s # Converting 'Ӕ' => 'Ӕ' (line 918) 1173s # Converting 'ӕ' => 'Ӕ' (line 919) 1173s # Converting 'Ӗ' => 'Ӗ' (line 920) 1173s # Converting 'ӗ' => 'Ӗ' (line 921) 1173s # Converting 'Ә' => 'Ә' (line 922) 1173s # Converting 'ә' => 'Ә' (line 923) 1173s # Converting 'Ӛ' => 'Ӛ' (line 924) 1173s # Converting 'ӛ' => 'Ӛ' (line 925) 1173s # Converting 'Ӝ' => 'Ӝ' (line 926) 1173s # Converting 'ӝ' => 'Ӝ' (line 927) 1173s # Converting 'Ӟ' => 'Ӟ' (line 928) 1173s # Converting 'ӟ' => 'Ӟ' (line 929) 1173s # Converting 'Ӡ' => 'Ӡ' (line 930) 1173s # Converting 'ӡ' => 'Ӡ' (line 931) 1173s # Converting 'Ӣ' => 'Ӣ' (line 932) 1173s # Converting 'ӣ' => 'Ӣ' (line 933) 1173s # Converting 'Ӥ' => 'Ӥ' (line 934) 1173s # Converting 'ӥ' => 'Ӥ' (line 935) 1173s # Converting 'Ӧ' => 'Ӧ' (line 936) 1173s # Converting 'ӧ' => 'Ӧ' (line 937) 1173s # Converting 'Ө' => 'Ө' (line 938) 1173s # Converting 'ө' => 'Ө' (line 939) 1173s # Converting 'Ӫ' => 'Ӫ' (line 940) 1173s # Converting 'ӫ' => 'Ӫ' (line 941) 1173s # Converting 'Ӭ' => 'Ӭ' (line 942) 1173s # Converting 'ӭ' => 'Ӭ' (line 943) 1173s # Converting 'Ӯ' => 'Ӯ' (line 944) 1173s # Converting 'ӯ' => 'Ӯ' (line 945) 1173s # Converting 'Ӱ' => 'Ӱ' (line 946) 1173s # Converting 'ӱ' => 'Ӱ' (line 947) 1173s # Converting 'Ӳ' => 'Ӳ' (line 948) 1173s # Converting 'ӳ' => 'Ӳ' (line 949) 1173s # Converting 'Ӵ' => 'Ӵ' (line 950) 1173s # Converting 'ӵ' => 'Ӵ' (line 951) 1173s # Converting 'Ӷ' => 'Ӷ' (line 952) 1173s # Converting 'ӷ' => 'Ӷ' (line 953) 1173s # Converting 'Ӹ' => 'Ӹ' (line 954) 1173s # Converting 'ӹ' => 'Ӹ' (line 955) 1173s # Converting 'Ӻ' => 'Ӻ' (line 956) 1173s # Converting 'ӻ' => 'Ӻ' (line 957) 1173s # Converting 'Ӽ' => 'Ӽ' (line 958) 1173s # Converting 'ӽ' => 'Ӽ' (line 959) 1173s # Converting 'Ӿ' => 'Ӿ' (line 960) 1173s # Converting 'ӿ' => 'Ӿ' (line 961) 1173s # Converting 'Ԁ' => 'Ԁ' (line 962) 1173s # Converting 'ԁ' => 'Ԁ' (line 963) 1173s # Converting 'Ԃ' => 'Ԃ' (line 964) 1173s # Converting 'ԃ' => 'Ԃ' (line 965) 1173s # Converting 'Ԅ' => 'Ԅ' (line 966) 1173s # Converting 'ԅ' => 'Ԅ' (line 967) 1173s # Converting 'Ԇ' => 'Ԇ' (line 968) 1173s # Converting 'ԇ' => 'Ԇ' (line 969) 1173s # Converting 'Ԉ' => 'Ԉ' (line 970) 1173s # Converting 'ԉ' => 'Ԉ' (line 971) 1173s # Converting 'Ԋ' => 'Ԋ' (line 972) 1173s # Converting 'ԋ' => 'Ԋ' (line 973) 1173s # Converting 'Ԍ' => 'Ԍ' (line 974) 1173s # Converting 'ԍ' => 'Ԍ' (line 975) 1173s # Converting 'Ԏ' => 'Ԏ' (line 976) 1173s # Converting 'ԏ' => 'Ԏ' (line 977) 1173s # Converting 'Ԑ' => 'Ԑ' (line 978) 1173s # Converting 'ԑ' => 'Ԑ' (line 979) 1173s # Converting 'Ԓ' => 'Ԓ' (line 980) 1173s # Converting 'ԓ' => 'Ԓ' (line 981) 1173s # Converting 'Ԕ' => 'Ԕ' (line 982) 1173s # Converting 'ԕ' => 'Ԕ' (line 983) 1173s # Converting 'Ԗ' => 'Ԗ' (line 984) 1173s # Converting 'ԗ' => 'Ԗ' (line 985) 1173s # Converting 'Ԙ' => 'Ԙ' (line 986) 1173s # Converting 'ԙ' => 'Ԙ' (line 987) 1173s # Converting 'Ԛ' => 'Ԛ' (line 988) 1173s # Converting 'ԛ' => 'Ԛ' (line 989) 1173s # Converting 'Ԝ' => 'Ԝ' (line 990) 1173s # Converting 'ԝ' => 'Ԝ' (line 991) 1173s # Converting 'Ԟ' => 'Ԟ' (line 992) 1173s # Converting 'ԟ' => 'Ԟ' (line 993) 1173s # Converting 'Ԡ' => 'Ԡ' (line 994) 1173s # Converting 'ԡ' => 'Ԡ' (line 995) 1173s # Converting 'Ԣ' => 'Ԣ' (line 996) 1173s # Converting 'ԣ' => 'Ԣ' (line 997) 1173s # Converting 'Ԥ' => 'Ԥ' (line 998) 1173s # Converting 'ԥ' => 'Ԥ' (line 999) 1173s # Converting 'Ԧ' => 'Ԧ' (line 1000) 1173s # Converting 'ԧ' => 'Ԧ' (line 1001) 1173s # Converting 'Ԩ' => 'Ԩ' (line 1002) 1173s # Converting 'ԩ' => 'Ԩ' (line 1003) 1173s # Converting 'Ԫ' => 'Ԫ' (line 1004) 1173s # Converting 'ԫ' => 'Ԫ' (line 1005) 1173s # Converting 'Ԭ' => 'Ԭ' (line 1006) 1173s # Converting 'ԭ' => 'Ԭ' (line 1007) 1173s # Converting 'Ԯ' => 'Ԯ' (line 1008) 1173s # Converting 'ԯ' => 'Ԯ' (line 1009) 1173s # Converting 'Ա' => 'Ա' (line 1010) 1173s # Converting 'Բ' => 'Բ' (line 1011) 1173s # Converting 'Գ' => 'Գ' (line 1012) 1173s # Converting 'Դ' => 'Դ' (line 1013) 1173s # Converting 'Ե' => 'Ե' (line 1014) 1173s # Converting 'Զ' => 'Զ' (line 1015) 1173s # Converting 'Է' => 'Է' (line 1016) 1173s # Converting 'Ը' => 'Ը' (line 1017) 1173s # Converting 'Թ' => 'Թ' (line 1018) 1173s # Converting 'Ժ' => 'Ժ' (line 1019) 1173s # Converting 'Ի' => 'Ի' (line 1020) 1173s # Converting 'Լ' => 'Լ' (line 1021) 1173s # Converting 'Խ' => 'Խ' (line 1022) 1173s # Converting 'Ծ' => 'Ծ' (line 1023) 1173s # Converting 'Կ' => 'Կ' (line 1024) 1173s # Converting 'Հ' => 'Հ' (line 1025) 1173s # Converting 'Ձ' => 'Ձ' (line 1026) 1173s # Converting 'Ղ' => 'Ղ' (line 1027) 1173s # Converting 'Ճ' => 'Ճ' (line 1028) 1173s # Converting 'Մ' => 'Մ' (line 1029) 1173s # Converting 'Յ' => 'Յ' (line 1030) 1173s # Converting 'Ն' => 'Ն' (line 1031) 1173s # Converting 'Շ' => 'Շ' (line 1032) 1173s # Converting 'Ո' => 'Ո' (line 1033) 1173s # Converting 'Չ' => 'Չ' (line 1034) 1173s # Converting 'Պ' => 'Պ' (line 1035) 1173s # Converting 'Ջ' => 'Ջ' (line 1036) 1173s # Converting 'Ռ' => 'Ռ' (line 1037) 1173s # Converting 'Ս' => 'Ս' (line 1038) 1173s # Converting 'Վ' => 'Վ' (line 1039) 1173s # Converting 'Տ' => 'Տ' (line 1040) 1173s # Converting 'Ր' => 'Ր' (line 1041) 1173s # Converting 'Ց' => 'Ց' (line 1042) 1173s # Converting 'Ւ' => 'Ւ' (line 1043) 1173s # Converting 'Փ' => 'Փ' (line 1044) 1173s # Converting 'Ք' => 'Ք' (line 1045) 1173s # Converting 'Օ' => 'Օ' (line 1046) 1173s # Converting 'Ֆ' => 'Ֆ' (line 1047) 1173s # Converting 'ՠ' => 'ՠ' (line 1048) 1173s # Converting 'ա' => 'Ա' (line 1049) 1173s # Converting 'բ' => 'Բ' (line 1050) 1173s # Converting 'գ' => 'Գ' (line 1051) 1173s # Converting 'դ' => 'Դ' (line 1052) 1173s # Converting 'ե' => 'Ե' (line 1053) 1173s # Converting 'զ' => 'Զ' (line 1054) 1173s # Converting 'է' => 'Է' (line 1055) 1173s # Converting 'ը' => 'Ը' (line 1056) 1173s # Converting 'թ' => 'Թ' (line 1057) 1173s # Converting 'ժ' => 'Ժ' (line 1058) 1173s # Converting 'ի' => 'Ի' (line 1059) 1173s # Converting 'լ' => 'Լ' (line 1060) 1173s # Converting 'խ' => 'Խ' (line 1061) 1173s # Converting 'ծ' => 'Ծ' (line 1062) 1173s # Converting 'կ' => 'Կ' (line 1063) 1173s # Converting 'հ' => 'Հ' (line 1064) 1173s # Converting 'ձ' => 'Ձ' (line 1065) 1173s # Converting 'ղ' => 'Ղ' (line 1066) 1173s # Converting 'ճ' => 'Ճ' (line 1067) 1173s # Converting 'մ' => 'Մ' (line 1068) 1173s # Converting 'յ' => 'Յ' (line 1069) 1173s # Converting 'ն' => 'Ն' (line 1070) 1173s # Converting 'շ' => 'Շ' (line 1071) 1173s # Converting 'ո' => 'Ո' (line 1072) 1173s # Converting 'չ' => 'Չ' (line 1073) 1173s # Converting 'պ' => 'Պ' (line 1074) 1173s # Converting 'ջ' => 'Ջ' (line 1075) 1173s # Converting 'ռ' => 'Ռ' (line 1076) 1173s # Converting 'ս' => 'Ս' (line 1077) 1173s # Converting 'վ' => 'Վ' (line 1078) 1173s # Converting 'տ' => 'Տ' (line 1079) 1173s # Converting 'ր' => 'Ր' (line 1080) 1173s # Converting 'ց' => 'Ց' (line 1081) 1173s # Converting 'ւ' => 'Ւ' (line 1082) 1173s # Converting 'փ' => 'Փ' (line 1083) 1173s # Converting 'ք' => 'Ք' (line 1084) 1173s # Converting 'օ' => 'Օ' (line 1085) 1173s # Converting 'ֆ' => 'Ֆ' (line 1086) 1173s # Converting 'և' => 'ԵՒ' (line 1087) 1173s # Converting 'ֈ' => 'ֈ' (line 1088) 1173s # Converting 'Ⴀ' => 'Ⴀ' (line 1089) 1173s # Converting 'Ⴁ' => 'Ⴁ' (line 1090) 1173s # Converting 'Ⴂ' => 'Ⴂ' (line 1091) 1173s # Converting 'Ⴃ' => 'Ⴃ' (line 1092) 1173s # Converting 'Ⴄ' => 'Ⴄ' (line 1093) 1173s # Converting 'Ⴅ' => 'Ⴅ' (line 1094) 1173s # Converting 'Ⴆ' => 'Ⴆ' (line 1095) 1173s # Converting 'Ⴇ' => 'Ⴇ' (line 1096) 1173s # Converting 'Ⴈ' => 'Ⴈ' (line 1097) 1173s # Converting 'Ⴉ' => 'Ⴉ' (line 1098) 1173s # Converting 'Ⴊ' => 'Ⴊ' (line 1099) 1173s # Converting 'Ⴋ' => 'Ⴋ' (line 1100) 1173s # Converting 'Ⴌ' => 'Ⴌ' (line 1101) 1173s # Converting 'Ⴍ' => 'Ⴍ' (line 1102) 1173s # Converting 'Ⴎ' => 'Ⴎ' (line 1103) 1173s # Converting 'Ⴏ' => 'Ⴏ' (line 1104) 1173s # Converting 'Ⴐ' => 'Ⴐ' (line 1105) 1173s # Converting 'Ⴑ' => 'Ⴑ' (line 1106) 1173s # Converting 'Ⴒ' => 'Ⴒ' (line 1107) 1173s # Converting 'Ⴓ' => 'Ⴓ' (line 1108) 1173s # Converting 'Ⴔ' => 'Ⴔ' (line 1109) 1173s # Converting 'Ⴕ' => 'Ⴕ' (line 1110) 1173s # Converting 'Ⴖ' => 'Ⴖ' (line 1111) 1173s # Converting 'Ⴗ' => 'Ⴗ' (line 1112) 1173s # Converting 'Ⴘ' => 'Ⴘ' (line 1113) 1173s # Converting 'Ⴙ' => 'Ⴙ' (line 1114) 1173s # Converting 'Ⴚ' => 'Ⴚ' (line 1115) 1173s # Converting 'Ⴛ' => 'Ⴛ' (line 1116) 1173s # Converting 'Ⴜ' => 'Ⴜ' (line 1117) 1173s # Converting 'Ⴝ' => 'Ⴝ' (line 1118) 1173s # Converting 'Ⴞ' => 'Ⴞ' (line 1119) 1173s # Converting 'Ⴟ' => 'Ⴟ' (line 1120) 1173s # Converting 'Ⴠ' => 'Ⴠ' (line 1121) 1173s # Converting 'Ⴡ' => 'Ⴡ' (line 1122) 1173s # Converting 'Ⴢ' => 'Ⴢ' (line 1123) 1173s # Converting 'Ⴣ' => 'Ⴣ' (line 1124) 1173s # Converting 'Ⴤ' => 'Ⴤ' (line 1125) 1173s # Converting 'Ⴥ' => 'Ⴥ' (line 1126) 1173s # Converting 'Ⴧ' => 'Ⴧ' (line 1127) 1173s # Converting 'Ⴭ' => 'Ⴭ' (line 1128) 1173s # Converting 'ა' => 'Ა' (line 1129) 1173s # Converting 'ბ' => 'Ბ' (line 1130) 1173s # Converting 'გ' => 'Გ' (line 1131) 1173s # Converting 'დ' => 'Დ' (line 1132) 1173s # Converting 'ე' => 'Ე' (line 1133) 1173s # Converting 'ვ' => 'Ვ' (line 1134) 1173s # Converting 'ზ' => 'Ზ' (line 1135) 1173s # Converting 'თ' => 'Თ' (line 1136) 1173s # Converting 'ი' => 'Ი' (line 1137) 1173s # Converting 'კ' => 'Კ' (line 1138) 1173s # Converting 'ლ' => 'Ლ' (line 1139) 1173s # Converting 'მ' => 'Მ' (line 1140) 1173s # Converting 'ნ' => 'Ნ' (line 1141) 1173s # Converting 'ო' => 'Ო' (line 1142) 1173s # Converting 'პ' => 'Პ' (line 1143) 1173s # Converting 'ჟ' => 'Ჟ' (line 1144) 1173s # Converting 'რ' => 'Რ' (line 1145) 1173s # Converting 'ს' => 'Ს' (line 1146) 1173s # Converting 'ტ' => 'Ტ' (line 1147) 1173s # Converting 'უ' => 'Უ' (line 1148) 1173s # Converting 'ფ' => 'Ფ' (line 1149) 1173s # Converting 'ქ' => 'Ქ' (line 1150) 1173s # Converting 'ღ' => 'Ღ' (line 1151) 1173s # Converting 'ყ' => 'Ყ' (line 1152) 1173s # Converting 'შ' => 'Შ' (line 1153) 1173s # Converting 'ჩ' => 'Ჩ' (line 1154) 1173s # Converting 'ც' => 'Ც' (line 1155) 1173s # Converting 'ძ' => 'Ძ' (line 1156) 1173s # Converting 'წ' => 'Წ' (line 1157) 1173s # Converting 'ჭ' => 'Ჭ' (line 1158) 1173s # Converting 'ხ' => 'Ხ' (line 1159) 1173s # Converting 'ჯ' => 'Ჯ' (line 1160) 1173s # Converting 'ჰ' => 'Ჰ' (line 1161) 1173s # Converting 'ჱ' => 'Ჱ' (line 1162) 1173s # Converting 'ჲ' => 'Ჲ' (line 1163) 1173s # Converting 'ჳ' => 'Ჳ' (line 1164) 1173s # Converting 'ჴ' => 'Ჴ' (line 1165) 1173s # Converting 'ჵ' => 'Ჵ' (line 1166) 1173s # Converting 'ჶ' => 'Ჶ' (line 1167) 1173s # Converting 'ჷ' => 'Ჷ' (line 1168) 1173s # Converting 'ჸ' => 'Ჸ' (line 1169) 1173s # Converting 'ჹ' => 'Ჹ' (line 1170) 1173s # Converting 'ჺ' => 'Ჺ' (line 1171) 1173s # Converting 'ჽ' => 'Ჽ' (line 1172) 1173s # Converting 'ჾ' => 'Ჾ' (line 1173) 1173s # Converting 'ჿ' => 'Ჿ' (line 1174) 1173s # Converting 'Ꭰ' => 'Ꭰ' (line 1175) 1173s # Converting 'Ꭱ' => 'Ꭱ' (line 1176) 1173s # Converting 'Ꭲ' => 'Ꭲ' (line 1177) 1173s # Converting 'Ꭳ' => 'Ꭳ' (line 1178) 1173s # Converting 'Ꭴ' => 'Ꭴ' (line 1179) 1173s # Converting 'Ꭵ' => 'Ꭵ' (line 1180) 1173s # Converting 'Ꭶ' => 'Ꭶ' (line 1181) 1173s # Converting 'Ꭷ' => 'Ꭷ' (line 1182) 1173s # Converting 'Ꭸ' => 'Ꭸ' (line 1183) 1173s # Converting 'Ꭹ' => 'Ꭹ' (line 1184) 1173s # Converting 'Ꭺ' => 'Ꭺ' (line 1185) 1173s # Converting 'Ꭻ' => 'Ꭻ' (line 1186) 1173s # Converting 'Ꭼ' => 'Ꭼ' (line 1187) 1173s # Converting 'Ꭽ' => 'Ꭽ' (line 1188) 1173s # Converting 'Ꭾ' => 'Ꭾ' (line 1189) 1173s # Converting 'Ꭿ' => 'Ꭿ' (line 1190) 1173s # Converting 'Ꮀ' => 'Ꮀ' (line 1191) 1173s # Converting 'Ꮁ' => 'Ꮁ' (line 1192) 1173s # Converting 'Ꮂ' => 'Ꮂ' (line 1193) 1173s # Converting 'Ꮃ' => 'Ꮃ' (line 1194) 1173s # Converting 'Ꮄ' => 'Ꮄ' (line 1195) 1173s # Converting 'Ꮅ' => 'Ꮅ' (line 1196) 1173s # Converting 'Ꮆ' => 'Ꮆ' (line 1197) 1173s # Converting 'Ꮇ' => 'Ꮇ' (line 1198) 1173s # Converting 'Ꮈ' => 'Ꮈ' (line 1199) 1173s # Converting 'Ꮉ' => 'Ꮉ' (line 1200) 1173s # Converting 'Ꮊ' => 'Ꮊ' (line 1201) 1173s # Converting 'Ꮋ' => 'Ꮋ' (line 1202) 1173s # Converting 'Ꮌ' => 'Ꮌ' (line 1203) 1173s # Converting 'Ꮍ' => 'Ꮍ' (line 1204) 1173s # Converting 'Ꮎ' => 'Ꮎ' (line 1205) 1173s # Converting 'Ꮏ' => 'Ꮏ' (line 1206) 1173s # Converting 'Ꮐ' => 'Ꮐ' (line 1207) 1173s # Converting 'Ꮑ' => 'Ꮑ' (line 1208) 1173s # Converting 'Ꮒ' => 'Ꮒ' (line 1209) 1173s # Converting 'Ꮓ' => 'Ꮓ' (line 1210) 1173s # Converting 'Ꮔ' => 'Ꮔ' (line 1211) 1173s # Converting 'Ꮕ' => 'Ꮕ' (line 1212) 1173s # Converting 'Ꮖ' => 'Ꮖ' (line 1213) 1173s # Converting 'Ꮗ' => 'Ꮗ' (line 1214) 1173s # Converting 'Ꮘ' => 'Ꮘ' (line 1215) 1173s # Converting 'Ꮙ' => 'Ꮙ' (line 1216) 1173s # Converting 'Ꮚ' => 'Ꮚ' (line 1217) 1173s # Converting 'Ꮛ' => 'Ꮛ' (line 1218) 1173s # Converting 'Ꮜ' => 'Ꮜ' (line 1219) 1173s # Converting 'Ꮝ' => 'Ꮝ' (line 1220) 1173s # Converting 'Ꮞ' => 'Ꮞ' (line 1221) 1173s # Converting 'Ꮟ' => 'Ꮟ' (line 1222) 1173s # Converting 'Ꮠ' => 'Ꮠ' (line 1223) 1173s # Converting 'Ꮡ' => 'Ꮡ' (line 1224) 1173s # Converting 'Ꮢ' => 'Ꮢ' (line 1225) 1173s # Converting 'Ꮣ' => 'Ꮣ' (line 1226) 1173s # Converting 'Ꮤ' => 'Ꮤ' (line 1227) 1173s # Converting 'Ꮥ' => 'Ꮥ' (line 1228) 1173s # Converting 'Ꮦ' => 'Ꮦ' (line 1229) 1173s # Converting 'Ꮧ' => 'Ꮧ' (line 1230) 1173s # Converting 'Ꮨ' => 'Ꮨ' (line 1231) 1173s # Converting 'Ꮩ' => 'Ꮩ' (line 1232) 1173s # Converting 'Ꮪ' => 'Ꮪ' (line 1233) 1173s # Converting 'Ꮫ' => 'Ꮫ' (line 1234) 1173s # Converting 'Ꮬ' => 'Ꮬ' (line 1235) 1173s # Converting 'Ꮭ' => 'Ꮭ' (line 1236) 1173s # Converting 'Ꮮ' => 'Ꮮ' (line 1237) 1173s # Converting 'Ꮯ' => 'Ꮯ' (line 1238) 1173s # Converting 'Ꮰ' => 'Ꮰ' (line 1239) 1173s # Converting 'Ꮱ' => 'Ꮱ' (line 1240) 1173s # Converting 'Ꮲ' => 'Ꮲ' (line 1241) 1173s # Converting 'Ꮳ' => 'Ꮳ' (line 1242) 1173s # Converting 'Ꮴ' => 'Ꮴ' (line 1243) 1173s # Converting 'Ꮵ' => 'Ꮵ' (line 1244) 1173s # Converting 'Ꮶ' => 'Ꮶ' (line 1245) 1173s # Converting 'Ꮷ' => 'Ꮷ' (line 1246) 1173s # Converting 'Ꮸ' => 'Ꮸ' (line 1247) 1173s # Converting 'Ꮹ' => 'Ꮹ' (line 1248) 1173s # Converting 'Ꮺ' => 'Ꮺ' (line 1249) 1173s # Converting 'Ꮻ' => 'Ꮻ' (line 1250) 1173s # Converting 'Ꮼ' => 'Ꮼ' (line 1251) 1173s # Converting 'Ꮽ' => 'Ꮽ' (line 1252) 1173s # Converting 'Ꮾ' => 'Ꮾ' (line 1253) 1173s # Converting 'Ꮿ' => 'Ꮿ' (line 1254) 1173s # Converting 'Ᏸ' => 'Ᏸ' (line 1255) 1173s # Converting 'Ᏹ' => 'Ᏹ' (line 1256) 1173s # Converting 'Ᏺ' => 'Ᏺ' (line 1257) 1173s # Converting 'Ᏻ' => 'Ᏻ' (line 1258) 1173s # Converting 'Ᏼ' => 'Ᏼ' (line 1259) 1173s # Converting 'Ᏽ' => 'Ᏽ' (line 1260) 1173s # Converting 'ᏸ' => 'Ᏸ' (line 1261) 1173s # Converting 'ᏹ' => 'Ᏹ' (line 1262) 1173s # Converting 'ᏺ' => 'Ᏺ' (line 1263) 1173s # Converting 'ᏻ' => 'Ᏻ' (line 1264) 1173s # Converting 'ᏼ' => 'Ᏼ' (line 1265) 1173s # Converting 'ᏽ' => 'Ᏽ' (line 1266) 1173s # Converting 'ᲀ' => 'В' (line 1267) 1173s # Converting 'ᲁ' => 'Д' (line 1268) 1173s # Converting 'ᲂ' => 'О' (line 1269) 1173s # Converting 'ᲃ' => 'С' (line 1270) 1173s # Converting 'ᲄ' => 'Т' (line 1271) 1173s # Converting 'ᲅ' => 'Т' (line 1272) 1173s # Converting 'ᲆ' => 'Ъ' (line 1273) 1173s # Converting 'ᲇ' => 'Ѣ' (line 1274) 1173s # Converting 'ᲈ' => 'Ꙋ' (line 1275) 1173s # Converting 'Ᲊ' => 'Ᲊ' (line 1276) 1173s # Converting 'ᲊ' => 'Ᲊ' (line 1277) 1173s # Converting 'Ა' => 'Ა' (line 1278) 1173s # Converting 'Ბ' => 'Ბ' (line 1279) 1173s # Converting 'Გ' => 'Გ' (line 1280) 1173s # Converting 'Დ' => 'Დ' (line 1281) 1173s # Converting 'Ე' => 'Ე' (line 1282) 1173s # Converting 'Ვ' => 'Ვ' (line 1283) 1173s # Converting 'Ზ' => 'Ზ' (line 1284) 1173s # Converting 'Თ' => 'Თ' (line 1285) 1173s # Converting 'Ი' => 'Ი' (line 1286) 1173s # Converting 'Კ' => 'Კ' (line 1287) 1173s # Converting 'Ლ' => 'Ლ' (line 1288) 1173s # Converting 'Მ' => 'Მ' (line 1289) 1173s # Converting 'Ნ' => 'Ნ' (line 1290) 1173s # Converting 'Ო' => 'Ო' (line 1291) 1173s # Converting 'Პ' => 'Პ' (line 1292) 1173s # Converting 'Ჟ' => 'Ჟ' (line 1293) 1173s # Converting 'Რ' => 'Რ' (line 1294) 1173s # Converting 'Ს' => 'Ს' (line 1295) 1173s # Converting 'Ტ' => 'Ტ' (line 1296) 1173s # Converting 'Უ' => 'Უ' (line 1297) 1173s # Converting 'Ფ' => 'Ფ' (line 1298) 1173s # Converting 'Ქ' => 'Ქ' (line 1299) 1173s # Converting 'Ღ' => 'Ღ' (line 1300) 1173s # Converting 'Ყ' => 'Ყ' (line 1301) 1173s # Converting 'Შ' => 'Შ' (line 1302) 1173s # Converting 'Ჩ' => 'Ჩ' (line 1303) 1173s # Converting 'Ც' => 'Ც' (line 1304) 1173s # Converting 'Ძ' => 'Ძ' (line 1305) 1173s # Converting 'Წ' => 'Წ' (line 1306) 1173s # Converting 'Ჭ' => 'Ჭ' (line 1307) 1173s # Converting 'Ხ' => 'Ხ' (line 1308) 1173s # Converting 'Ჯ' => 'Ჯ' (line 1309) 1173s # Converting 'Ჰ' => 'Ჰ' (line 1310) 1173s # Converting 'Ჱ' => 'Ჱ' (line 1311) 1173s # Converting 'Ჲ' => 'Ჲ' (line 1312) 1173s # Converting 'Ჳ' => 'Ჳ' (line 1313) 1173s # Converting 'Ჴ' => 'Ჴ' (line 1314) 1173s # Converting 'Ჵ' => 'Ჵ' (line 1315) 1173s # Converting 'Ჶ' => 'Ჶ' (line 1316) 1173s # Converting 'Ჷ' => 'Ჷ' (line 1317) 1173s # Converting 'Ჸ' => 'Ჸ' (line 1318) 1173s # Converting 'Ჹ' => 'Ჹ' (line 1319) 1173s # Converting 'Ჺ' => 'Ჺ' (line 1320) 1173s # Converting 'Ჽ' => 'Ჽ' (line 1321) 1173s # Converting 'Ჾ' => 'Ჾ' (line 1322) 1173s # Converting 'Ჿ' => 'Ჿ' (line 1323) 1173s # Converting 'ᴀ' => 'ᴀ' (line 1324) 1173s # Converting 'ᴁ' => 'ᴁ' (line 1325) 1173s # Converting 'ᴂ' => 'ᴂ' (line 1326) 1173s # Converting 'ᴃ' => 'ᴃ' (line 1327) 1173s # Converting 'ᴄ' => 'ᴄ' (line 1328) 1173s # Converting 'ᴅ' => 'ᴅ' (line 1329) 1173s # Converting 'ᴆ' => 'ᴆ' (line 1330) 1173s # Converting 'ᴇ' => 'ᴇ' (line 1331) 1173s # Converting 'ᴈ' => 'ᴈ' (line 1332) 1173s # Converting 'ᴉ' => 'ᴉ' (line 1333) 1173s # Converting 'ᴊ' => 'ᴊ' (line 1334) 1173s # Converting 'ᴋ' => 'ᴋ' (line 1335) 1173s # Converting 'ᴌ' => 'ᴌ' (line 1336) 1173s # Converting 'ᴍ' => 'ᴍ' (line 1337) 1173s # Converting 'ᴎ' => 'ᴎ' (line 1338) 1173s # Converting 'ᴏ' => 'ᴏ' (line 1339) 1173s # Converting 'ᴐ' => 'ᴐ' (line 1340) 1173s # Converting 'ᴑ' => 'ᴑ' (line 1341) 1173s # Converting 'ᴒ' => 'ᴒ' (line 1342) 1173s # Converting 'ᴓ' => 'ᴓ' (line 1343) 1173s # Converting 'ᴔ' => 'ᴔ' (line 1344) 1173s # Converting 'ᴕ' => 'ᴕ' (line 1345) 1173s # Converting 'ᴖ' => 'ᴖ' (line 1346) 1173s # Converting 'ᴗ' => 'ᴗ' (line 1347) 1173s # Converting 'ᴘ' => 'ᴘ' (line 1348) 1173s # Converting 'ᴙ' => 'ᴙ' (line 1349) 1173s # Converting 'ᴚ' => 'ᴚ' (line 1350) 1173s # Converting 'ᴛ' => 'ᴛ' (line 1351) 1173s # Converting 'ᴜ' => 'ᴜ' (line 1352) 1173s # Converting 'ᴝ' => 'ᴝ' (line 1353) 1173s # Converting 'ᴞ' => 'ᴞ' (line 1354) 1173s # Converting 'ᴟ' => 'ᴟ' (line 1355) 1173s # Converting 'ᴠ' => 'ᴠ' (line 1356) 1173s # Converting 'ᴡ' => 'ᴡ' (line 1357) 1173s # Converting 'ᴢ' => 'ᴢ' (line 1358) 1173s # Converting 'ᴣ' => 'ᴣ' (line 1359) 1173s # Converting 'ᴤ' => 'ᴤ' (line 1360) 1173s # Converting 'ᴥ' => 'ᴥ' (line 1361) 1173s # Converting 'ᴦ' => 'ᴦ' (line 1362) 1173s # Converting 'ᴧ' => 'ᴧ' (line 1363) 1173s # Converting 'ᴨ' => 'ᴨ' (line 1364) 1173s # Converting 'ᴩ' => 'ᴩ' (line 1365) 1173s # Converting 'ᴪ' => 'ᴪ' (line 1366) 1173s # Converting 'ᴫ' => 'ᴫ' (line 1367) 1173s # Converting 'ᵫ' => 'ᵫ' (line 1368) 1173s # Converting 'ᵬ' => 'ᵬ' (line 1369) 1173s # Converting 'ᵭ' => 'ᵭ' (line 1370) 1173s # Converting 'ᵮ' => 'ᵮ' (line 1371) 1173s # Converting 'ᵯ' => 'ᵯ' (line 1372) 1173s # Converting 'ᵰ' => 'ᵰ' (line 1373) 1173s # Converting 'ᵱ' => 'ᵱ' (line 1374) 1173s # Converting 'ᵲ' => 'ᵲ' (line 1375) 1173s # Converting 'ᵳ' => 'ᵳ' (line 1376) 1173s # Converting 'ᵴ' => 'ᵴ' (line 1377) 1173s # Converting 'ᵵ' => 'ᵵ' (line 1378) 1173s # Converting 'ᵶ' => 'ᵶ' (line 1379) 1173s # Converting 'ᵷ' => 'ᵷ' (line 1380) 1173s # Converting 'ᵹ' => 'Ᵹ' (line 1381) 1173s # Converting 'ᵺ' => 'ᵺ' (line 1382) 1173s # Converting 'ᵻ' => 'ᵻ' (line 1383) 1173s # Converting 'ᵼ' => 'ᵼ' (line 1384) 1173s # Converting 'ᵽ' => 'Ᵽ' (line 1385) 1173s # Converting 'ᵾ' => 'ᵾ' (line 1386) 1173s # Converting 'ᵿ' => 'ᵿ' (line 1387) 1173s # Converting 'ᶀ' => 'ᶀ' (line 1388) 1173s # Converting 'ᶁ' => 'ᶁ' (line 1389) 1173s # Converting 'ᶂ' => 'ᶂ' (line 1390) 1173s # Converting 'ᶃ' => 'ᶃ' (line 1391) 1173s # Converting 'ᶄ' => 'ᶄ' (line 1392) 1173s # Converting 'ᶅ' => 'ᶅ' (line 1393) 1173s # Converting 'ᶆ' => 'ᶆ' (line 1394) 1173s # Converting 'ᶇ' => 'ᶇ' (line 1395) 1173s # Converting 'ᶈ' => 'ᶈ' (line 1396) 1173s # Converting 'ᶉ' => 'ᶉ' (line 1397) 1173s # Converting 'ᶊ' => 'ᶊ' (line 1398) 1173s # Converting 'ᶋ' => 'ᶋ' (line 1399) 1173s # Converting 'ᶌ' => 'ᶌ' (line 1400) 1173s # Converting 'ᶍ' => 'ᶍ' (line 1401) 1173s # Converting 'ᶎ' => 'Ᶎ' (line 1402) 1173s # Converting 'ᶏ' => 'ᶏ' (line 1403) 1173s # Converting 'ᶐ' => 'ᶐ' (line 1404) 1173s # Converting 'ᶑ' => 'ᶑ' (line 1405) 1173s # Converting 'ᶒ' => 'ᶒ' (line 1406) 1173s # Converting 'ᶓ' => 'ᶓ' (line 1407) 1173s # Converting 'ᶔ' => 'ᶔ' (line 1408) 1173s # Converting 'ᶕ' => 'ᶕ' (line 1409) 1173s # Converting 'ᶖ' => 'ᶖ' (line 1410) 1173s # Converting 'ᶗ' => 'ᶗ' (line 1411) 1173s # Converting 'ᶘ' => 'ᶘ' (line 1412) 1173s # Converting 'ᶙ' => 'ᶙ' (line 1413) 1173s # Converting 'ᶚ' => 'ᶚ' (line 1414) 1173s # Converting 'Ḁ' => 'Ḁ' (line 1415) 1173s # Converting 'ḁ' => 'Ḁ' (line 1416) 1173s # Converting 'Ḃ' => 'Ḃ' (line 1417) 1173s # Converting 'ḃ' => 'Ḃ' (line 1418) 1173s # Converting 'Ḅ' => 'Ḅ' (line 1419) 1173s # Converting 'ḅ' => 'Ḅ' (line 1420) 1173s # Converting 'Ḇ' => 'Ḇ' (line 1421) 1173s # Converting 'ḇ' => 'Ḇ' (line 1422) 1173s # Converting 'Ḉ' => 'Ḉ' (line 1423) 1173s # Converting 'ḉ' => 'Ḉ' (line 1424) 1173s # Converting 'Ḋ' => 'Ḋ' (line 1425) 1173s # Converting 'ḋ' => 'Ḋ' (line 1426) 1173s # Converting 'Ḍ' => 'Ḍ' (line 1427) 1173s # Converting 'ḍ' => 'Ḍ' (line 1428) 1173s # Converting 'Ḏ' => 'Ḏ' (line 1429) 1173s # Converting 'ḏ' => 'Ḏ' (line 1430) 1173s # Converting 'Ḑ' => 'Ḑ' (line 1431) 1173s # Converting 'ḑ' => 'Ḑ' (line 1432) 1173s # Converting 'Ḓ' => 'Ḓ' (line 1433) 1173s # Converting 'ḓ' => 'Ḓ' (line 1434) 1173s # Converting 'Ḕ' => 'Ḕ' (line 1435) 1173s # Converting 'ḕ' => 'Ḕ' (line 1436) 1173s # Converting 'Ḗ' => 'Ḗ' (line 1437) 1173s # Converting 'ḗ' => 'Ḗ' (line 1438) 1173s # Converting 'Ḙ' => 'Ḙ' (line 1439) 1173s # Converting 'ḙ' => 'Ḙ' (line 1440) 1173s # Converting 'Ḛ' => 'Ḛ' (line 1441) 1173s # Converting 'ḛ' => 'Ḛ' (line 1442) 1173s # Converting 'Ḝ' => 'Ḝ' (line 1443) 1173s # Converting 'ḝ' => 'Ḝ' (line 1444) 1173s # Converting 'Ḟ' => 'Ḟ' (line 1445) 1173s # Converting 'ḟ' => 'Ḟ' (line 1446) 1173s # Converting 'Ḡ' => 'Ḡ' (line 1447) 1173s # Converting 'ḡ' => 'Ḡ' (line 1448) 1173s # Converting 'Ḣ' => 'Ḣ' (line 1449) 1173s # Converting 'ḣ' => 'Ḣ' (line 1450) 1173s # Converting 'Ḥ' => 'Ḥ' (line 1451) 1173s # Converting 'ḥ' => 'Ḥ' (line 1452) 1173s # Converting 'Ḧ' => 'Ḧ' (line 1453) 1173s # Converting 'ḧ' => 'Ḧ' (line 1454) 1173s # Converting 'Ḩ' => 'Ḩ' (line 1455) 1173s # Converting 'ḩ' => 'Ḩ' (line 1456) 1173s # Converting 'Ḫ' => 'Ḫ' (line 1457) 1173s # Converting 'ḫ' => 'Ḫ' (line 1458) 1173s # Converting 'Ḭ' => 'Ḭ' (line 1459) 1173s # Converting 'ḭ' => 'Ḭ' (line 1460) 1173s # Converting 'Ḯ' => 'Ḯ' (line 1461) 1173s # Converting 'ḯ' => 'Ḯ' (line 1462) 1173s # Converting 'Ḱ' => 'Ḱ' (line 1463) 1173s # Converting 'ḱ' => 'Ḱ' (line 1464) 1173s # Converting 'Ḳ' => 'Ḳ' (line 1465) 1173s # Converting 'ḳ' => 'Ḳ' (line 1466) 1173s # Converting 'Ḵ' => 'Ḵ' (line 1467) 1173s # Converting 'ḵ' => 'Ḵ' (line 1468) 1173s # Converting 'Ḷ' => 'Ḷ' (line 1469) 1173s # Converting 'ḷ' => 'Ḷ' (line 1470) 1173s # Converting 'Ḹ' => 'Ḹ' (line 1471) 1173s # Converting 'ḹ' => 'Ḹ' (line 1472) 1173s # Converting 'Ḻ' => 'Ḻ' (line 1473) 1173s # Converting 'ḻ' => 'Ḻ' (line 1474) 1173s # Converting 'Ḽ' => 'Ḽ' (line 1475) 1173s # Converting 'ḽ' => 'Ḽ' (line 1476) 1173s # Converting 'Ḿ' => 'Ḿ' (line 1477) 1173s # Converting 'ḿ' => 'Ḿ' (line 1478) 1173s # Converting 'Ṁ' => 'Ṁ' (line 1479) 1173s # Converting 'ṁ' => 'Ṁ' (line 1480) 1173s # Converting 'Ṃ' => 'Ṃ' (line 1481) 1173s # Converting 'ṃ' => 'Ṃ' (line 1482) 1173s # Converting 'Ṅ' => 'Ṅ' (line 1483) 1173s # Converting 'ṅ' => 'Ṅ' (line 1484) 1173s # Converting 'Ṇ' => 'Ṇ' (line 1485) 1173s # Converting 'ṇ' => 'Ṇ' (line 1486) 1173s # Converting 'Ṉ' => 'Ṉ' (line 1487) 1173s # Converting 'ṉ' => 'Ṉ' (line 1488) 1173s # Converting 'Ṋ' => 'Ṋ' (line 1489) 1173s # Converting 'ṋ' => 'Ṋ' (line 1490) 1173s # Converting 'Ṍ' => 'Ṍ' (line 1491) 1173s # Converting 'ṍ' => 'Ṍ' (line 1492) 1173s # Converting 'Ṏ' => 'Ṏ' (line 1493) 1173s # Converting 'ṏ' => 'Ṏ' (line 1494) 1173s # Converting 'Ṑ' => 'Ṑ' (line 1495) 1173s # Converting 'ṑ' => 'Ṑ' (line 1496) 1173s # Converting 'Ṓ' => 'Ṓ' (line 1497) 1173s # Converting 'ṓ' => 'Ṓ' (line 1498) 1173s # Converting 'Ṕ' => 'Ṕ' (line 1499) 1173s # Converting 'ṕ' => 'Ṕ' (line 1500) 1173s # Converting 'Ṗ' => 'Ṗ' (line 1501) 1173s # Converting 'ṗ' => 'Ṗ' (line 1502) 1173s # Converting 'Ṙ' => 'Ṙ' (line 1503) 1173s # Converting 'ṙ' => 'Ṙ' (line 1504) 1173s # Converting 'Ṛ' => 'Ṛ' (line 1505) 1173s # Converting 'ṛ' => 'Ṛ' (line 1506) 1173s # Converting 'Ṝ' => 'Ṝ' (line 1507) 1173s # Converting 'ṝ' => 'Ṝ' (line 1508) 1173s # Converting 'Ṟ' => 'Ṟ' (line 1509) 1173s # Converting 'ṟ' => 'Ṟ' (line 1510) 1173s # Converting 'Ṡ' => 'Ṡ' (line 1511) 1173s # Converting 'ṡ' => 'Ṡ' (line 1512) 1173s # Converting 'Ṣ' => 'Ṣ' (line 1513) 1173s # Converting 'ṣ' => 'Ṣ' (line 1514) 1173s # Converting 'Ṥ' => 'Ṥ' (line 1515) 1173s # Converting 'ṥ' => 'Ṥ' (line 1516) 1173s # Converting 'Ṧ' => 'Ṧ' (line 1517) 1173s # Converting 'ṧ' => 'Ṧ' (line 1518) 1173s # Converting 'Ṩ' => 'Ṩ' (line 1519) 1173s # Converting 'ṩ' => 'Ṩ' (line 1520) 1173s # Converting 'Ṫ' => 'Ṫ' (line 1521) 1173s # Converting 'ṫ' => 'Ṫ' (line 1522) 1173s # Converting 'Ṭ' => 'Ṭ' (line 1523) 1173s # Converting 'ṭ' => 'Ṭ' (line 1524) 1173s # Converting 'Ṯ' => 'Ṯ' (line 1525) 1173s # Converting 'ṯ' => 'Ṯ' (line 1526) 1173s # Converting 'Ṱ' => 'Ṱ' (line 1527) 1173s # Converting 'ṱ' => 'Ṱ' (line 1528) 1173s # Converting 'Ṳ' => 'Ṳ' (line 1529) 1173s # Converting 'ṳ' => 'Ṳ' (line 1530) 1173s # Converting 'Ṵ' => 'Ṵ' (line 1531) 1173s # Converting 'ṵ' => 'Ṵ' (line 1532) 1173s # Converting 'Ṷ' => 'Ṷ' (line 1533) 1173s # Converting 'ṷ' => 'Ṷ' (line 1534) 1173s # Converting 'Ṹ' => 'Ṹ' (line 1535) 1173s # Converting 'ṹ' => 'Ṹ' (line 1536) 1173s # Converting 'Ṻ' => 'Ṻ' (line 1537) 1173s # Converting 'ṻ' => 'Ṻ' (line 1538) 1173s # Converting 'Ṽ' => 'Ṽ' (line 1539) 1173s # Converting 'ṽ' => 'Ṽ' (line 1540) 1173s # Converting 'Ṿ' => 'Ṿ' (line 1541) 1173s # Converting 'ṿ' => 'Ṿ' (line 1542) 1173s # Converting 'Ẁ' => 'Ẁ' (line 1543) 1173s # Converting 'ẁ' => 'Ẁ' (line 1544) 1173s # Converting 'Ẃ' => 'Ẃ' (line 1545) 1173s # Converting 'ẃ' => 'Ẃ' (line 1546) 1173s # Converting 'Ẅ' => 'Ẅ' (line 1547) 1173s # Converting 'ẅ' => 'Ẅ' (line 1548) 1173s # Converting 'Ẇ' => 'Ẇ' (line 1549) 1173s # Converting 'ẇ' => 'Ẇ' (line 1550) 1173s # Converting 'Ẉ' => 'Ẉ' (line 1551) 1173s # Converting 'ẉ' => 'Ẉ' (line 1552) 1173s # Converting 'Ẋ' => 'Ẋ' (line 1553) 1173s # Converting 'ẋ' => 'Ẋ' (line 1554) 1173s # Converting 'Ẍ' => 'Ẍ' (line 1555) 1173s # Converting 'ẍ' => 'Ẍ' (line 1556) 1173s # Converting 'Ẏ' => 'Ẏ' (line 1557) 1173s # Converting 'ẏ' => 'Ẏ' (line 1558) 1173s # Converting 'Ẑ' => 'Ẑ' (line 1559) 1173s # Converting 'ẑ' => 'Ẑ' (line 1560) 1173s # Converting 'Ẓ' => 'Ẓ' (line 1561) 1173s # Converting 'ẓ' => 'Ẓ' (line 1562) 1173s # Converting 'Ẕ' => 'Ẕ' (line 1563) 1173s # Converting 'ẕ' => 'Ẕ' (line 1564) 1173s # Converting 'ẖ' => 'H̱' (line 1565) 1173s # Converting 'ẗ' => 'T̈' (line 1566) 1173s # Converting 'ẘ' => 'W̊' (line 1567) 1173s # Converting 'ẙ' => 'Y̊' (line 1568) 1173s # Converting 'ẚ' => 'Aʾ' (line 1569) 1173s # Converting 'ẛ' => 'Ṡ' (line 1570) 1173s # Converting 'ẜ' => 'ẜ' (line 1571) 1173s # Converting 'ẝ' => 'ẝ' (line 1572) 1173s # Converting 'ẞ' => 'ẞ' (line 1573) 1173s # Converting 'ẟ' => 'ẟ' (line 1574) 1173s # Converting 'Ạ' => 'Ạ' (line 1575) 1173s # Converting 'ạ' => 'Ạ' (line 1576) 1173s # Converting 'Ả' => 'Ả' (line 1577) 1173s # Converting 'ả' => 'Ả' (line 1578) 1173s # Converting 'Ấ' => 'Ấ' (line 1579) 1173s # Converting 'ấ' => 'Ấ' (line 1580) 1173s # Converting 'Ầ' => 'Ầ' (line 1581) 1173s # Converting 'ầ' => 'Ầ' (line 1582) 1173s # Converting 'Ẩ' => 'Ẩ' (line 1583) 1173s # Converting 'ẩ' => 'Ẩ' (line 1584) 1173s # Converting 'Ẫ' => 'Ẫ' (line 1585) 1173s # Converting 'ẫ' => 'Ẫ' (line 1586) 1173s # Converting 'Ậ' => 'Ậ' (line 1587) 1173s # Converting 'ậ' => 'Ậ' (line 1588) 1173s # Converting 'Ắ' => 'Ắ' (line 1589) 1173s # Converting 'ắ' => 'Ắ' (line 1590) 1173s # Converting 'Ằ' => 'Ằ' (line 1591) 1173s # Converting 'ằ' => 'Ằ' (line 1592) 1173s # Converting 'Ẳ' => 'Ẳ' (line 1593) 1173s # Converting 'ẳ' => 'Ẳ' (line 1594) 1173s # Converting 'Ẵ' => 'Ẵ' (line 1595) 1173s # Converting 'ẵ' => 'Ẵ' (line 1596) 1173s # Converting 'Ặ' => 'Ặ' (line 1597) 1173s # Converting 'ặ' => 'Ặ' (line 1598) 1173s # Converting 'Ẹ' => 'Ẹ' (line 1599) 1173s # Converting 'ẹ' => 'Ẹ' (line 1600) 1173s # Converting 'Ẻ' => 'Ẻ' (line 1601) 1173s # Converting 'ẻ' => 'Ẻ' (line 1602) 1173s # Converting 'Ẽ' => 'Ẽ' (line 1603) 1173s # Converting 'ẽ' => 'Ẽ' (line 1604) 1173s # Converting 'Ế' => 'Ế' (line 1605) 1173s # Converting 'ế' => 'Ế' (line 1606) 1173s # Converting 'Ề' => 'Ề' (line 1607) 1173s # Converting 'ề' => 'Ề' (line 1608) 1173s # Converting 'Ể' => 'Ể' (line 1609) 1173s # Converting 'ể' => 'Ể' (line 1610) 1173s # Converting 'Ễ' => 'Ễ' (line 1611) 1173s # Converting 'ễ' => 'Ễ' (line 1612) 1173s # Converting 'Ệ' => 'Ệ' (line 1613) 1173s # Converting 'ệ' => 'Ệ' (line 1614) 1173s # Converting 'Ỉ' => 'Ỉ' (line 1615) 1173s # Converting 'ỉ' => 'Ỉ' (line 1616) 1173s # Converting 'Ị' => 'Ị' (line 1617) 1173s # Converting 'ị' => 'Ị' (line 1618) 1173s # Converting 'Ọ' => 'Ọ' (line 1619) 1173s # Converting 'ọ' => 'Ọ' (line 1620) 1173s # Converting 'Ỏ' => 'Ỏ' (line 1621) 1173s # Converting 'ỏ' => 'Ỏ' (line 1622) 1173s # Converting 'Ố' => 'Ố' (line 1623) 1173s # Converting 'ố' => 'Ố' (line 1624) 1173s # Converting 'Ồ' => 'Ồ' (line 1625) 1173s # Converting 'ồ' => 'Ồ' (line 1626) 1173s # Converting 'Ổ' => 'Ổ' (line 1627) 1173s # Converting 'ổ' => 'Ổ' (line 1628) 1173s # Converting 'Ỗ' => 'Ỗ' (line 1629) 1173s # Converting 'ỗ' => 'Ỗ' (line 1630) 1173s # Converting 'Ộ' => 'Ộ' (line 1631) 1173s # Converting 'ộ' => 'Ộ' (line 1632) 1173s # Converting 'Ớ' => 'Ớ' (line 1633) 1173s # Converting 'ớ' => 'Ớ' (line 1634) 1173s # Converting 'Ờ' => 'Ờ' (line 1635) 1173s # Converting 'ờ' => 'Ờ' (line 1636) 1173s # Converting 'Ở' => 'Ở' (line 1637) 1173s # Converting 'ở' => 'Ở' (line 1638) 1173s # Converting 'Ỡ' => 'Ỡ' (line 1639) 1173s # Converting 'ỡ' => 'Ỡ' (line 1640) 1173s # Converting 'Ợ' => 'Ợ' (line 1641) 1173s # Converting 'ợ' => 'Ợ' (line 1642) 1173s # Converting 'Ụ' => 'Ụ' (line 1643) 1173s # Converting 'ụ' => 'Ụ' (line 1644) 1173s # Converting 'Ủ' => 'Ủ' (line 1645) 1173s # Converting 'ủ' => 'Ủ' (line 1646) 1173s # Converting 'Ứ' => 'Ứ' (line 1647) 1173s # Converting 'ứ' => 'Ứ' (line 1648) 1173s # Converting 'Ừ' => 'Ừ' (line 1649) 1173s # Converting 'ừ' => 'Ừ' (line 1650) 1173s # Converting 'Ử' => 'Ử' (line 1651) 1173s # Converting 'ử' => 'Ử' (line 1652) 1173s # Converting 'Ữ' => 'Ữ' (line 1653) 1173s # Converting 'ữ' => 'Ữ' (line 1654) 1173s # Converting 'Ự' => 'Ự' (line 1655) 1173s # Converting 'ự' => 'Ự' (line 1656) 1173s # Converting 'Ỳ' => 'Ỳ' (line 1657) 1173s # Converting 'ỳ' => 'Ỳ' (line 1658) 1173s # Converting 'Ỵ' => 'Ỵ' (line 1659) 1173s # Converting 'ỵ' => 'Ỵ' (line 1660) 1173s # Converting 'Ỷ' => 'Ỷ' (line 1661) 1173s # Converting 'ỷ' => 'Ỷ' (line 1662) 1173s # Converting 'Ỹ' => 'Ỹ' (line 1663) 1173s # Converting 'ỹ' => 'Ỹ' (line 1664) 1173s # Converting 'Ỻ' => 'Ỻ' (line 1665) 1173s # Converting 'ỻ' => 'Ỻ' (line 1666) 1173s # Converting 'Ỽ' => 'Ỽ' (line 1667) 1173s # Converting 'ỽ' => 'Ỽ' (line 1668) 1173s # Converting 'Ỿ' => 'Ỿ' (line 1669) 1173s # Converting 'ỿ' => 'Ỿ' (line 1670) 1173s # Converting 'ἀ' => 'Ἀ' (line 1671) 1173s # Converting 'ἁ' => 'Ἁ' (line 1672) 1173s # Converting 'ἂ' => 'Ἂ' (line 1673) 1173s # Converting 'ἃ' => 'Ἃ' (line 1674) 1173s # Converting 'ἄ' => 'Ἄ' (line 1675) 1173s # Converting 'ἅ' => 'Ἅ' (line 1676) 1173s # Converting 'ἆ' => 'Ἆ' (line 1677) 1173s # Converting 'ἇ' => 'Ἇ' (line 1678) 1173s # Converting 'Ἀ' => 'Ἀ' (line 1679) 1173s # Converting 'Ἁ' => 'Ἁ' (line 1680) 1173s # Converting 'Ἂ' => 'Ἂ' (line 1681) 1173s # Converting 'Ἃ' => 'Ἃ' (line 1682) 1173s # Converting 'Ἄ' => 'Ἄ' (line 1683) 1173s # Converting 'Ἅ' => 'Ἅ' (line 1684) 1173s # Converting 'Ἆ' => 'Ἆ' (line 1685) 1173s # Converting 'Ἇ' => 'Ἇ' (line 1686) 1173s # Converting 'ἐ' => 'Ἐ' (line 1687) 1173s # Converting 'ἑ' => 'Ἑ' (line 1688) 1173s # Converting 'ἒ' => 'Ἒ' (line 1689) 1173s # Converting 'ἓ' => 'Ἓ' (line 1690) 1173s # Converting 'ἔ' => 'Ἔ' (line 1691) 1173s # Converting 'ἕ' => 'Ἕ' (line 1692) 1173s # Converting 'Ἐ' => 'Ἐ' (line 1693) 1173s # Converting 'Ἑ' => 'Ἑ' (line 1694) 1173s # Converting 'Ἒ' => 'Ἒ' (line 1695) 1173s # Converting 'Ἓ' => 'Ἓ' (line 1696) 1173s # Converting 'Ἔ' => 'Ἔ' (line 1697) 1173s # Converting 'Ἕ' => 'Ἕ' (line 1698) 1173s # Converting 'ἠ' => 'Ἠ' (line 1699) 1173s # Converting 'ἡ' => 'Ἡ' (line 1700) 1173s # Converting 'ἢ' => 'Ἢ' (line 1701) 1173s # Converting 'ἣ' => 'Ἣ' (line 1702) 1173s # Converting 'ἤ' => 'Ἤ' (line 1703) 1173s # Converting 'ἥ' => 'Ἥ' (line 1704) 1173s # Converting 'ἦ' => 'Ἦ' (line 1705) 1173s # Converting 'ἧ' => 'Ἧ' (line 1706) 1173s # Converting 'Ἠ' => 'Ἠ' (line 1707) 1173s # Converting 'Ἡ' => 'Ἡ' (line 1708) 1173s # Converting 'Ἢ' => 'Ἢ' (line 1709) 1173s # Converting 'Ἣ' => 'Ἣ' (line 1710) 1173s # Converting 'Ἤ' => 'Ἤ' (line 1711) 1173s # Converting 'Ἥ' => 'Ἥ' (line 1712) 1173s # Converting 'Ἦ' => 'Ἦ' (line 1713) 1173s # Converting 'Ἧ' => 'Ἧ' (line 1714) 1173s # Converting 'ἰ' => 'Ἰ' (line 1715) 1173s # Converting 'ἱ' => 'Ἱ' (line 1716) 1173s # Converting 'ἲ' => 'Ἲ' (line 1717) 1173s # Converting 'ἳ' => 'Ἳ' (line 1718) 1173s # Converting 'ἴ' => 'Ἴ' (line 1719) 1173s # Converting 'ἵ' => 'Ἵ' (line 1720) 1173s # Converting 'ἶ' => 'Ἶ' (line 1721) 1173s # Converting 'ἷ' => 'Ἷ' (line 1722) 1173s # Converting 'Ἰ' => 'Ἰ' (line 1723) 1173s # Converting 'Ἱ' => 'Ἱ' (line 1724) 1173s # Converting 'Ἲ' => 'Ἲ' (line 1725) 1173s # Converting 'Ἳ' => 'Ἳ' (line 1726) 1173s # Converting 'Ἴ' => 'Ἴ' (line 1727) 1173s # Converting 'Ἵ' => 'Ἵ' (line 1728) 1173s # Converting 'Ἶ' => 'Ἶ' (line 1729) 1173s # Converting 'Ἷ' => 'Ἷ' (line 1730) 1173s # Converting 'ὀ' => 'Ὀ' (line 1731) 1173s # Converting 'ὁ' => 'Ὁ' (line 1732) 1173s # Converting 'ὂ' => 'Ὂ' (line 1733) 1173s # Converting 'ὃ' => 'Ὃ' (line 1734) 1173s # Converting 'ὄ' => 'Ὄ' (line 1735) 1173s # Converting 'ὅ' => 'Ὅ' (line 1736) 1173s # Converting 'Ὀ' => 'Ὀ' (line 1737) 1173s # Converting 'Ὁ' => 'Ὁ' (line 1738) 1173s # Converting 'Ὂ' => 'Ὂ' (line 1739) 1173s # Converting 'Ὃ' => 'Ὃ' (line 1740) 1173s # Converting 'Ὄ' => 'Ὄ' (line 1741) 1173s # Converting 'Ὅ' => 'Ὅ' (line 1742) 1173s # Converting 'ὐ' => 'Υ̓' (line 1743) 1173s # Converting 'ὑ' => 'Ὑ' (line 1744) 1173s # Converting 'ὒ' => 'Υ̓̀' (line 1745) 1173s # Converting 'ὓ' => 'Ὓ' (line 1746) 1173s # Converting 'ὔ' => 'Υ̓́' (line 1747) 1173s # Converting 'ὕ' => 'Ὕ' (line 1748) 1173s # Converting 'ὖ' => 'Υ̓͂' (line 1749) 1173s # Converting 'ὗ' => 'Ὗ' (line 1750) 1173s # Converting 'Ὑ' => 'Ὑ' (line 1751) 1173s # Converting 'Ὓ' => 'Ὓ' (line 1752) 1173s # Converting 'Ὕ' => 'Ὕ' (line 1753) 1173s # Converting 'Ὗ' => 'Ὗ' (line 1754) 1173s # Converting 'ὠ' => 'Ὠ' (line 1755) 1173s # Converting 'ὡ' => 'Ὡ' (line 1756) 1173s # Converting 'ὢ' => 'Ὢ' (line 1757) 1173s # Converting 'ὣ' => 'Ὣ' (line 1758) 1173s # Converting 'ὤ' => 'Ὤ' (line 1759) 1173s # Converting 'ὥ' => 'Ὥ' (line 1760) 1173s # Converting 'ὦ' => 'Ὦ' (line 1761) 1173s # Converting 'ὧ' => 'Ὧ' (line 1762) 1173s # Converting 'Ὠ' => 'Ὠ' (line 1763) 1173s # Converting 'Ὡ' => 'Ὡ' (line 1764) 1173s # Converting 'Ὢ' => 'Ὢ' (line 1765) 1173s # Converting 'Ὣ' => 'Ὣ' (line 1766) 1173s # Converting 'Ὤ' => 'Ὤ' (line 1767) 1173s # Converting 'Ὥ' => 'Ὥ' (line 1768) 1173s # Converting 'Ὦ' => 'Ὦ' (line 1769) 1173s # Converting 'Ὧ' => 'Ὧ' (line 1770) 1173s # Converting 'ὰ' => 'Ὰ' (line 1771) 1173s # Converting 'ά' => 'Ά' (line 1772) 1173s # Converting 'ὲ' => 'Ὲ' (line 1773) 1173s # Converting 'έ' => 'Έ' (line 1774) 1173s # Converting 'ὴ' => 'Ὴ' (line 1775) 1173s # Converting 'ή' => 'Ή' (line 1776) 1173s # Converting 'ὶ' => 'Ὶ' (line 1777) 1173s # Converting 'ί' => 'Ί' (line 1778) 1173s # Converting 'ὸ' => 'Ὸ' (line 1779) 1173s # Converting 'ό' => 'Ό' (line 1780) 1173s # Converting 'ὺ' => 'Ὺ' (line 1781) 1173s # Converting 'ύ' => 'Ύ' (line 1782) 1173s # Converting 'ὼ' => 'Ὼ' (line 1783) 1173s # Converting 'ώ' => 'Ώ' (line 1784) 1173s # Converting 'ᾀ' => 'ἈΙ' (line 1785) 1173s # Converting 'ᾁ' => 'ἉΙ' (line 1786) 1173s # Converting 'ᾂ' => 'ἊΙ' (line 1787) 1173s # Converting 'ᾃ' => 'ἋΙ' (line 1788) 1173s # Converting 'ᾄ' => 'ἌΙ' (line 1789) 1173s # Converting 'ᾅ' => 'ἍΙ' (line 1790) 1173s # Converting 'ᾆ' => 'ἎΙ' (line 1791) 1173s # Converting 'ᾇ' => 'ἏΙ' (line 1792) 1173s # Converting 'ᾈ' => 'ἈΙ' (line 1793) 1173s # Converting 'ᾉ' => 'ἉΙ' (line 1794) 1173s # Converting 'ᾊ' => 'ἊΙ' (line 1795) 1173s # Converting 'ᾋ' => 'ἋΙ' (line 1796) 1173s # Converting 'ᾌ' => 'ἌΙ' (line 1797) 1173s # Converting 'ᾍ' => 'ἍΙ' (line 1798) 1173s # Converting 'ᾎ' => 'ἎΙ' (line 1799) 1173s # Converting 'ᾏ' => 'ἏΙ' (line 1800) 1173s # Converting 'ᾐ' => 'ἨΙ' (line 1801) 1173s # Converting 'ᾑ' => 'ἩΙ' (line 1802) 1173s # Converting 'ᾒ' => 'ἪΙ' (line 1803) 1173s # Converting 'ᾓ' => 'ἫΙ' (line 1804) 1173s # Converting 'ᾔ' => 'ἬΙ' (line 1805) 1173s # Converting 'ᾕ' => 'ἭΙ' (line 1806) 1173s # Converting 'ᾖ' => 'ἮΙ' (line 1807) 1173s # Converting 'ᾗ' => 'ἯΙ' (line 1808) 1173s # Converting 'ᾘ' => 'ἨΙ' (line 1809) 1173s # Converting 'ᾙ' => 'ἩΙ' (line 1810) 1173s # Converting 'ᾚ' => 'ἪΙ' (line 1811) 1173s # Converting 'ᾛ' => 'ἫΙ' (line 1812) 1173s # Converting 'ᾜ' => 'ἬΙ' (line 1813) 1173s # Converting 'ᾝ' => 'ἭΙ' (line 1814) 1173s # Converting 'ᾞ' => 'ἮΙ' (line 1815) 1173s # Converting 'ᾟ' => 'ἯΙ' (line 1816) 1173s # Converting 'ᾠ' => 'ὨΙ' (line 1817) 1173s # Converting 'ᾡ' => 'ὩΙ' (line 1818) 1173s # Converting 'ᾢ' => 'ὪΙ' (line 1819) 1173s # Converting 'ᾣ' => 'ὫΙ' (line 1820) 1173s # Converting 'ᾤ' => 'ὬΙ' (line 1821) 1173s # Converting 'ᾥ' => 'ὭΙ' (line 1822) 1173s # Converting 'ᾦ' => 'ὮΙ' (line 1823) 1173s # Converting 'ᾧ' => 'ὯΙ' (line 1824) 1173s # Converting 'ᾨ' => 'ὨΙ' (line 1825) 1173s # Converting 'ᾩ' => 'ὩΙ' (line 1826) 1173s # Converting 'ᾪ' => 'ὪΙ' (line 1827) 1173s # Converting 'ᾫ' => 'ὫΙ' (line 1828) 1173s # Converting 'ᾬ' => 'ὬΙ' (line 1829) 1173s # Converting 'ᾭ' => 'ὭΙ' (line 1830) 1173s # Converting 'ᾮ' => 'ὮΙ' (line 1831) 1173s # Converting 'ᾯ' => 'ὯΙ' (line 1832) 1173s # Converting 'ᾰ' => 'Ᾰ' (line 1833) 1173s # Converting 'ᾱ' => 'Ᾱ' (line 1834) 1173s # Converting 'ᾲ' => 'ᾺΙ' (line 1835) 1173s # Converting 'ᾳ' => 'ΑΙ' (line 1836) 1173s # Converting 'ᾴ' => 'ΆΙ' (line 1837) 1173s # Converting 'ᾶ' => 'Α͂' (line 1838) 1173s # Converting 'ᾷ' => 'Α͂Ι' (line 1839) 1173s # Converting 'Ᾰ' => 'Ᾰ' (line 1840) 1173s # Converting 'Ᾱ' => 'Ᾱ' (line 1841) 1173s # Converting 'Ὰ' => 'Ὰ' (line 1842) 1173s # Converting 'Ά' => 'Ά' (line 1843) 1173s # Converting 'ᾼ' => 'ΑΙ' (line 1844) 1173s # Converting 'ι' => 'Ι' (line 1845) 1173s # Converting 'ῂ' => 'ῊΙ' (line 1846) 1173s # Converting 'ῃ' => 'ΗΙ' (line 1847) 1173s # Converting 'ῄ' => 'ΉΙ' (line 1848) 1173s # Converting 'ῆ' => 'Η͂' (line 1849) 1173s # Converting 'ῇ' => 'Η͂Ι' (line 1850) 1173s # Converting 'Ὲ' => 'Ὲ' (line 1851) 1173s # Converting 'Έ' => 'Έ' (line 1852) 1173s # Converting 'Ὴ' => 'Ὴ' (line 1853) 1173s # Converting 'Ή' => 'Ή' (line 1854) 1173s # Converting 'ῌ' => 'ΗΙ' (line 1855) 1173s # Converting 'ῐ' => 'Ῐ' (line 1856) 1173s # Converting 'ῑ' => 'Ῑ' (line 1857) 1173s # Converting 'ῒ' => 'Ϊ̀' (line 1858) 1173s # Converting 'ΐ' => 'Ϊ́' (line 1859) 1173s # Converting 'ῖ' => 'Ι͂' (line 1860) 1173s # Converting 'ῗ' => 'Ϊ͂' (line 1861) 1173s # Converting 'Ῐ' => 'Ῐ' (line 1862) 1173s # Converting 'Ῑ' => 'Ῑ' (line 1863) 1173s # Converting 'Ὶ' => 'Ὶ' (line 1864) 1173s # Converting 'Ί' => 'Ί' (line 1865) 1173s # Converting 'ῠ' => 'Ῠ' (line 1866) 1173s # Converting 'ῡ' => 'Ῡ' (line 1867) 1173s # Converting 'ῢ' => 'Ϋ̀' (line 1868) 1173s # Converting 'ΰ' => 'Ϋ́' (line 1869) 1173s # Converting 'ῤ' => 'Ρ̓' (line 1870) 1173s # Converting 'ῥ' => 'Ῥ' (line 1871) 1173s # Converting 'ῦ' => 'Υ͂' (line 1872) 1173s # Converting 'ῧ' => 'Ϋ͂' (line 1873) 1173s # Converting 'Ῠ' => 'Ῠ' (line 1874) 1173s # Converting 'Ῡ' => 'Ῡ' (line 1875) 1173s # Converting 'Ὺ' => 'Ὺ' (line 1876) 1173s # Converting 'Ύ' => 'Ύ' (line 1877) 1173s # Converting 'Ῥ' => 'Ῥ' (line 1878) 1173s # Converting 'ῲ' => 'ῺΙ' (line 1879) 1173s # Converting 'ῳ' => 'ΩΙ' (line 1880) 1173s # Converting 'ῴ' => 'ΏΙ' (line 1881) 1173s # Converting 'ῶ' => 'Ω͂' (line 1882) 1173s # Converting 'ῷ' => 'Ω͂Ι' (line 1883) 1173s # Converting 'Ὸ' => 'Ὸ' (line 1884) 1173s # Converting 'Ό' => 'Ό' (line 1885) 1173s # Converting 'Ὼ' => 'Ὼ' (line 1886) 1173s # Converting 'Ώ' => 'Ώ' (line 1887) 1173s # Converting 'ῼ' => 'ΩΙ' (line 1888) 1173s # Converting 'ℂ' => 'ℂ' (line 1889) 1173s # Converting 'ℇ' => 'ℇ' (line 1890) 1173s # Converting 'ℊ' => 'ℊ' (line 1891) 1173s # Converting 'ℋ' => 'ℋ' (line 1892) 1173s # Converting 'ℌ' => 'ℌ' (line 1893) 1173s # Converting 'ℍ' => 'ℍ' (line 1894) 1173s # Converting 'ℎ' => 'ℎ' (line 1895) 1173s # Converting 'ℏ' => 'ℏ' (line 1896) 1173s # Converting 'ℐ' => 'ℐ' (line 1897) 1173s # Converting 'ℑ' => 'ℑ' (line 1898) 1173s # Converting 'ℒ' => 'ℒ' (line 1899) 1173s # Converting 'ℓ' => 'ℓ' (line 1900) 1173s # Converting 'ℕ' => 'ℕ' (line 1901) 1173s # Converting 'ℙ' => 'ℙ' (line 1902) 1173s # Converting 'ℚ' => 'ℚ' (line 1903) 1173s # Converting 'ℛ' => 'ℛ' (line 1904) 1173s # Converting 'ℜ' => 'ℜ' (line 1905) 1173s # Converting 'ℝ' => 'ℝ' (line 1906) 1173s # Converting 'ℤ' => 'ℤ' (line 1907) 1173s # Converting 'Ω' => 'Ω' (line 1908) 1173s # Converting 'ℨ' => 'ℨ' (line 1909) 1173s # Converting 'K' => 'K' (line 1910) 1173s # Converting 'Å' => 'Å' (line 1911) 1173s # Converting 'ℬ' => 'ℬ' (line 1912) 1173s # Converting 'ℭ' => 'ℭ' (line 1913) 1173s # Converting 'ℯ' => 'ℯ' (line 1914) 1173s # Converting 'ℰ' => 'ℰ' (line 1915) 1173s # Converting 'ℱ' => 'ℱ' (line 1916) 1173s # Converting 'Ⅎ' => 'Ⅎ' (line 1917) 1173s # Converting 'ℳ' => 'ℳ' (line 1918) 1173s # Converting 'ℴ' => 'ℴ' (line 1919) 1173s # Converting 'ℹ' => 'ℹ' (line 1920) 1173s # Converting 'ℼ' => 'ℼ' (line 1921) 1173s # Converting 'ℽ' => 'ℽ' (line 1922) 1173s # Converting 'ℾ' => 'ℾ' (line 1923) 1173s # Converting 'ℿ' => 'ℿ' (line 1924) 1173s # Converting 'ⅅ' => 'ⅅ' (line 1925) 1173s # Converting 'ⅆ' => 'ⅆ' (line 1926) 1173s # Converting 'ⅇ' => 'ⅇ' (line 1927) 1173s # Converting 'ⅈ' => 'ⅈ' (line 1928) 1173s # Converting 'ⅉ' => 'ⅉ' (line 1929) 1173s # Converting 'ⅎ' => 'Ⅎ' (line 1930) 1173s # Converting 'Ↄ' => 'Ↄ' (line 1931) 1173s # Converting 'ↄ' => 'Ↄ' (line 1932) 1173s # Converting 'Ⰰ' => 'Ⰰ' (line 1933) 1173s # Converting 'Ⰱ' => 'Ⰱ' (line 1934) 1173s # Converting 'Ⰲ' => 'Ⰲ' (line 1935) 1173s # Converting 'Ⰳ' => 'Ⰳ' (line 1936) 1173s # Converting 'Ⰴ' => 'Ⰴ' (line 1937) 1173s # Converting 'Ⰵ' => 'Ⰵ' (line 1938) 1173s # Converting 'Ⰶ' => 'Ⰶ' (line 1939) 1173s # Converting 'Ⰷ' => 'Ⰷ' (line 1940) 1173s # Converting 'Ⰸ' => 'Ⰸ' (line 1941) 1173s # Converting 'Ⰹ' => 'Ⰹ' (line 1942) 1173s # Converting 'Ⰺ' => 'Ⰺ' (line 1943) 1173s # Converting 'Ⰻ' => 'Ⰻ' (line 1944) 1173s # Converting 'Ⰼ' => 'Ⰼ' (line 1945) 1173s # Converting 'Ⰽ' => 'Ⰽ' (line 1946) 1173s # Converting 'Ⰾ' => 'Ⰾ' (line 1947) 1173s # Converting 'Ⰿ' => 'Ⰿ' (line 1948) 1173s # Converting 'Ⱀ' => 'Ⱀ' (line 1949) 1173s # Converting 'Ⱁ' => 'Ⱁ' (line 1950) 1173s # Converting 'Ⱂ' => 'Ⱂ' (line 1951) 1173s # Converting 'Ⱃ' => 'Ⱃ' (line 1952) 1173s # Converting 'Ⱄ' => 'Ⱄ' (line 1953) 1173s # Converting 'Ⱅ' => 'Ⱅ' (line 1954) 1173s # Converting 'Ⱆ' => 'Ⱆ' (line 1955) 1173s # Converting 'Ⱇ' => 'Ⱇ' (line 1956) 1173s # Converting 'Ⱈ' => 'Ⱈ' (line 1957) 1173s # Converting 'Ⱉ' => 'Ⱉ' (line 1958) 1173s # Converting 'Ⱊ' => 'Ⱊ' (line 1959) 1173s # Converting 'Ⱋ' => 'Ⱋ' (line 1960) 1173s # Converting 'Ⱌ' => 'Ⱌ' (line 1961) 1173s # Converting 'Ⱍ' => 'Ⱍ' (line 1962) 1173s # Converting 'Ⱎ' => 'Ⱎ' (line 1963) 1173s # Converting 'Ⱏ' => 'Ⱏ' (line 1964) 1173s # Converting 'Ⱐ' => 'Ⱐ' (line 1965) 1173s # Converting 'Ⱑ' => 'Ⱑ' (line 1966) 1173s # Converting 'Ⱒ' => 'Ⱒ' (line 1967) 1173s # Converting 'Ⱓ' => 'Ⱓ' (line 1968) 1173s # Converting 'Ⱔ' => 'Ⱔ' (line 1969) 1173s # Converting 'Ⱕ' => 'Ⱕ' (line 1970) 1173s # Converting 'Ⱖ' => 'Ⱖ' (line 1971) 1173s # Converting 'Ⱗ' => 'Ⱗ' (line 1972) 1173s # Converting 'Ⱘ' => 'Ⱘ' (line 1973) 1173s # Converting 'Ⱙ' => 'Ⱙ' (line 1974) 1173s # Converting 'Ⱚ' => 'Ⱚ' (line 1975) 1173s # Converting 'Ⱛ' => 'Ⱛ' (line 1976) 1173s # Converting 'Ⱜ' => 'Ⱜ' (line 1977) 1173s # Converting 'Ⱝ' => 'Ⱝ' (line 1978) 1173s # Converting 'Ⱞ' => 'Ⱞ' (line 1979) 1173s # Converting 'Ⱟ' => 'Ⱟ' (line 1980) 1173s # Converting 'ⰰ' => 'Ⰰ' (line 1981) 1173s # Converting 'ⰱ' => 'Ⰱ' (line 1982) 1173s # Converting 'ⰲ' => 'Ⰲ' (line 1983) 1173s # Converting 'ⰳ' => 'Ⰳ' (line 1984) 1173s # Converting 'ⰴ' => 'Ⰴ' (line 1985) 1173s # Converting 'ⰵ' => 'Ⰵ' (line 1986) 1173s # Converting 'ⰶ' => 'Ⰶ' (line 1987) 1173s # Converting 'ⰷ' => 'Ⰷ' (line 1988) 1173s # Converting 'ⰸ' => 'Ⰸ' (line 1989) 1173s # Converting 'ⰹ' => 'Ⰹ' (line 1990) 1173s # Converting 'ⰺ' => 'Ⰺ' (line 1991) 1173s # Converting 'ⰻ' => 'Ⰻ' (line 1992) 1173s # Converting 'ⰼ' => 'Ⰼ' (line 1993) 1173s # Converting 'ⰽ' => 'Ⰽ' (line 1994) 1173s # Converting 'ⰾ' => 'Ⰾ' (line 1995) 1173s # Converting 'ⰿ' => 'Ⰿ' (line 1996) 1173s # Converting 'ⱀ' => 'Ⱀ' (line 1997) 1173s # Converting 'ⱁ' => 'Ⱁ' (line 1998) 1173s # Converting 'ⱂ' => 'Ⱂ' (line 1999) 1173s # Converting 'ⱃ' => 'Ⱃ' (line 2000) 1173s # Converting 'ⱄ' => 'Ⱄ' (line 2001) 1173s # Converting 'ⱅ' => 'Ⱅ' (line 2002) 1173s # Converting 'ⱆ' => 'Ⱆ' (line 2003) 1173s # Converting 'ⱇ' => 'Ⱇ' (line 2004) 1173s # Converting 'ⱈ' => 'Ⱈ' (line 2005) 1173s # Converting 'ⱉ' => 'Ⱉ' (line 2006) 1173s # Converting 'ⱊ' => 'Ⱊ' (line 2007) 1173s # Converting 'ⱋ' => 'Ⱋ' (line 2008) 1173s # Converting 'ⱌ' => 'Ⱌ' (line 2009) 1173s # Converting 'ⱍ' => 'Ⱍ' (line 2010) 1173s # Converting 'ⱎ' => 'Ⱎ' (line 2011) 1173s # Converting 'ⱏ' => 'Ⱏ' (line 2012) 1173s # Converting 'ⱐ' => 'Ⱐ' (line 2013) 1173s # Converting 'ⱑ' => 'Ⱑ' (line 2014) 1173s # Converting 'ⱒ' => 'Ⱒ' (line 2015) 1173s # Converting 'ⱓ' => 'Ⱓ' (line 2016) 1173s # Converting 'ⱔ' => 'Ⱔ' (line 2017) 1173s # Converting 'ⱕ' => 'Ⱕ' (line 2018) 1173s # Converting 'ⱖ' => 'Ⱖ' (line 2019) 1173s # Converting 'ⱗ' => 'Ⱗ' (line 2020) 1173s # Converting 'ⱘ' => 'Ⱘ' (line 2021) 1173s # Converting 'ⱙ' => 'Ⱙ' (line 2022) 1173s # Converting 'ⱚ' => 'Ⱚ' (line 2023) 1173s # Converting 'ⱛ' => 'Ⱛ' (line 2024) 1173s # Converting 'ⱜ' => 'Ⱜ' (line 2025) 1173s # Converting 'ⱝ' => 'Ⱝ' (line 2026) 1173s # Converting 'ⱞ' => 'Ⱞ' (line 2027) 1173s # Converting 'ⱟ' => 'Ⱟ' (line 2028) 1173s # Converting 'Ⱡ' => 'Ⱡ' (line 2029) 1173s # Converting 'ⱡ' => 'Ⱡ' (line 2030) 1173s # Converting 'Ɫ' => 'Ɫ' (line 2031) 1173s # Converting 'Ᵽ' => 'Ᵽ' (line 2032) 1173s # Converting 'Ɽ' => 'Ɽ' (line 2033) 1173s # Converting 'ⱥ' => 'Ⱥ' (line 2034) 1173s # Converting 'ⱦ' => 'Ⱦ' (line 2035) 1173s # Converting 'Ⱨ' => 'Ⱨ' (line 2036) 1173s # Converting 'ⱨ' => 'Ⱨ' (line 2037) 1173s # Converting 'Ⱪ' => 'Ⱪ' (line 2038) 1173s # Converting 'ⱪ' => 'Ⱪ' (line 2039) 1173s # Converting 'Ⱬ' => 'Ⱬ' (line 2040) 1173s # Converting 'ⱬ' => 'Ⱬ' (line 2041) 1173s # Converting 'Ɑ' => 'Ɑ' (line 2042) 1173s # Converting 'Ɱ' => 'Ɱ' (line 2043) 1173s # Converting 'Ɐ' => 'Ɐ' (line 2044) 1173s # Converting 'Ɒ' => 'Ɒ' (line 2045) 1173s # Converting 'ⱱ' => 'ⱱ' (line 2046) 1173s # Converting 'Ⱳ' => 'Ⱳ' (line 2047) 1173s # Converting 'ⱳ' => 'Ⱳ' (line 2048) 1173s # Converting 'ⱴ' => 'ⱴ' (line 2049) 1173s # Converting 'Ⱶ' => 'Ⱶ' (line 2050) 1173s # Converting 'ⱶ' => 'Ⱶ' (line 2051) 1173s # Converting 'ⱷ' => 'ⱷ' (line 2052) 1173s # Converting 'ⱸ' => 'ⱸ' (line 2053) 1173s # Converting 'ⱹ' => 'ⱹ' (line 2054) 1173s # Converting 'ⱺ' => 'ⱺ' (line 2055) 1173s # Converting 'ⱻ' => 'ⱻ' (line 2056) 1173s # Converting 'Ȿ' => 'Ȿ' (line 2057) 1173s # Converting 'Ɀ' => 'Ɀ' (line 2058) 1173s # Converting 'Ⲁ' => 'Ⲁ' (line 2059) 1173s # Converting 'ⲁ' => 'Ⲁ' (line 2060) 1173s # Converting 'Ⲃ' => 'Ⲃ' (line 2061) 1173s # Converting 'ⲃ' => 'Ⲃ' (line 2062) 1173s # Converting 'Ⲅ' => 'Ⲅ' (line 2063) 1173s # Converting 'ⲅ' => 'Ⲅ' (line 2064) 1173s # Converting 'Ⲇ' => 'Ⲇ' (line 2065) 1173s # Converting 'ⲇ' => 'Ⲇ' (line 2066) 1173s # Converting 'Ⲉ' => 'Ⲉ' (line 2067) 1173s # Converting 'ⲉ' => 'Ⲉ' (line 2068) 1173s # Converting 'Ⲋ' => 'Ⲋ' (line 2069) 1173s # Converting 'ⲋ' => 'Ⲋ' (line 2070) 1173s # Converting 'Ⲍ' => 'Ⲍ' (line 2071) 1173s # Converting 'ⲍ' => 'Ⲍ' (line 2072) 1173s # Converting 'Ⲏ' => 'Ⲏ' (line 2073) 1173s # Converting 'ⲏ' => 'Ⲏ' (line 2074) 1173s # Converting 'Ⲑ' => 'Ⲑ' (line 2075) 1173s # Converting 'ⲑ' => 'Ⲑ' (line 2076) 1173s # Converting 'Ⲓ' => 'Ⲓ' (line 2077) 1173s # Converting 'ⲓ' => 'Ⲓ' (line 2078) 1173s # Converting 'Ⲕ' => 'Ⲕ' (line 2079) 1173s # Converting 'ⲕ' => 'Ⲕ' (line 2080) 1173s # Converting 'Ⲗ' => 'Ⲗ' (line 2081) 1173s # Converting 'ⲗ' => 'Ⲗ' (line 2082) 1173s # Converting 'Ⲙ' => 'Ⲙ' (line 2083) 1173s # Converting 'ⲙ' => 'Ⲙ' (line 2084) 1173s # Converting 'Ⲛ' => 'Ⲛ' (line 2085) 1173s # Converting 'ⲛ' => 'Ⲛ' (line 2086) 1173s # Converting 'Ⲝ' => 'Ⲝ' (line 2087) 1173s # Converting 'ⲝ' => 'Ⲝ' (line 2088) 1173s # Converting 'Ⲟ' => 'Ⲟ' (line 2089) 1173s # Converting 'ⲟ' => 'Ⲟ' (line 2090) 1173s # Converting 'Ⲡ' => 'Ⲡ' (line 2091) 1173s # Converting 'ⲡ' => 'Ⲡ' (line 2092) 1173s # Converting 'Ⲣ' => 'Ⲣ' (line 2093) 1173s # Converting 'ⲣ' => 'Ⲣ' (line 2094) 1173s # Converting 'Ⲥ' => 'Ⲥ' (line 2095) 1173s # Converting 'ⲥ' => 'Ⲥ' (line 2096) 1173s # Converting 'Ⲧ' => 'Ⲧ' (line 2097) 1173s # Converting 'ⲧ' => 'Ⲧ' (line 2098) 1173s # Converting 'Ⲩ' => 'Ⲩ' (line 2099) 1173s # Converting 'ⲩ' => 'Ⲩ' (line 2100) 1173s # Converting 'Ⲫ' => 'Ⲫ' (line 2101) 1173s # Converting 'ⲫ' => 'Ⲫ' (line 2102) 1173s # Converting 'Ⲭ' => 'Ⲭ' (line 2103) 1173s # Converting 'ⲭ' => 'Ⲭ' (line 2104) 1173s # Converting 'Ⲯ' => 'Ⲯ' (line 2105) 1173s # Converting 'ⲯ' => 'Ⲯ' (line 2106) 1173s # Converting 'Ⲱ' => 'Ⲱ' (line 2107) 1173s # Converting 'ⲱ' => 'Ⲱ' (line 2108) 1173s # Converting 'Ⲳ' => 'Ⲳ' (line 2109) 1173s # Converting 'ⲳ' => 'Ⲳ' (line 2110) 1173s # Converting 'Ⲵ' => 'Ⲵ' (line 2111) 1173s # Converting 'ⲵ' => 'Ⲵ' (line 2112) 1173s # Converting 'Ⲷ' => 'Ⲷ' (line 2113) 1173s # Converting 'ⲷ' => 'Ⲷ' (line 2114) 1173s # Converting 'Ⲹ' => 'Ⲹ' (line 2115) 1173s # Converting 'ⲹ' => 'Ⲹ' (line 2116) 1173s # Converting 'Ⲻ' => 'Ⲻ' (line 2117) 1173s # Converting 'ⲻ' => 'Ⲻ' (line 2118) 1173s # Converting 'Ⲽ' => 'Ⲽ' (line 2119) 1173s # Converting 'ⲽ' => 'Ⲽ' (line 2120) 1173s # Converting 'Ⲿ' => 'Ⲿ' (line 2121) 1173s # Converting 'ⲿ' => 'Ⲿ' (line 2122) 1173s # Converting 'Ⳁ' => 'Ⳁ' (line 2123) 1173s # Converting 'ⳁ' => 'Ⳁ' (line 2124) 1173s # Converting 'Ⳃ' => 'Ⳃ' (line 2125) 1173s # Converting 'ⳃ' => 'Ⳃ' (line 2126) 1173s # Converting 'Ⳅ' => 'Ⳅ' (line 2127) 1173s # Converting 'ⳅ' => 'Ⳅ' (line 2128) 1173s # Converting 'Ⳇ' => 'Ⳇ' (line 2129) 1173s # Converting 'ⳇ' => 'Ⳇ' (line 2130) 1173s # Converting 'Ⳉ' => 'Ⳉ' (line 2131) 1173s # Converting 'ⳉ' => 'Ⳉ' (line 2132) 1173s # Converting 'Ⳋ' => 'Ⳋ' (line 2133) 1173s # Converting 'ⳋ' => 'Ⳋ' (line 2134) 1173s # Converting 'Ⳍ' => 'Ⳍ' (line 2135) 1173s # Converting 'ⳍ' => 'Ⳍ' (line 2136) 1173s # Converting 'Ⳏ' => 'Ⳏ' (line 2137) 1173s # Converting 'ⳏ' => 'Ⳏ' (line 2138) 1173s # Converting 'Ⳑ' => 'Ⳑ' (line 2139) 1173s # Converting 'ⳑ' => 'Ⳑ' (line 2140) 1173s # Converting 'Ⳓ' => 'Ⳓ' (line 2141) 1173s # Converting 'ⳓ' => 'Ⳓ' (line 2142) 1173s # Converting 'Ⳕ' => 'Ⳕ' (line 2143) 1173s # Converting 'ⳕ' => 'Ⳕ' (line 2144) 1173s # Converting 'Ⳗ' => 'Ⳗ' (line 2145) 1173s # Converting 'ⳗ' => 'Ⳗ' (line 2146) 1173s # Converting 'Ⳙ' => 'Ⳙ' (line 2147) 1173s # Converting 'ⳙ' => 'Ⳙ' (line 2148) 1173s # Converting 'Ⳛ' => 'Ⳛ' (line 2149) 1173s # Converting 'ⳛ' => 'Ⳛ' (line 2150) 1173s # Converting 'Ⳝ' => 'Ⳝ' (line 2151) 1173s # Converting 'ⳝ' => 'Ⳝ' (line 2152) 1173s # Converting 'Ⳟ' => 'Ⳟ' (line 2153) 1173s # Converting 'ⳟ' => 'Ⳟ' (line 2154) 1173s # Converting 'Ⳡ' => 'Ⳡ' (line 2155) 1173s # Converting 'ⳡ' => 'Ⳡ' (line 2156) 1173s # Converting 'Ⳣ' => 'Ⳣ' (line 2157) 1173s # Converting 'ⳣ' => 'Ⳣ' (line 2158) 1173s # Converting 'ⳤ' => 'ⳤ' (line 2159) 1173s # Converting 'Ⳬ' => 'Ⳬ' (line 2160) 1173s # Converting 'ⳬ' => 'Ⳬ' (line 2161) 1173s # Converting 'Ⳮ' => 'Ⳮ' (line 2162) 1173s # Converting 'ⳮ' => 'Ⳮ' (line 2163) 1173s # Converting 'Ⳳ' => 'Ⳳ' (line 2164) 1173s # Converting 'ⳳ' => 'Ⳳ' (line 2165) 1173s # Converting 'ⴀ' => 'Ⴀ' (line 2166) 1173s # Converting 'ⴁ' => 'Ⴁ' (line 2167) 1173s # Converting 'ⴂ' => 'Ⴂ' (line 2168) 1173s # Converting 'ⴃ' => 'Ⴃ' (line 2169) 1173s # Converting 'ⴄ' => 'Ⴄ' (line 2170) 1173s # Converting 'ⴅ' => 'Ⴅ' (line 2171) 1173s # Converting 'ⴆ' => 'Ⴆ' (line 2172) 1173s # Converting 'ⴇ' => 'Ⴇ' (line 2173) 1173s # Converting 'ⴈ' => 'Ⴈ' (line 2174) 1173s # Converting 'ⴉ' => 'Ⴉ' (line 2175) 1173s # Converting 'ⴊ' => 'Ⴊ' (line 2176) 1173s # Converting 'ⴋ' => 'Ⴋ' (line 2177) 1173s # Converting 'ⴌ' => 'Ⴌ' (line 2178) 1173s # Converting 'ⴍ' => 'Ⴍ' (line 2179) 1173s # Converting 'ⴎ' => 'Ⴎ' (line 2180) 1173s # Converting 'ⴏ' => 'Ⴏ' (line 2181) 1173s # Converting 'ⴐ' => 'Ⴐ' (line 2182) 1173s # Converting 'ⴑ' => 'Ⴑ' (line 2183) 1173s # Converting 'ⴒ' => 'Ⴒ' (line 2184) 1173s # Converting 'ⴓ' => 'Ⴓ' (line 2185) 1173s # Converting 'ⴔ' => 'Ⴔ' (line 2186) 1173s # Converting 'ⴕ' => 'Ⴕ' (line 2187) 1173s # Converting 'ⴖ' => 'Ⴖ' (line 2188) 1173s # Converting 'ⴗ' => 'Ⴗ' (line 2189) 1173s # Converting 'ⴘ' => 'Ⴘ' (line 2190) 1173s # Converting 'ⴙ' => 'Ⴙ' (line 2191) 1173s # Converting 'ⴚ' => 'Ⴚ' (line 2192) 1173s # Converting 'ⴛ' => 'Ⴛ' (line 2193) 1173s # Converting 'ⴜ' => 'Ⴜ' (line 2194) 1173s # Converting 'ⴝ' => 'Ⴝ' (line 2195) 1173s # Converting 'ⴞ' => 'Ⴞ' (line 2196) 1173s # Converting 'ⴟ' => 'Ⴟ' (line 2197) 1173s # Converting 'ⴠ' => 'Ⴠ' (line 2198) 1173s # Converting 'ⴡ' => 'Ⴡ' (line 2199) 1173s # Converting 'ⴢ' => 'Ⴢ' (line 2200) 1173s # Converting 'ⴣ' => 'Ⴣ' (line 2201) 1173s # Converting 'ⴤ' => 'Ⴤ' (line 2202) 1173s # Converting 'ⴥ' => 'Ⴥ' (line 2203) 1173s # Converting 'ⴧ' => 'Ⴧ' (line 2204) 1173s # Converting 'ⴭ' => 'Ⴭ' (line 2205) 1173s # Converting 'Ꙁ' => 'Ꙁ' (line 2206) 1173s # Converting 'ꙁ' => 'Ꙁ' (line 2207) 1173s # Converting 'Ꙃ' => 'Ꙃ' (line 2208) 1173s # Converting 'ꙃ' => 'Ꙃ' (line 2209) 1173s # Converting 'Ꙅ' => 'Ꙅ' (line 2210) 1173s # Converting 'ꙅ' => 'Ꙅ' (line 2211) 1173s # Converting 'Ꙇ' => 'Ꙇ' (line 2212) 1173s # Converting 'ꙇ' => 'Ꙇ' (line 2213) 1173s # Converting 'Ꙉ' => 'Ꙉ' (line 2214) 1173s # Converting 'ꙉ' => 'Ꙉ' (line 2215) 1173s # Converting 'Ꙋ' => 'Ꙋ' (line 2216) 1173s # Converting 'ꙋ' => 'Ꙋ' (line 2217) 1173s # Converting 'Ꙍ' => 'Ꙍ' (line 2218) 1173s # Converting 'ꙍ' => 'Ꙍ' (line 2219) 1173s # Converting 'Ꙏ' => 'Ꙏ' (line 2220) 1173s # Converting 'ꙏ' => 'Ꙏ' (line 2221) 1173s # Converting 'Ꙑ' => 'Ꙑ' (line 2222) 1173s # Converting 'ꙑ' => 'Ꙑ' (line 2223) 1173s # Converting 'Ꙓ' => 'Ꙓ' (line 2224) 1173s # Converting 'ꙓ' => 'Ꙓ' (line 2225) 1173s # Converting 'Ꙕ' => 'Ꙕ' (line 2226) 1173s # Converting 'ꙕ' => 'Ꙕ' (line 2227) 1173s # Converting 'Ꙗ' => 'Ꙗ' (line 2228) 1173s # Converting 'ꙗ' => 'Ꙗ' (line 2229) 1173s # Converting 'Ꙙ' => 'Ꙙ' (line 2230) 1173s # Converting 'ꙙ' => 'Ꙙ' (line 2231) 1173s # Converting 'Ꙛ' => 'Ꙛ' (line 2232) 1173s # Converting 'ꙛ' => 'Ꙛ' (line 2233) 1173s # Converting 'Ꙝ' => 'Ꙝ' (line 2234) 1173s # Converting 'ꙝ' => 'Ꙝ' (line 2235) 1173s # Converting 'Ꙟ' => 'Ꙟ' (line 2236) 1173s # Converting 'ꙟ' => 'Ꙟ' (line 2237) 1173s # Converting 'Ꙡ' => 'Ꙡ' (line 2238) 1173s # Converting 'ꙡ' => 'Ꙡ' (line 2239) 1173s # Converting 'Ꙣ' => 'Ꙣ' (line 2240) 1173s # Converting 'ꙣ' => 'Ꙣ' (line 2241) 1173s # Converting 'Ꙥ' => 'Ꙥ' (line 2242) 1173s # Converting 'ꙥ' => 'Ꙥ' (line 2243) 1173s # Converting 'Ꙧ' => 'Ꙧ' (line 2244) 1173s # Converting 'ꙧ' => 'Ꙧ' (line 2245) 1173s # Converting 'Ꙩ' => 'Ꙩ' (line 2246) 1173s # Converting 'ꙩ' => 'Ꙩ' (line 2247) 1173s # Converting 'Ꙫ' => 'Ꙫ' (line 2248) 1173s # Converting 'ꙫ' => 'Ꙫ' (line 2249) 1173s # Converting 'Ꙭ' => 'Ꙭ' (line 2250) 1173s # Converting 'ꙭ' => 'Ꙭ' (line 2251) 1173s # Converting 'Ꚁ' => 'Ꚁ' (line 2252) 1173s # Converting 'ꚁ' => 'Ꚁ' (line 2253) 1173s # Converting 'Ꚃ' => 'Ꚃ' (line 2254) 1173s # Converting 'ꚃ' => 'Ꚃ' (line 2255) 1173s # Converting 'Ꚅ' => 'Ꚅ' (line 2256) 1173s # Converting 'ꚅ' => 'Ꚅ' (line 2257) 1173s # Converting 'Ꚇ' => 'Ꚇ' (line 2258) 1173s # Converting 'ꚇ' => 'Ꚇ' (line 2259) 1173s # Converting 'Ꚉ' => 'Ꚉ' (line 2260) 1173s # Converting 'ꚉ' => 'Ꚉ' (line 2261) 1173s # Converting 'Ꚋ' => 'Ꚋ' (line 2262) 1173s # Converting 'ꚋ' => 'Ꚋ' (line 2263) 1173s # Converting 'Ꚍ' => 'Ꚍ' (line 2264) 1173s # Converting 'ꚍ' => 'Ꚍ' (line 2265) 1173s # Converting 'Ꚏ' => 'Ꚏ' (line 2266) 1173s # Converting 'ꚏ' => 'Ꚏ' (line 2267) 1173s # Converting 'Ꚑ' => 'Ꚑ' (line 2268) 1173s # Converting 'ꚑ' => 'Ꚑ' (line 2269) 1173s # Converting 'Ꚓ' => 'Ꚓ' (line 2270) 1173s # Converting 'ꚓ' => 'Ꚓ' (line 2271) 1173s # Converting 'Ꚕ' => 'Ꚕ' (line 2272) 1173s # Converting 'ꚕ' => 'Ꚕ' (line 2273) 1173s # Converting 'Ꚗ' => 'Ꚗ' (line 2274) 1173s # Converting 'ꚗ' => 'Ꚗ' (line 2275) 1173s # Converting 'Ꚙ' => 'Ꚙ' (line 2276) 1173s # Converting 'ꚙ' => 'Ꚙ' (line 2277) 1173s # Converting 'Ꚛ' => 'Ꚛ' (line 2278) 1173s # Converting 'ꚛ' => 'Ꚛ' (line 2279) 1173s # Converting 'Ꜣ' => 'Ꜣ' (line 2280) 1173s # Converting 'ꜣ' => 'Ꜣ' (line 2281) 1173s # Converting 'Ꜥ' => 'Ꜥ' (line 2282) 1173s # Converting 'ꜥ' => 'Ꜥ' (line 2283) 1173s # Converting 'Ꜧ' => 'Ꜧ' (line 2284) 1173s # Converting 'ꜧ' => 'Ꜧ' (line 2285) 1173s # Converting 'Ꜩ' => 'Ꜩ' (line 2286) 1173s # Converting 'ꜩ' => 'Ꜩ' (line 2287) 1173s # Converting 'Ꜫ' => 'Ꜫ' (line 2288) 1173s # Converting 'ꜫ' => 'Ꜫ' (line 2289) 1173s # Converting 'Ꜭ' => 'Ꜭ' (line 2290) 1173s # Converting 'ꜭ' => 'Ꜭ' (line 2291) 1173s # Converting 'Ꜯ' => 'Ꜯ' (line 2292) 1173s # Converting 'ꜯ' => 'Ꜯ' (line 2293) 1173s # Converting 'ꜰ' => 'ꜰ' (line 2294) 1173s # Converting 'ꜱ' => 'ꜱ' (line 2295) 1173s # Converting 'Ꜳ' => 'Ꜳ' (line 2296) 1173s # Converting 'ꜳ' => 'Ꜳ' (line 2297) 1173s # Converting 'Ꜵ' => 'Ꜵ' (line 2298) 1173s # Converting 'ꜵ' => 'Ꜵ' (line 2299) 1173s # Converting 'Ꜷ' => 'Ꜷ' (line 2300) 1173s # Converting 'ꜷ' => 'Ꜷ' (line 2301) 1173s # Converting 'Ꜹ' => 'Ꜹ' (line 2302) 1173s # Converting 'ꜹ' => 'Ꜹ' (line 2303) 1173s # Converting 'Ꜻ' => 'Ꜻ' (line 2304) 1173s # Converting 'ꜻ' => 'Ꜻ' (line 2305) 1173s # Converting 'Ꜽ' => 'Ꜽ' (line 2306) 1173s # Converting 'ꜽ' => 'Ꜽ' (line 2307) 1173s # Converting 'Ꜿ' => 'Ꜿ' (line 2308) 1173s # Converting 'ꜿ' => 'Ꜿ' (line 2309) 1173s # Converting 'Ꝁ' => 'Ꝁ' (line 2310) 1173s # Converting 'ꝁ' => 'Ꝁ' (line 2311) 1173s # Converting 'Ꝃ' => 'Ꝃ' (line 2312) 1173s # Converting 'ꝃ' => 'Ꝃ' (line 2313) 1173s # Converting 'Ꝅ' => 'Ꝅ' (line 2314) 1173s # Converting 'ꝅ' => 'Ꝅ' (line 2315) 1173s # Converting 'Ꝇ' => 'Ꝇ' (line 2316) 1173s # Converting 'ꝇ' => 'Ꝇ' (line 2317) 1173s # Converting 'Ꝉ' => 'Ꝉ' (line 2318) 1173s # Converting 'ꝉ' => 'Ꝉ' (line 2319) 1173s # Converting 'Ꝋ' => 'Ꝋ' (line 2320) 1173s # Converting 'ꝋ' => 'Ꝋ' (line 2321) 1173s # Converting 'Ꝍ' => 'Ꝍ' (line 2322) 1173s # Converting 'ꝍ' => 'Ꝍ' (line 2323) 1173s # Converting 'Ꝏ' => 'Ꝏ' (line 2324) 1173s # Converting 'ꝏ' => 'Ꝏ' (line 2325) 1173s # Converting 'Ꝑ' => 'Ꝑ' (line 2326) 1173s # Converting 'ꝑ' => 'Ꝑ' (line 2327) 1173s # Converting 'Ꝓ' => 'Ꝓ' (line 2328) 1173s # Converting 'ꝓ' => 'Ꝓ' (line 2329) 1173s # Converting 'Ꝕ' => 'Ꝕ' (line 2330) 1173s # Converting 'ꝕ' => 'Ꝕ' (line 2331) 1173s # Converting 'Ꝗ' => 'Ꝗ' (line 2332) 1173s # Converting 'ꝗ' => 'Ꝗ' (line 2333) 1173s # Converting 'Ꝙ' => 'Ꝙ' (line 2334) 1173s # Converting 'ꝙ' => 'Ꝙ' (line 2335) 1173s # Converting 'Ꝛ' => 'Ꝛ' (line 2336) 1173s # Converting 'ꝛ' => 'Ꝛ' (line 2337) 1173s # Converting 'Ꝝ' => 'Ꝝ' (line 2338) 1173s # Converting 'ꝝ' => 'Ꝝ' (line 2339) 1173s # Converting 'Ꝟ' => 'Ꝟ' (line 2340) 1173s # Converting 'ꝟ' => 'Ꝟ' (line 2341) 1173s # Converting 'Ꝡ' => 'Ꝡ' (line 2342) 1173s # Converting 'ꝡ' => 'Ꝡ' (line 2343) 1173s # Converting 'Ꝣ' => 'Ꝣ' (line 2344) 1173s # Converting 'ꝣ' => 'Ꝣ' (line 2345) 1173s # Converting 'Ꝥ' => 'Ꝥ' (line 2346) 1173s # Converting 'ꝥ' => 'Ꝥ' (line 2347) 1173s # Converting 'Ꝧ' => 'Ꝧ' (line 2348) 1173s # Converting 'ꝧ' => 'Ꝧ' (line 2349) 1173s # Converting 'Ꝩ' => 'Ꝩ' (line 2350) 1173s # Converting 'ꝩ' => 'Ꝩ' (line 2351) 1173s # Converting 'Ꝫ' => 'Ꝫ' (line 2352) 1173s # Converting 'ꝫ' => 'Ꝫ' (line 2353) 1173s # Converting 'Ꝭ' => 'Ꝭ' (line 2354) 1173s # Converting 'ꝭ' => 'Ꝭ' (line 2355) 1173s # Converting 'Ꝯ' => 'Ꝯ' (line 2356) 1173s # Converting 'ꝯ' => 'Ꝯ' (line 2357) 1173s # Converting 'ꝱ' => 'ꝱ' (line 2358) 1173s # Converting 'ꝲ' => 'ꝲ' (line 2359) 1173s # Converting 'ꝳ' => 'ꝳ' (line 2360) 1173s # Converting 'ꝴ' => 'ꝴ' (line 2361) 1173s # Converting 'ꝵ' => 'ꝵ' (line 2362) 1173s # Converting 'ꝶ' => 'ꝶ' (line 2363) 1173s # Converting 'ꝷ' => 'ꝷ' (line 2364) 1173s # Converting 'ꝸ' => 'ꝸ' (line 2365) 1173s # Converting 'Ꝺ' => 'Ꝺ' (line 2366) 1173s # Converting 'ꝺ' => 'Ꝺ' (line 2367) 1173s # Converting 'Ꝼ' => 'Ꝼ' (line 2368) 1173s # Converting 'ꝼ' => 'Ꝼ' (line 2369) 1173s # Converting 'Ᵹ' => 'Ᵹ' (line 2370) 1173s # Converting 'Ꝿ' => 'Ꝿ' (line 2371) 1173s # Converting 'ꝿ' => 'Ꝿ' (line 2372) 1173s # Converting 'Ꞁ' => 'Ꞁ' (line 2373) 1173s # Converting 'ꞁ' => 'Ꞁ' (line 2374) 1173s # Converting 'Ꞃ' => 'Ꞃ' (line 2375) 1173s # Converting 'ꞃ' => 'Ꞃ' (line 2376) 1173s # Converting 'Ꞅ' => 'Ꞅ' (line 2377) 1173s # Converting 'ꞅ' => 'Ꞅ' (line 2378) 1173s # Converting 'Ꞇ' => 'Ꞇ' (line 2379) 1173s # Converting 'ꞇ' => 'Ꞇ' (line 2380) 1173s # Converting 'Ꞌ' => 'Ꞌ' (line 2381) 1173s # Converting 'ꞌ' => 'Ꞌ' (line 2382) 1173s # Converting 'Ɥ' => 'Ɥ' (line 2383) 1173s # Converting 'ꞎ' => 'ꞎ' (line 2384) 1173s # Converting 'Ꞑ' => 'Ꞑ' (line 2385) 1173s # Converting 'ꞑ' => 'Ꞑ' (line 2386) 1173s # Converting 'Ꞓ' => 'Ꞓ' (line 2387) 1173s # Converting 'ꞓ' => 'Ꞓ' (line 2388) 1173s # Converting 'ꞔ' => 'Ꞔ' (line 2389) 1173s # Converting 'ꞕ' => 'ꞕ' (line 2390) 1173s # Converting 'Ꞗ' => 'Ꞗ' (line 2391) 1173s # Converting 'ꞗ' => 'Ꞗ' (line 2392) 1173s # Converting 'Ꞙ' => 'Ꞙ' (line 2393) 1173s # Converting 'ꞙ' => 'Ꞙ' (line 2394) 1173s # Converting 'Ꞛ' => 'Ꞛ' (line 2395) 1173s # Converting 'ꞛ' => 'Ꞛ' (line 2396) 1173s # Converting 'Ꞝ' => 'Ꞝ' (line 2397) 1173s # Converting 'ꞝ' => 'Ꞝ' (line 2398) 1173s # Converting 'Ꞟ' => 'Ꞟ' (line 2399) 1173s # Converting 'ꞟ' => 'Ꞟ' (line 2400) 1173s # Converting 'Ꞡ' => 'Ꞡ' (line 2401) 1173s # Converting 'ꞡ' => 'Ꞡ' (line 2402) 1173s # Converting 'Ꞣ' => 'Ꞣ' (line 2403) 1173s # Converting 'ꞣ' => 'Ꞣ' (line 2404) 1173s # Converting 'Ꞥ' => 'Ꞥ' (line 2405) 1173s # Converting 'ꞥ' => 'Ꞥ' (line 2406) 1173s # Converting 'Ꞧ' => 'Ꞧ' (line 2407) 1173s # Converting 'ꞧ' => 'Ꞧ' (line 2408) 1173s # Converting 'Ꞩ' => 'Ꞩ' (line 2409) 1173s # Converting 'ꞩ' => 'Ꞩ' (line 2410) 1173s # Converting 'Ɦ' => 'Ɦ' (line 2411) 1173s # Converting 'Ɜ' => 'Ɜ' (line 2412) 1173s # Converting 'Ɡ' => 'Ɡ' (line 2413) 1173s # Converting 'Ɬ' => 'Ɬ' (line 2414) 1173s # Converting 'Ɪ' => 'Ɪ' (line 2415) 1173s # Converting 'ꞯ' => 'ꞯ' (line 2416) 1173s # Converting 'Ʞ' => 'Ʞ' (line 2417) 1173s # Converting 'Ʇ' => 'Ʇ' (line 2418) 1173s # Converting 'Ʝ' => 'Ʝ' (line 2419) 1173s # Converting 'Ꭓ' => 'Ꭓ' (line 2420) 1173s # Converting 'Ꞵ' => 'Ꞵ' (line 2421) 1173s # Converting 'ꞵ' => 'Ꞵ' (line 2422) 1173s # Converting 'Ꞷ' => 'Ꞷ' (line 2423) 1173s # Converting 'ꞷ' => 'Ꞷ' (line 2424) 1173s # Converting 'Ꞹ' => 'Ꞹ' (line 2425) 1173s # Converting 'ꞹ' => 'Ꞹ' (line 2426) 1173s # Converting 'Ꞻ' => 'Ꞻ' (line 2427) 1173s # Converting 'ꞻ' => 'Ꞻ' (line 2428) 1173s # Converting 'Ꞽ' => 'Ꞽ' (line 2429) 1173s # Converting 'ꞽ' => 'Ꞽ' (line 2430) 1173s # Converting 'Ꞿ' => 'Ꞿ' (line 2431) 1173s # Converting 'ꞿ' => 'Ꞿ' (line 2432) 1173s # Converting 'Ꟁ' => 'Ꟁ' (line 2433) 1173s # Converting 'ꟁ' => 'Ꟁ' (line 2434) 1173s # Converting 'Ꟃ' => 'Ꟃ' (line 2435) 1173s # Converting 'ꟃ' => 'Ꟃ' (line 2436) 1173s # Converting 'Ꞔ' => 'Ꞔ' (line 2437) 1173s # Converting 'Ʂ' => 'Ʂ' (line 2438) 1173s # Converting 'Ᶎ' => 'Ᶎ' (line 2439) 1173s # Converting 'Ꟈ' => 'Ꟈ' (line 2440) 1173s # Converting 'ꟈ' => 'Ꟈ' (line 2441) 1173s # Converting 'Ꟊ' => 'Ꟊ' (line 2442) 1173s # Converting 'ꟊ' => 'Ꟊ' (line 2443) 1173s # Converting 'Ɤ' => 'Ɤ' (line 2444) 1173s # Converting 'Ꟍ' => 'Ꟍ' (line 2445) 1173s # Converting 'ꟍ' => 'Ꟍ' (line 2446) 1173s # Converting '꟎' => '꟎' (line 2447) 1173s # Converting '꟏' => '꟎' (line 2448) 1173s # Converting 'Ꟑ' => 'Ꟑ' (line 2449) 1173s # Converting 'ꟑ' => 'Ꟑ' (line 2450) 1173s # Converting '꟒' => '꟒' (line 2451) 1173s # Converting 'ꟓ' => '꟒' (line 2452) 1173s # Converting '꟔' => '꟔' (line 2453) 1173s # Converting 'ꟕ' => '꟔' (line 2454) 1173s # Converting 'Ꟗ' => 'Ꟗ' (line 2455) 1173s # Converting 'ꟗ' => 'Ꟗ' (line 2456) 1173s # Converting 'Ꟙ' => 'Ꟙ' (line 2457) 1173s # Converting 'ꟙ' => 'Ꟙ' (line 2458) 1173s # Converting 'Ꟛ' => 'Ꟛ' (line 2459) 1173s # Converting 'ꟛ' => 'Ꟛ' (line 2460) 1173s # Converting 'Ƛ' => 'Ƛ' (line 2461) 1173s # Converting 'Ꟶ' => 'Ꟶ' (line 2462) 1173s # Converting 'ꟶ' => 'Ꟶ' (line 2463) 1173s # Converting 'ꟺ' => 'ꟺ' (line 2464) 1173s # Converting 'ꬰ' => 'ꬰ' (line 2465) 1173s # Converting 'ꬱ' => 'ꬱ' (line 2466) 1173s # Converting 'ꬲ' => 'ꬲ' (line 2467) 1173s # Converting 'ꬳ' => 'ꬳ' (line 2468) 1173s # Converting 'ꬴ' => 'ꬴ' (line 2469) 1173s # Converting 'ꬵ' => 'ꬵ' (line 2470) 1173s # Converting 'ꬶ' => 'ꬶ' (line 2471) 1173s # Converting 'ꬷ' => 'ꬷ' (line 2472) 1173s # Converting 'ꬸ' => 'ꬸ' (line 2473) 1173s # Converting 'ꬹ' => 'ꬹ' (line 2474) 1173s # Converting 'ꬺ' => 'ꬺ' (line 2475) 1173s # Converting 'ꬻ' => 'ꬻ' (line 2476) 1173s # Converting 'ꬼ' => 'ꬼ' (line 2477) 1173s # Converting 'ꬽ' => 'ꬽ' (line 2478) 1173s # Converting 'ꬾ' => 'ꬾ' (line 2479) 1173s # Converting 'ꬿ' => 'ꬿ' (line 2480) 1173s # Converting 'ꭀ' => 'ꭀ' (line 2481) 1173s # Converting 'ꭁ' => 'ꭁ' (line 2482) 1173s # Converting 'ꭂ' => 'ꭂ' (line 2483) 1173s # Converting 'ꭃ' => 'ꭃ' (line 2484) 1173s # Converting 'ꭄ' => 'ꭄ' (line 2485) 1173s # Converting 'ꭅ' => 'ꭅ' (line 2486) 1173s # Converting 'ꭆ' => 'ꭆ' (line 2487) 1173s # Converting 'ꭇ' => 'ꭇ' (line 2488) 1173s # Converting 'ꭈ' => 'ꭈ' (line 2489) 1173s # Converting 'ꭉ' => 'ꭉ' (line 2490) 1173s # Converting 'ꭊ' => 'ꭊ' (line 2491) 1173s # Converting 'ꭋ' => 'ꭋ' (line 2492) 1173s # Converting 'ꭌ' => 'ꭌ' (line 2493) 1173s # Converting 'ꭍ' => 'ꭍ' (line 2494) 1173s # Converting 'ꭎ' => 'ꭎ' (line 2495) 1173s # Converting 'ꭏ' => 'ꭏ' (line 2496) 1173s # Converting 'ꭐ' => 'ꭐ' (line 2497) 1173s # Converting 'ꭑ' => 'ꭑ' (line 2498) 1173s # Converting 'ꭒ' => 'ꭒ' (line 2499) 1173s # Converting 'ꭓ' => 'Ꭓ' (line 2500) 1173s # Converting 'ꭔ' => 'ꭔ' (line 2501) 1173s # Converting 'ꭕ' => 'ꭕ' (line 2502) 1173s # Converting 'ꭖ' => 'ꭖ' (line 2503) 1173s # Converting 'ꭗ' => 'ꭗ' (line 2504) 1173s # Converting 'ꭘ' => 'ꭘ' (line 2505) 1173s # Converting 'ꭙ' => 'ꭙ' (line 2506) 1173s # Converting 'ꭚ' => 'ꭚ' (line 2507) 1173s # Converting 'ꭠ' => 'ꭠ' (line 2508) 1173s # Converting 'ꭡ' => 'ꭡ' (line 2509) 1173s # Converting 'ꭢ' => 'ꭢ' (line 2510) 1173s # Converting 'ꭣ' => 'ꭣ' (line 2511) 1173s # Converting 'ꭤ' => 'ꭤ' (line 2512) 1173s # Converting 'ꭥ' => 'ꭥ' (line 2513) 1173s # Converting 'ꭦ' => 'ꭦ' (line 2514) 1173s # Converting 'ꭧ' => 'ꭧ' (line 2515) 1173s # Converting 'ꭨ' => 'ꭨ' (line 2516) 1173s # Converting 'ꭰ' => 'Ꭰ' (line 2517) 1173s # Converting 'ꭱ' => 'Ꭱ' (line 2518) 1173s # Converting 'ꭲ' => 'Ꭲ' (line 2519) 1173s # Converting 'ꭳ' => 'Ꭳ' (line 2520) 1173s # Converting 'ꭴ' => 'Ꭴ' (line 2521) 1173s # Converting 'ꭵ' => 'Ꭵ' (line 2522) 1173s # Converting 'ꭶ' => 'Ꭶ' (line 2523) 1173s # Converting 'ꭷ' => 'Ꭷ' (line 2524) 1173s # Converting 'ꭸ' => 'Ꭸ' (line 2525) 1173s # Converting 'ꭹ' => 'Ꭹ' (line 2526) 1173s # Converting 'ꭺ' => 'Ꭺ' (line 2527) 1173s # Converting 'ꭻ' => 'Ꭻ' (line 2528) 1173s # Converting 'ꭼ' => 'Ꭼ' (line 2529) 1173s # Converting 'ꭽ' => 'Ꭽ' (line 2530) 1173s # Converting 'ꭾ' => 'Ꭾ' (line 2531) 1173s # Converting 'ꭿ' => 'Ꭿ' (line 2532) 1173s # Converting 'ꮀ' => 'Ꮀ' (line 2533) 1173s # Converting 'ꮁ' => 'Ꮁ' (line 2534) 1173s # Converting 'ꮂ' => 'Ꮂ' (line 2535) 1173s # Converting 'ꮃ' => 'Ꮃ' (line 2536) 1173s # Converting 'ꮄ' => 'Ꮄ' (line 2537) 1173s # Converting 'ꮅ' => 'Ꮅ' (line 2538) 1173s # Converting 'ꮆ' => 'Ꮆ' (line 2539) 1173s # Converting 'ꮇ' => 'Ꮇ' (line 2540) 1173s # Converting 'ꮈ' => 'Ꮈ' (line 2541) 1173s # Converting 'ꮉ' => 'Ꮉ' (line 2542) 1173s # Converting 'ꮊ' => 'Ꮊ' (line 2543) 1173s # Converting 'ꮋ' => 'Ꮋ' (line 2544) 1173s # Converting 'ꮌ' => 'Ꮌ' (line 2545) 1173s # Converting 'ꮍ' => 'Ꮍ' (line 2546) 1173s # Converting 'ꮎ' => 'Ꮎ' (line 2547) 1173s # Converting 'ꮏ' => 'Ꮏ' (line 2548) 1173s # Converting 'ꮐ' => 'Ꮐ' (line 2549) 1173s # Converting 'ꮑ' => 'Ꮑ' (line 2550) 1173s # Converting 'ꮒ' => 'Ꮒ' (line 2551) 1173s # Converting 'ꮓ' => 'Ꮓ' (line 2552) 1173s # Converting 'ꮔ' => 'Ꮔ' (line 2553) 1173s # Converting 'ꮕ' => 'Ꮕ' (line 2554) 1173s # Converting 'ꮖ' => 'Ꮖ' (line 2555) 1173s # Converting 'ꮗ' => 'Ꮗ' (line 2556) 1173s # Converting 'ꮘ' => 'Ꮘ' (line 2557) 1173s # Converting 'ꮙ' => 'Ꮙ' (line 2558) 1173s # Converting 'ꮚ' => 'Ꮚ' (line 2559) 1173s # Converting 'ꮛ' => 'Ꮛ' (line 2560) 1173s # Converting 'ꮜ' => 'Ꮜ' (line 2561) 1173s # Converting 'ꮝ' => 'Ꮝ' (line 2562) 1173s # Converting 'ꮞ' => 'Ꮞ' (line 2563) 1173s # Converting 'ꮟ' => 'Ꮟ' (line 2564) 1173s # Converting 'ꮠ' => 'Ꮠ' (line 2565) 1173s # Converting 'ꮡ' => 'Ꮡ' (line 2566) 1173s # Converting 'ꮢ' => 'Ꮢ' (line 2567) 1173s # Converting 'ꮣ' => 'Ꮣ' (line 2568) 1173s # Converting 'ꮤ' => 'Ꮤ' (line 2569) 1173s # Converting 'ꮥ' => 'Ꮥ' (line 2570) 1173s # Converting 'ꮦ' => 'Ꮦ' (line 2571) 1173s # Converting 'ꮧ' => 'Ꮧ' (line 2572) 1173s # Converting 'ꮨ' => 'Ꮨ' (line 2573) 1173s # Converting 'ꮩ' => 'Ꮩ' (line 2574) 1173s # Converting 'ꮪ' => 'Ꮪ' (line 2575) 1173s # Converting 'ꮫ' => 'Ꮫ' (line 2576) 1173s # Converting 'ꮬ' => 'Ꮬ' (line 2577) 1173s # Converting 'ꮭ' => 'Ꮭ' (line 2578) 1173s # Converting 'ꮮ' => 'Ꮮ' (line 2579) 1173s # Converting 'ꮯ' => 'Ꮯ' (line 2580) 1173s # Converting 'ꮰ' => 'Ꮰ' (line 2581) 1173s # Converting 'ꮱ' => 'Ꮱ' (line 2582) 1173s # Converting 'ꮲ' => 'Ꮲ' (line 2583) 1173s # Converting 'ꮳ' => 'Ꮳ' (line 2584) 1173s # Converting 'ꮴ' => 'Ꮴ' (line 2585) 1173s # Converting 'ꮵ' => 'Ꮵ' (line 2586) 1173s # Converting 'ꮶ' => 'Ꮶ' (line 2587) 1173s # Converting 'ꮷ' => 'Ꮷ' (line 2588) 1173s # Converting 'ꮸ' => 'Ꮸ' (line 2589) 1173s # Converting 'ꮹ' => 'Ꮹ' (line 2590) 1173s # Converting 'ꮺ' => 'Ꮺ' (line 2591) 1173s # Converting 'ꮻ' => 'Ꮻ' (line 2592) 1173s # Converting 'ꮼ' => 'Ꮼ' (line 2593) 1173s # Converting 'ꮽ' => 'Ꮽ' (line 2594) 1173s # Converting 'ꮾ' => 'Ꮾ' (line 2595) 1173s # Converting 'ꮿ' => 'Ꮿ' (line 2596) 1173s # Converting 'ff' => 'FF' (line 2597) 1173s # Converting 'fi' => 'FI' (line 2598) 1173s # Converting 'fl' => 'FL' (line 2599) 1173s # Converting 'ffi' => 'FFI' (line 2600) 1173s # Converting 'ffl' => 'FFL' (line 2601) 1173s # Converting 'ſt' => 'ST' (line 2602) 1173s # Converting 'st' => 'ST' (line 2603) 1173s # Converting 'ﬓ' => 'ՄՆ' (line 2604) 1173s # Converting 'ﬔ' => 'ՄԵ' (line 2605) 1173s # Converting 'ﬕ' => 'ՄԻ' (line 2606) 1173s # Converting 'ﬖ' => 'ՎՆ' (line 2607) 1173s # Converting 'ﬗ' => 'ՄԽ' (line 2608) 1173s # Converting 'A' => 'A' (line 2609) 1173s # Converting 'B' => 'B' (line 2610) 1173s # Converting 'C' => 'C' (line 2611) 1173s # Converting 'D' => 'D' (line 2612) 1173s # Converting 'E' => 'E' (line 2613) 1173s # Converting 'F' => 'F' (line 2614) 1173s # Converting 'G' => 'G' (line 2615) 1173s # Converting 'H' => 'H' (line 2616) 1173s # Converting 'I' => 'I' (line 2617) 1173s # Converting 'J' => 'J' (line 2618) 1173s # Converting 'K' => 'K' (line 2619) 1173s # Converting 'L' => 'L' (line 2620) 1173s # Converting 'M' => 'M' (line 2621) 1173s # Converting 'N' => 'N' (line 2622) 1173s # Converting 'O' => 'O' (line 2623) 1173s # Converting 'P' => 'P' (line 2624) 1173s # Converting 'Q' => 'Q' (line 2625) 1173s # Converting 'R' => 'R' (line 2626) 1173s # Converting 'S' => 'S' (line 2627) 1173s # Converting 'T' => 'T' (line 2628) 1173s # Converting 'U' => 'U' (line 2629) 1173s # Converting 'V' => 'V' (line 2630) 1173s # Converting 'W' => 'W' (line 2631) 1173s # Converting 'X' => 'X' (line 2632) 1173s # Converting 'Y' => 'Y' (line 2633) 1173s # Converting 'Z' => 'Z' (line 2634) 1173s # Converting 'a' => 'A' (line 2635) 1173s # Converting 'b' => 'B' (line 2636) 1173s # Converting 'c' => 'C' (line 2637) 1173s # Converting 'd' => 'D' (line 2638) 1173s # Converting 'e' => 'E' (line 2639) 1173s # Converting 'f' => 'F' (line 2640) 1173s # Converting 'g' => 'G' (line 2641) 1173s # Converting 'h' => 'H' (line 2642) 1173s # Converting 'i' => 'I' (line 2643) 1173s # Converting 'j' => 'J' (line 2644) 1173s # Converting 'k' => 'K' (line 2645) 1173s # Converting 'l' => 'L' (line 2646) 1173s # Converting 'm' => 'M' (line 2647) 1173s # Converting 'n' => 'N' (line 2648) 1173s # Converting 'o' => 'O' (line 2649) 1173s # Converting 'p' => 'P' (line 2650) 1173s # Converting 'q' => 'Q' (line 2651) 1173s # Converting 'r' => 'R' (line 2652) 1173s # Converting 's' => 'S' (line 2653) 1173s # Converting 't' => 'T' (line 2654) 1173s # Converting 'u' => 'U' (line 2655) 1173s # Converting 'v' => 'V' (line 2656) 1173s # Converting 'w' => 'W' (line 2657) 1173s # Converting 'x' => 'X' (line 2658) 1173s # Converting 'y' => 'Y' (line 2659) 1173s # Converting 'z' => 'Z' (line 2660) 1173s # Converting '𐐀' => '𐐀' (line 2661) 1173s # Converting '𐐁' => '𐐁' (line 2662) 1173s # Converting '𐐂' => '𐐂' (line 2663) 1173s # Converting '𐐃' => '𐐃' (line 2664) 1173s # Converting '𐐄' => '𐐄' (line 2665) 1173s # Converting '𐐅' => '𐐅' (line 2666) 1173s # Converting '𐐆' => '𐐆' (line 2667) 1173s # Converting '𐐇' => '𐐇' (line 2668) 1173s # Converting '𐐈' => '𐐈' (line 2669) 1173s # Converting '𐐉' => '𐐉' (line 2670) 1173s # Converting '𐐊' => '𐐊' (line 2671) 1173s # Converting '𐐋' => '𐐋' (line 2672) 1173s # Converting '𐐌' => '𐐌' (line 2673) 1173s # Converting '𐐍' => '𐐍' (line 2674) 1173s # Converting '𐐎' => '𐐎' (line 2675) 1173s # Converting '𐐏' => '𐐏' (line 2676) 1173s # Converting '𐐐' => '𐐐' (line 2677) 1173s # Converting '𐐑' => '𐐑' (line 2678) 1173s # Converting '𐐒' => '𐐒' (line 2679) 1173s # Converting '𐐓' => '𐐓' (line 2680) 1173s # Converting '𐐔' => '𐐔' (line 2681) 1173s # Converting '𐐕' => '𐐕' (line 2682) 1173s # Converting '𐐖' => '𐐖' (line 2683) 1173s # Converting '𐐗' => '𐐗' (line 2684) 1173s # Converting '𐐘' => '𐐘' (line 2685) 1173s # Converting '𐐙' => '𐐙' (line 2686) 1173s # Converting '𐐚' => '𐐚' (line 2687) 1173s # Converting '𐐛' => '𐐛' (line 2688) 1173s # Converting '𐐜' => '𐐜' (line 2689) 1173s # Converting '𐐝' => '𐐝' (line 2690) 1173s # Converting '𐐞' => '𐐞' (line 2691) 1173s # Converting '𐐟' => '𐐟' (line 2692) 1173s # Converting '𐐠' => '𐐠' (line 2693) 1173s # Converting '𐐡' => '𐐡' (line 2694) 1173s # Converting '𐐢' => '𐐢' (line 2695) 1173s # Converting '𐐣' => '𐐣' (line 2696) 1173s # Converting '𐐤' => '𐐤' (line 2697) 1173s # Converting '𐐥' => '𐐥' (line 2698) 1173s # Converting '𐐦' => '𐐦' (line 2699) 1173s # Converting '𐐧' => '𐐧' (line 2700) 1173s # Converting '𐐨' => '𐐀' (line 2701) 1173s # Converting '𐐩' => '𐐁' (line 2702) 1173s # Converting '𐐪' => '𐐂' (line 2703) 1173s # Converting '𐐫' => '𐐃' (line 2704) 1173s # Converting '𐐬' => '𐐄' (line 2705) 1173s # Converting '𐐭' => '𐐅' (line 2706) 1173s # Converting '𐐮' => '𐐆' (line 2707) 1173s # Converting '𐐯' => '𐐇' (line 2708) 1173s # Converting '𐐰' => '𐐈' (line 2709) 1173s # Converting '𐐱' => '𐐉' (line 2710) 1173s # Converting '𐐲' => '𐐊' (line 2711) 1173s # Converting '𐐳' => '𐐋' (line 2712) 1173s # Converting '𐐴' => '𐐌' (line 2713) 1173s # Converting '𐐵' => '𐐍' (line 2714) 1173s # Converting '𐐶' => '𐐎' (line 2715) 1173s # Converting '𐐷' => '𐐏' (line 2716) 1173s # Converting '𐐸' => '𐐐' (line 2717) 1173s # Converting '𐐹' => '𐐑' (line 2718) 1173s # Converting '𐐺' => '𐐒' (line 2719) 1173s # Converting '𐐻' => '𐐓' (line 2720) 1173s # Converting '𐐼' => '𐐔' (line 2721) 1173s # Converting '𐐽' => '𐐕' (line 2722) 1173s # Converting '𐐾' => '𐐖' (line 2723) 1173s # Converting '𐐿' => '𐐗' (line 2724) 1173s # Converting '𐑀' => '𐐘' (line 2725) 1173s # Converting '𐑁' => '𐐙' (line 2726) 1173s # Converting '𐑂' => '𐐚' (line 2727) 1173s # Converting '𐑃' => '𐐛' (line 2728) 1173s # Converting '𐑄' => '𐐜' (line 2729) 1173s # Converting '𐑅' => '𐐝' (line 2730) 1173s # Converting '𐑆' => '𐐞' (line 2731) 1173s # Converting '𐑇' => '𐐟' (line 2732) 1173s # Converting '𐑈' => '𐐠' (line 2733) 1173s # Converting '𐑉' => '𐐡' (line 2734) 1173s # Converting '𐑊' => '𐐢' (line 2735) 1173s # Converting '𐑋' => '𐐣' (line 2736) 1173s # Converting '𐑌' => '𐐤' (line 2737) 1173s # Converting '𐑍' => '𐐥' (line 2738) 1173s # Converting '𐑎' => '𐐦' (line 2739) 1173s # Converting '𐑏' => '𐐧' (line 2740) 1173s # Converting '𐒰' => '𐒰' (line 2741) 1173s # Converting '𐒱' => '𐒱' (line 2742) 1173s # Converting '𐒲' => '𐒲' (line 2743) 1173s # Converting '𐒳' => '𐒳' (line 2744) 1173s # Converting '𐒴' => '𐒴' (line 2745) 1173s # Converting '𐒵' => '𐒵' (line 2746) 1173s # Converting '𐒶' => '𐒶' (line 2747) 1173s # Converting '𐒷' => '𐒷' (line 2748) 1173s # Converting '𐒸' => '𐒸' (line 2749) 1173s # Converting '𐒹' => '𐒹' (line 2750) 1173s # Converting '𐒺' => '𐒺' (line 2751) 1173s # Converting '𐒻' => '𐒻' (line 2752) 1173s # Converting '𐒼' => '𐒼' (line 2753) 1173s # Converting '𐒽' => '𐒽' (line 2754) 1173s # Converting '𐒾' => '𐒾' (line 2755) 1173s # Converting '𐒿' => '𐒿' (line 2756) 1173s # Converting '𐓀' => '𐓀' (line 2757) 1173s # Converting '𐓁' => '𐓁' (line 2758) 1173s # Converting '𐓂' => '𐓂' (line 2759) 1173s # Converting '𐓃' => '𐓃' (line 2760) 1173s # Converting '𐓄' => '𐓄' (line 2761) 1173s # Converting '𐓅' => '𐓅' (line 2762) 1173s # Converting '𐓆' => '𐓆' (line 2763) 1173s # Converting '𐓇' => '𐓇' (line 2764) 1173s # Converting '𐓈' => '𐓈' (line 2765) 1173s # Converting '𐓉' => '𐓉' (line 2766) 1173s # Converting '𐓊' => '𐓊' (line 2767) 1173s # Converting '𐓋' => '𐓋' (line 2768) 1173s # Converting '𐓌' => '𐓌' (line 2769) 1173s # Converting '𐓍' => '𐓍' (line 2770) 1173s # Converting '𐓎' => '𐓎' (line 2771) 1173s # Converting '𐓏' => '𐓏' (line 2772) 1173s # Converting '𐓐' => '𐓐' (line 2773) 1173s # Converting '𐓑' => '𐓑' (line 2774) 1173s # Converting '𐓒' => '𐓒' (line 2775) 1173s # Converting '𐓓' => '𐓓' (line 2776) 1173s # Converting '𐓘' => '𐒰' (line 2777) 1173s # Converting '𐓙' => '𐒱' (line 2778) 1173s # Converting '𐓚' => '𐒲' (line 2779) 1173s # Converting '𐓛' => '𐒳' (line 2780) 1173s # Converting '𐓜' => '𐒴' (line 2781) 1173s # Converting '𐓝' => '𐒵' (line 2782) 1173s # Converting '𐓞' => '𐒶' (line 2783) 1173s # Converting '𐓟' => '𐒷' (line 2784) 1173s # Converting '𐓠' => '𐒸' (line 2785) 1173s # Converting '𐓡' => '𐒹' (line 2786) 1173s # Converting '𐓢' => '𐒺' (line 2787) 1173s # Converting '𐓣' => '𐒻' (line 2788) 1173s # Converting '𐓤' => '𐒼' (line 2789) 1173s # Converting '𐓥' => '𐒽' (line 2790) 1173s # Converting '𐓦' => '𐒾' (line 2791) 1173s # Converting '𐓧' => '𐒿' (line 2792) 1173s # Converting '𐓨' => '𐓀' (line 2793) 1173s # Converting '𐓩' => '𐓁' (line 2794) 1173s # Converting '𐓪' => '𐓂' (line 2795) 1173s # Converting '𐓫' => '𐓃' (line 2796) 1173s # Converting '𐓬' => '𐓄' (line 2797) 1173s # Converting '𐓭' => '𐓅' (line 2798) 1173s # Converting '𐓮' => '𐓆' (line 2799) 1173s # Converting '𐓯' => '𐓇' (line 2800) 1173s # Converting '𐓰' => '𐓈' (line 2801) 1173s # Converting '𐓱' => '𐓉' (line 2802) 1173s # Converting '𐓲' => '𐓊' (line 2803) 1173s # Converting '𐓳' => '𐓋' (line 2804) 1173s # Converting '𐓴' => '𐓌' (line 2805) 1173s # Converting '𐓵' => '𐓍' (line 2806) 1173s # Converting '𐓶' => '𐓎' (line 2807) 1173s # Converting '𐓷' => '𐓏' (line 2808) 1173s # Converting '𐓸' => '𐓐' (line 2809) 1173s # Converting '𐓹' => '𐓑' (line 2810) 1173s # Converting '𐓺' => '𐓒' (line 2811) 1173s # Converting '𐓻' => '𐓓' (line 2812) 1173s # Converting '𐕰' => '𐕰' (line 2813) 1173s # Converting '𐕱' => '𐕱' (line 2814) 1173s # Converting '𐕲' => '𐕲' (line 2815) 1173s # Converting '𐕳' => '𐕳' (line 2816) 1173s # Converting '𐕴' => '𐕴' (line 2817) 1173s # Converting '𐕵' => '𐕵' (line 2818) 1173s # Converting '𐕶' => '𐕶' (line 2819) 1173s # Converting '𐕷' => '𐕷' (line 2820) 1173s # Converting '𐕸' => '𐕸' (line 2821) 1173s # Converting '𐕹' => '𐕹' (line 2822) 1173s # Converting '𐕺' => '𐕺' (line 2823) 1173s # Converting '𐕼' => '𐕼' (line 2824) 1173s # Converting '𐕽' => '𐕽' (line 2825) 1173s # Converting '𐕾' => '𐕾' (line 2826) 1173s # Converting '𐕿' => '𐕿' (line 2827) 1173s # Converting '𐖀' => '𐖀' (line 2828) 1173s # Converting '𐖁' => '𐖁' (line 2829) 1173s # Converting '𐖂' => '𐖂' (line 2830) 1173s # Converting '𐖃' => '𐖃' (line 2831) 1173s # Converting '𐖄' => '𐖄' (line 2832) 1173s # Converting '𐖅' => '𐖅' (line 2833) 1173s # Converting '𐖆' => '𐖆' (line 2834) 1173s # Converting '𐖇' => '𐖇' (line 2835) 1173s # Converting '𐖈' => '𐖈' (line 2836) 1173s # Converting '𐖉' => '𐖉' (line 2837) 1173s # Converting '𐖊' => '𐖊' (line 2838) 1173s # Converting '𐖌' => '𐖌' (line 2839) 1173s # Converting '𐖍' => '𐖍' (line 2840) 1173s # Converting '𐖎' => '𐖎' (line 2841) 1173s # Converting '𐖏' => '𐖏' (line 2842) 1173s # Converting '𐖐' => '𐖐' (line 2843) 1173s # Converting '𐖑' => '𐖑' (line 2844) 1173s # Converting '𐖒' => '𐖒' (line 2845) 1173s # Converting '𐖔' => '𐖔' (line 2846) 1173s # Converting '𐖕' => '𐖕' (line 2847) 1173s # Converting '𐖗' => '𐕰' (line 2848) 1173s # Converting '𐖘' => '𐕱' (line 2849) 1173s # Converting '𐖙' => '𐕲' (line 2850) 1173s # Converting '𐖚' => '𐕳' (line 2851) 1173s # Converting '𐖛' => '𐕴' (line 2852) 1173s # Converting '𐖜' => '𐕵' (line 2853) 1173s # Converting '𐖝' => '𐕶' (line 2854) 1173s # Converting '𐖞' => '𐕷' (line 2855) 1173s # Converting '𐖟' => '𐕸' (line 2856) 1173s # Converting '𐖠' => '𐕹' (line 2857) 1173s # Converting '𐖡' => '𐕺' (line 2858) 1173s # Converting '𐖣' => '𐕼' (line 2859) 1173s # Converting '𐖤' => '𐕽' (line 2860) 1173s # Converting '𐖥' => '𐕾' (line 2861) 1173s # Converting '𐖦' => '𐕿' (line 2862) 1173s # Converting '𐖧' => '𐖀' (line 2863) 1173s # Converting '𐖨' => '𐖁' (line 2864) 1173s # Converting '𐖩' => '𐖂' (line 2865) 1173s # Converting '𐖪' => '𐖃' (line 2866) 1173s # Converting '𐖫' => '𐖄' (line 2867) 1173s # Converting '𐖬' => '𐖅' (line 2868) 1173s # Converting '𐖭' => '𐖆' (line 2869) 1173s # Converting '𐖮' => '𐖇' (line 2870) 1173s # Converting '𐖯' => '𐖈' (line 2871) 1173s # Converting '𐖰' => '𐖉' (line 2872) 1173s # Converting '𐖱' => '𐖊' (line 2873) 1173s # Converting '𐖳' => '𐖌' (line 2874) 1173s # Converting '𐖴' => '𐖍' (line 2875) 1173s # Converting '𐖵' => '𐖎' (line 2876) 1173s # Converting '𐖶' => '𐖏' (line 2877) 1173s # Converting '𐖷' => '𐖐' (line 2878) 1173s # Converting '𐖸' => '𐖑' (line 2879) 1173s # Converting '𐖹' => '𐖒' (line 2880) 1173s # Converting '𐖻' => '𐖔' (line 2881) 1173s # Converting '𐖼' => '𐖕' (line 2882) 1173s # Converting '𐲀' => '𐲀' (line 2883) 1173s # Converting '𐲁' => '𐲁' (line 2884) 1173s # Converting '𐲂' => '𐲂' (line 2885) 1173s # Converting '𐲃' => '𐲃' (line 2886) 1173s # Converting '𐲄' => '𐲄' (line 2887) 1173s # Converting '𐲅' => '𐲅' (line 2888) 1173s # Converting '𐲆' => '𐲆' (line 2889) 1173s # Converting '𐲇' => '𐲇' (line 2890) 1173s # Converting '𐲈' => '𐲈' (line 2891) 1173s # Converting '𐲉' => '𐲉' (line 2892) 1173s # Converting '𐲊' => '𐲊' (line 2893) 1173s # Converting '𐲋' => '𐲋' (line 2894) 1173s # Converting '𐲌' => '𐲌' (line 2895) 1173s # Converting '𐲍' => '𐲍' (line 2896) 1173s # Converting '𐲎' => '𐲎' (line 2897) 1173s # Converting '𐲏' => '𐲏' (line 2898) 1173s # Converting '𐲐' => '𐲐' (line 2899) 1173s # Converting '𐲑' => '𐲑' (line 2900) 1173s # Converting '𐲒' => '𐲒' (line 2901) 1173s # Converting '𐲓' => '𐲓' (line 2902) 1173s # Converting '𐲔' => '𐲔' (line 2903) 1173s # Converting '𐲕' => '𐲕' (line 2904) 1173s # Converting '𐲖' => '𐲖' (line 2905) 1173s # Converting '𐲗' => '𐲗' (line 2906) 1173s # Converting '𐲘' => '𐲘' (line 2907) 1173s # Converting '𐲙' => '𐲙' (line 2908) 1173s # Converting '𐲚' => '𐲚' (line 2909) 1173s # Converting '𐲛' => '𐲛' (line 2910) 1173s # Converting '𐲜' => '𐲜' (line 2911) 1173s # Converting '𐲝' => '𐲝' (line 2912) 1173s # Converting '𐲞' => '𐲞' (line 2913) 1173s # Converting '𐲟' => '𐲟' (line 2914) 1173s # Converting '𐲠' => '𐲠' (line 2915) 1173s # Converting '𐲡' => '𐲡' (line 2916) 1173s # Converting '𐲢' => '𐲢' (line 2917) 1173s # Converting '𐲣' => '𐲣' (line 2918) 1173s # Converting '𐲤' => '𐲤' (line 2919) 1173s # Converting '𐲥' => '𐲥' (line 2920) 1173s # Converting '𐲦' => '𐲦' (line 2921) 1173s # Converting '𐲧' => '𐲧' (line 2922) 1173s # Converting '𐲨' => '𐲨' (line 2923) 1173s # Converting '𐲩' => '𐲩' (line 2924) 1173s # Converting '𐲪' => '𐲪' (line 2925) 1173s # Converting '𐲫' => '𐲫' (line 2926) 1173s # Converting '𐲬' => '𐲬' (line 2927) 1173s # Converting '𐲭' => '𐲭' (line 2928) 1173s # Converting '𐲮' => '𐲮' (line 2929) 1173s # Converting '𐲯' => '𐲯' (line 2930) 1173s # Converting '𐲰' => '𐲰' (line 2931) 1173s # Converting '𐲱' => '𐲱' (line 2932) 1173s # Converting '𐲲' => '𐲲' (line 2933) 1173s # Converting '𐳀' => '𐲀' (line 2934) 1173s # Converting '𐳁' => '𐲁' (line 2935) 1173s # Converting '𐳂' => '𐲂' (line 2936) 1173s # Converting '𐳃' => '𐲃' (line 2937) 1173s # Converting '𐳄' => '𐲄' (line 2938) 1173s # Converting '𐳅' => '𐲅' (line 2939) 1173s # Converting '𐳆' => '𐲆' (line 2940) 1173s # Converting '𐳇' => '𐲇' (line 2941) 1173s # Converting '𐳈' => '𐲈' (line 2942) 1173s # Converting '𐳉' => '𐲉' (line 2943) 1173s # Converting '𐳊' => '𐲊' (line 2944) 1173s # Converting '𐳋' => '𐲋' (line 2945) 1173s # Converting '𐳌' => '𐲌' (line 2946) 1173s # Converting '𐳍' => '𐲍' (line 2947) 1173s # Converting '𐳎' => '𐲎' (line 2948) 1173s # Converting '𐳏' => '𐲏' (line 2949) 1173s # Converting '𐳐' => '𐲐' (line 2950) 1173s # Converting '𐳑' => '𐲑' (line 2951) 1173s # Converting '𐳒' => '𐲒' (line 2952) 1173s # Converting '𐳓' => '𐲓' (line 2953) 1173s # Converting '𐳔' => '𐲔' (line 2954) 1173s # Converting '𐳕' => '𐲕' (line 2955) 1173s # Converting '𐳖' => '𐲖' (line 2956) 1173s # Converting '𐳗' => '𐲗' (line 2957) 1173s # Converting '𐳘' => '𐲘' (line 2958) 1173s # Converting '𐳙' => '𐲙' (line 2959) 1173s # Converting '𐳚' => '𐲚' (line 2960) 1173s # Converting '𐳛' => '𐲛' (line 2961) 1173s # Converting '𐳜' => '𐲜' (line 2962) 1173s # Converting '𐳝' => '𐲝' (line 2963) 1173s # Converting '𐳞' => '𐲞' (line 2964) 1173s # Converting '𐳟' => '𐲟' (line 2965) 1173s # Converting '𐳠' => '𐲠' (line 2966) 1173s # Converting '𐳡' => '𐲡' (line 2967) 1173s # Converting '𐳢' => '𐲢' (line 2968) 1173s # Converting '𐳣' => '𐲣' (line 2969) 1173s # Converting '𐳤' => '𐲤' (line 2970) 1173s # Converting '𐳥' => '𐲥' (line 2971) 1173s # Converting '𐳦' => '𐲦' (line 2972) 1173s # Converting '𐳧' => '𐲧' (line 2973) 1173s # Converting '𐳨' => '𐲨' (line 2974) 1173s # Converting '𐳩' => '𐲩' (line 2975) 1173s # Converting '𐳪' => '𐲪' (line 2976) 1173s # Converting '𐳫' => '𐲫' (line 2977) 1173s # Converting '𐳬' => '𐲬' (line 2978) 1173s # Converting '𐳭' => '𐲭' (line 2979) 1173s # Converting '𐳮' => '𐲮' (line 2980) 1173s # Converting '𐳯' => '𐲯' (line 2981) 1173s # Converting '𐳰' => '𐲰' (line 2982) 1173s # Converting '𐳱' => '𐲱' (line 2983) 1173s # Converting '𐳲' => '𐲲' (line 2984) 1173s # Converting '𐵐' => '𐵐' (line 2985) 1173s # Converting '𐵑' => '𐵑' (line 2986) 1173s # Converting '𐵒' => '𐵒' (line 2987) 1173s # Converting '𐵓' => '𐵓' (line 2988) 1173s # Converting '𐵔' => '𐵔' (line 2989) 1173s # Converting '𐵕' => '𐵕' (line 2990) 1173s # Converting '𐵖' => '𐵖' (line 2991) 1173s # Converting '𐵗' => '𐵗' (line 2992) 1173s # Converting '𐵘' => '𐵘' (line 2993) 1173s # Converting '𐵙' => '𐵙' (line 2994) 1173s # Converting '𐵚' => '𐵚' (line 2995) 1173s # Converting '𐵛' => '𐵛' (line 2996) 1173s # Converting '𐵜' => '𐵜' (line 2997) 1173s # Converting '𐵝' => '𐵝' (line 2998) 1173s # Converting '𐵞' => '𐵞' (line 2999) 1173s # Converting '𐵟' => '𐵟' (line 3000) 1173s # Converting '𐵠' => '𐵠' (line 3001) 1173s # Converting '𐵡' => '𐵡' (line 3002) 1173s # Converting '𐵢' => '𐵢' (line 3003) 1173s # Converting '𐵣' => '𐵣' (line 3004) 1173s # Converting '𐵤' => '𐵤' (line 3005) 1173s # Converting '𐵥' => '𐵥' (line 3006) 1173s # Converting '𐵰' => '𐵐' (line 3007) 1173s # Converting '𐵱' => '𐵑' (line 3008) 1173s # Converting '𐵲' => '𐵒' (line 3009) 1173s # Converting '𐵳' => '𐵓' (line 3010) 1173s # Converting '𐵴' => '𐵔' (line 3011) 1173s # Converting '𐵵' => '𐵕' (line 3012) 1173s # Converting '𐵶' => '𐵖' (line 3013) 1173s # Converting '𐵷' => '𐵗' (line 3014) 1173s # Converting '𐵸' => '𐵘' (line 3015) 1173s # Converting '𐵹' => '𐵙' (line 3016) 1173s # Converting '𐵺' => '𐵚' (line 3017) 1173s # Converting '𐵻' => '𐵛' (line 3018) 1173s # Converting '𐵼' => '𐵜' (line 3019) 1173s # Converting '𐵽' => '𐵝' (line 3020) 1173s # Converting '𐵾' => '𐵞' (line 3021) 1173s # Converting '𐵿' => '𐵟' (line 3022) 1173s # Converting '𐶀' => '𐵠' (line 3023) 1173s # Converting '𐶁' => '𐵡' (line 3024) 1173s # Converting '𐶂' => '𐵢' (line 3025) 1173s # Converting '𐶃' => '𐵣' (line 3026) 1173s # Converting '𐶄' => '𐵤' (line 3027) 1173s # Converting '𐶅' => '𐵥' (line 3028) 1173s # Converting '𑢠' => '𑢠' (line 3029) 1173s # Converting '𑢡' => '𑢡' (line 3030) 1173s # Converting '𑢢' => '𑢢' (line 3031) 1173s # Converting '𑢣' => '𑢣' (line 3032) 1173s # Converting '𑢤' => '𑢤' (line 3033) 1173s # Converting '𑢥' => '𑢥' (line 3034) 1173s # Converting '𑢦' => '𑢦' (line 3035) 1173s # Converting '𑢧' => '𑢧' (line 3036) 1173s # Converting '𑢨' => '𑢨' (line 3037) 1173s # Converting '𑢩' => '𑢩' (line 3038) 1173s # Converting '𑢪' => '𑢪' (line 3039) 1173s # Converting '𑢫' => '𑢫' (line 3040) 1173s # Converting '𑢬' => '𑢬' (line 3041) 1173s # Converting '𑢭' => '𑢭' (line 3042) 1173s # Converting '𑢮' => '𑢮' (line 3043) 1173s # Converting '𑢯' => '𑢯' (line 3044) 1173s # Converting '𑢰' => '𑢰' (line 3045) 1173s # Converting '𑢱' => '𑢱' (line 3046) 1173s # Converting '𑢲' => '𑢲' (line 3047) 1173s # Converting '𑢳' => '𑢳' (line 3048) 1173s # Converting '𑢴' => '𑢴' (line 3049) 1173s # Converting '𑢵' => '𑢵' (line 3050) 1173s # Converting '𑢶' => '𑢶' (line 3051) 1173s # Converting '𑢷' => '𑢷' (line 3052) 1173s # Converting '𑢸' => '𑢸' (line 3053) 1173s # Converting '𑢹' => '𑢹' (line 3054) 1173s # Converting '𑢺' => '𑢺' (line 3055) 1173s # Converting '𑢻' => '𑢻' (line 3056) 1173s # Converting '𑢼' => '𑢼' (line 3057) 1173s # Converting '𑢽' => '𑢽' (line 3058) 1173s # Converting '𑢾' => '𑢾' (line 3059) 1173s # Converting '𑢿' => '𑢿' (line 3060) 1173s # Converting '𑣀' => '𑢠' (line 3061) 1173s # Converting '𑣁' => '𑢡' (line 3062) 1173s # Converting '𑣂' => '𑢢' (line 3063) 1173s # Converting '𑣃' => '𑢣' (line 3064) 1173s # Converting '𑣄' => '𑢤' (line 3065) 1173s # Converting '𑣅' => '𑢥' (line 3066) 1173s # Converting '𑣆' => '𑢦' (line 3067) 1173s # Converting '𑣇' => '𑢧' (line 3068) 1173s # Converting '𑣈' => '𑢨' (line 3069) 1173s # Converting '𑣉' => '𑢩' (line 3070) 1173s # Converting '𑣊' => '𑢪' (line 3071) 1173s # Converting '𑣋' => '𑢫' (line 3072) 1173s # Converting '𑣌' => '𑢬' (line 3073) 1173s # Converting '𑣍' => '𑢭' (line 3074) 1173s # Converting '𑣎' => '𑢮' (line 3075) 1173s # Converting '𑣏' => '𑢯' (line 3076) 1173s # Converting '𑣐' => '𑢰' (line 3077) 1173s # Converting '𑣑' => '𑢱' (line 3078) 1173s # Converting '𑣒' => '𑢲' (line 3079) 1173s # Converting '𑣓' => '𑢳' (line 3080) 1173s # Converting '𑣔' => '𑢴' (line 3081) 1173s # Converting '𑣕' => '𑢵' (line 3082) 1173s # Converting '𑣖' => '𑢶' (line 3083) 1173s # Converting '𑣗' => '𑢷' (line 3084) 1173s # Converting '𑣘' => '𑢸' (line 3085) 1173s # Converting '𑣙' => '𑢹' (line 3086) 1173s # Converting '𑣚' => '𑢺' (line 3087) 1173s # Converting '𑣛' => '𑢻' (line 3088) 1173s # Converting '𑣜' => '𑢼' (line 3089) 1173s # Converting '𑣝' => '𑢽' (line 3090) 1173s # Converting '𑣞' => '𑢾' (line 3091) 1173s # Converting '𑣟' => '𑢿' (line 3092) 1173s # Converting '𖹀' => '𖹀' (line 3093) 1173s # Converting '𖹁' => '𖹁' (line 3094) 1173s # Converting '𖹂' => '𖹂' (line 3095) 1173s # Converting '𖹃' => '𖹃' (line 3096) 1173s # Converting '𖹄' => '𖹄' (line 3097) 1173s # Converting '𖹅' => '𖹅' (line 3098) 1173s # Converting '𖹆' => '𖹆' (line 3099) 1173s # Converting '𖹇' => '𖹇' (line 3100) 1173s # Converting '𖹈' => '𖹈' (line 3101) 1173s # Converting '𖹉' => '𖹉' (line 3102) 1173s # Converting '𖹊' => '𖹊' (line 3103) 1173s # Converting '𖹋' => '𖹋' (line 3104) 1173s # Converting '𖹌' => '𖹌' (line 3105) 1173s # Converting '𖹍' => '𖹍' (line 3106) 1173s # Converting '𖹎' => '𖹎' (line 3107) 1173s # Converting '𖹏' => '𖹏' (line 3108) 1173s # Converting '𖹐' => '𖹐' (line 3109) 1173s # Converting '𖹑' => '𖹑' (line 3110) 1173s # Converting '𖹒' => '𖹒' (line 3111) 1173s # Converting '𖹓' => '𖹓' (line 3112) 1173s # Converting '𖹔' => '𖹔' (line 3113) 1173s # Converting '𖹕' => '𖹕' (line 3114) 1173s # Converting '𖹖' => '𖹖' (line 3115) 1173s # Converting '𖹗' => '𖹗' (line 3116) 1173s # Converting '𖹘' => '𖹘' (line 3117) 1173s # Converting '𖹙' => '𖹙' (line 3118) 1173s # Converting '𖹚' => '𖹚' (line 3119) 1173s # Converting '𖹛' => '𖹛' (line 3120) 1173s # Converting '𖹜' => '𖹜' (line 3121) 1173s # Converting '𖹝' => '𖹝' (line 3122) 1173s # Converting '𖹞' => '𖹞' (line 3123) 1173s # Converting '𖹟' => '𖹟' (line 3124) 1173s # Converting '𖹠' => '𖹀' (line 3125) 1173s # Converting '𖹡' => '𖹁' (line 3126) 1173s # Converting '𖹢' => '𖹂' (line 3127) 1173s # Converting '𖹣' => '𖹃' (line 3128) 1173s # Converting '𖹤' => '𖹄' (line 3129) 1173s # Converting '𖹥' => '𖹅' (line 3130) 1173s # Converting '𖹦' => '𖹆' (line 3131) 1173s # Converting '𖹧' => '𖹇' (line 3132) 1173s # Converting '𖹨' => '𖹈' (line 3133) 1173s # Converting '𖹩' => '𖹉' (line 3134) 1173s # Converting '𖹪' => '𖹊' (line 3135) 1173s # Converting '𖹫' => '𖹋' (line 3136) 1173s # Converting '𖹬' => '𖹌' (line 3137) 1173s # Converting '𖹭' => '𖹍' (line 3138) 1173s # Converting '𖹮' => '𖹎' (line 3139) 1173s # Converting '𖹯' => '𖹏' (line 3140) 1173s # Converting '𖹰' => '𖹐' (line 3141) 1173s # Converting '𖹱' => '𖹑' (line 3142) 1173s # Converting '𖹲' => '𖹒' (line 3143) 1173s # Converting '𖹳' => '𖹓' (line 3144) 1173s # Converting '𖹴' => '𖹔' (line 3145) 1173s # Converting '𖹵' => '𖹕' (line 3146) 1173s # Converting '𖹶' => '𖹖' (line 3147) 1173s # Converting '𖹷' => '𖹗' (line 3148) 1173s # Converting '𖹸' => '𖹘' (line 3149) 1173s # Converting '𖹹' => '𖹙' (line 3150) 1173s # Converting '𖹺' => '𖹚' (line 3151) 1173s # Converting '𖹻' => '𖹛' (line 3152) 1173s # Converting '𖹼' => '𖹜' (line 3153) 1173s # Converting '𖹽' => '𖹝' (line 3154) 1173s # Converting '𖹾' => '𖹞' (line 3155) 1173s # Converting '𖹿' => '𖹟' (line 3156) 1173s # Converting '𖺠' => '𖺠' (line 3157) 1173s # Converting '𖺡' => '𖺡' (line 3158) 1173s # Converting '𖺢' => '𖺢' (line 3159) 1173s # Converting '𖺣' => '𖺣' (line 3160) 1173s # Converting '𖺤' => '𖺤' (line 3161) 1173s # Converting '𖺥' => '𖺥' (line 3162) 1173s # Converting '𖺦' => '𖺦' (line 3163) 1173s # Converting '𖺧' => '𖺧' (line 3164) 1173s # Converting '𖺨' => '𖺨' (line 3165) 1173s # Converting '𖺩' => '𖺩' (line 3166) 1173s # Converting '𖺪' => '𖺪' (line 3167) 1173s # Converting '𖺫' => '𖺫' (line 3168) 1173s # Converting '𖺬' => '𖺬' (line 3169) 1173s # Converting '𖺭' => '𖺭' (line 3170) 1173s # Converting '𖺮' => '𖺮' (line 3171) 1173s # Converting '𖺯' => '𖺯' (line 3172) 1173s # Converting '𖺰' => '𖺰' (line 3173) 1173s # Converting '𖺱' => '𖺱' (line 3174) 1173s # Converting '𖺲' => '𖺲' (line 3175) 1173s # Converting '𖺳' => '𖺳' (line 3176) 1173s # Converting '𖺴' => '𖺴' (line 3177) 1173s # Converting '𖺵' => '𖺵' (line 3178) 1173s # Converting '𖺶' => '𖺶' (line 3179) 1173s # Converting '𖺷' => '𖺷' (line 3180) 1173s # Converting '𖺸' => '𖺸' (line 3181) 1173s # Converting '𖺻' => '𖺠' (line 3182) 1173s # Converting '𖺼' => '𖺡' (line 3183) 1173s # Converting '𖺽' => '𖺢' (line 3184) 1173s # Converting '𖺾' => '𖺣' (line 3185) 1173s # Converting '𖺿' => '𖺤' (line 3186) 1173s # Converting '𖻀' => '𖺥' (line 3187) 1173s # Converting '𖻁' => '𖺦' (line 3188) 1173s # Converting '𖻂' => '𖺧' (line 3189) 1173s # Converting '𖻃' => '𖺨' (line 3190) 1173s # Converting '𖻄' => '𖺩' (line 3191) 1173s # Converting '𖻅' => '𖺪' (line 3192) 1173s # Converting '𖻆' => '𖺫' (line 3193) 1173s # Converting '𖻇' => '𖺬' (line 3194) 1173s # Converting '𖻈' => '𖺭' (line 3195) 1173s # Converting '𖻉' => '𖺮' (line 3196) 1173s # Converting '𖻊' => '𖺯' (line 3197) 1173s # Converting '𖻋' => '𖺰' (line 3198) 1173s # Converting '𖻌' => '𖺱' (line 3199) 1173s # Converting '𖻍' => '𖺲' (line 3200) 1173s # Converting '𖻎' => '𖺳' (line 3201) 1173s # Converting '𖻏' => '𖺴' (line 3202) 1173s # Converting '𖻐' => '𖺵' (line 3203) 1173s # Converting '𖻑' => '𖺶' (line 3204) 1173s # Converting '𖻒' => '𖺷' (line 3205) 1173s # Converting '𖻓' => '𖺸' (line 3206) 1173s # Converting '𝐀' => '𝐀' (line 3207) 1173s # Converting '𝐁' => '𝐁' (line 3208) 1173s # Converting '𝐂' => '𝐂' (line 3209) 1173s # Converting '𝐃' => '𝐃' (line 3210) 1173s # Converting '𝐄' => '𝐄' (line 3211) 1173s # Converting '𝐅' => '𝐅' (line 3212) 1173s # Converting '𝐆' => '𝐆' (line 3213) 1173s # Converting '𝐇' => '𝐇' (line 3214) 1173s # Converting '𝐈' => '𝐈' (line 3215) 1173s # Converting '𝐉' => '𝐉' (line 3216) 1173s # Converting '𝐊' => '𝐊' (line 3217) 1173s # Converting '𝐋' => '𝐋' (line 3218) 1173s # Converting '𝐌' => '𝐌' (line 3219) 1173s # Converting '𝐍' => '𝐍' (line 3220) 1173s # Converting '𝐎' => '𝐎' (line 3221) 1173s # Converting '𝐏' => '𝐏' (line 3222) 1173s # Converting '𝐐' => '𝐐' (line 3223) 1173s # Converting '𝐑' => '𝐑' (line 3224) 1173s # Converting '𝐒' => '𝐒' (line 3225) 1173s # Converting '𝐓' => '𝐓' (line 3226) 1173s # Converting '𝐔' => '𝐔' (line 3227) 1173s # Converting '𝐕' => '𝐕' (line 3228) 1173s # Converting '𝐖' => '𝐖' (line 3229) 1173s # Converting '𝐗' => '𝐗' (line 3230) 1173s # Converting '𝐘' => '𝐘' (line 3231) 1173s # Converting '𝐙' => '𝐙' (line 3232) 1173s # Converting '𝐚' => '𝐚' (line 3233) 1173s # Converting '𝐛' => '𝐛' (line 3234) 1173s # Converting '𝐜' => '𝐜' (line 3235) 1173s # Converting '𝐝' => '𝐝' (line 3236) 1173s # Converting '𝐞' => '𝐞' (line 3237) 1173s # Converting '𝐟' => '𝐟' (line 3238) 1173s # Converting '𝐠' => '𝐠' (line 3239) 1173s # Converting '𝐡' => '𝐡' (line 3240) 1173s # Converting '𝐢' => '𝐢' (line 3241) 1173s # Converting '𝐣' => '𝐣' (line 3242) 1173s # Converting '𝐤' => '𝐤' (line 3243) 1173s # Converting '𝐥' => '𝐥' (line 3244) 1173s # Converting '𝐦' => '𝐦' (line 3245) 1173s # Converting '𝐧' => '𝐧' (line 3246) 1173s # Converting '𝐨' => '𝐨' (line 3247) 1173s # Converting '𝐩' => '𝐩' (line 3248) 1173s # Converting '𝐪' => '𝐪' (line 3249) 1173s # Converting '𝐫' => '𝐫' (line 3250) 1173s # Converting '𝐬' => '𝐬' (line 3251) 1173s # Converting '𝐭' => '𝐭' (line 3252) 1173s # Converting '𝐮' => '𝐮' (line 3253) 1173s # Converting '𝐯' => '𝐯' (line 3254) 1173s # Converting '𝐰' => '𝐰' (line 3255) 1173s # Converting '𝐱' => '𝐱' (line 3256) 1173s # Converting '𝐲' => '𝐲' (line 3257) 1173s # Converting '𝐳' => '𝐳' (line 3258) 1173s # Converting '𝐴' => '𝐴' (line 3259) 1173s # Converting '𝐵' => '𝐵' (line 3260) 1173s # Converting '𝐶' => '𝐶' (line 3261) 1173s # Converting '𝐷' => '𝐷' (line 3262) 1173s # Converting '𝐸' => '𝐸' (line 3263) 1173s # Converting '𝐹' => '𝐹' (line 3264) 1173s # Converting '𝐺' => '𝐺' (line 3265) 1173s # Converting '𝐻' => '𝐻' (line 3266) 1173s # Converting '𝐼' => '𝐼' (line 3267) 1173s # Converting '𝐽' => '𝐽' (line 3268) 1173s # Converting '𝐾' => '𝐾' (line 3269) 1173s # Converting '𝐿' => '𝐿' (line 3270) 1173s # Converting '𝑀' => '𝑀' (line 3271) 1173s # Converting '𝑁' => '𝑁' (line 3272) 1173s # Converting '𝑂' => '𝑂' (line 3273) 1173s # Converting '𝑃' => '𝑃' (line 3274) 1173s # Converting '𝑄' => '𝑄' (line 3275) 1173s # Converting '𝑅' => '𝑅' (line 3276) 1173s # Converting '𝑆' => '𝑆' (line 3277) 1173s # Converting '𝑇' => '𝑇' (line 3278) 1173s # Converting '𝑈' => '𝑈' (line 3279) 1173s # Converting '𝑉' => '𝑉' (line 3280) 1173s # Converting '𝑊' => '𝑊' (line 3281) 1173s # Converting '𝑋' => '𝑋' (line 3282) 1173s # Converting '𝑌' => '𝑌' (line 3283) 1173s # Converting '𝑍' => '𝑍' (line 3284) 1173s # Converting '𝑎' => '𝑎' (line 3285) 1173s # Converting '𝑏' => '𝑏' (line 3286) 1173s # Converting '𝑐' => '𝑐' (line 3287) 1173s # Converting '𝑑' => '𝑑' (line 3288) 1173s # Converting '𝑒' => '𝑒' (line 3289) 1173s # Converting '𝑓' => '𝑓' (line 3290) 1173s # Converting '𝑔' => '𝑔' (line 3291) 1173s # Converting '𝑖' => '𝑖' (line 3292) 1173s # Converting '𝑗' => '𝑗' (line 3293) 1173s # Converting '𝑘' => '𝑘' (line 3294) 1173s # Converting '𝑙' => '𝑙' (line 3295) 1173s # Converting '𝑚' => '𝑚' (line 3296) 1173s # Converting '𝑛' => '𝑛' (line 3297) 1173s # Converting '𝑜' => '𝑜' (line 3298) 1173s # Converting '𝑝' => '𝑝' (line 3299) 1173s # Converting '𝑞' => '𝑞' (line 3300) 1173s # Converting '𝑟' => '𝑟' (line 3301) 1173s # Converting '𝑠' => '𝑠' (line 3302) 1173s # Converting '𝑡' => '𝑡' (line 3303) 1173s # Converting '𝑢' => '𝑢' (line 3304) 1173s # Converting '𝑣' => '𝑣' (line 3305) 1173s # Converting '𝑤' => '𝑤' (line 3306) 1173s # Converting '𝑥' => '𝑥' (line 3307) 1173s # Converting '𝑦' => '𝑦' (line 3308) 1173s # Converting '𝑧' => '𝑧' (line 3309) 1173s # Converting '𝑨' => '𝑨' (line 3310) 1173s # Converting '𝑩' => '𝑩' (line 3311) 1173s # Converting '𝑪' => '𝑪' (line 3312) 1173s # Converting '𝑫' => '𝑫' (line 3313) 1173s # Converting '𝑬' => '𝑬' (line 3314) 1173s # Converting '𝑭' => '𝑭' (line 3315) 1173s # Converting '𝑮' => '𝑮' (line 3316) 1173s # Converting '𝑯' => '𝑯' (line 3317) 1173s # Converting '𝑰' => '𝑰' (line 3318) 1173s # Converting '𝑱' => '𝑱' (line 3319) 1173s # Converting '𝑲' => '𝑲' (line 3320) 1173s # Converting '𝑳' => '𝑳' (line 3321) 1173s # Converting '𝑴' => '𝑴' (line 3322) 1173s # Converting '𝑵' => '𝑵' (line 3323) 1173s # Converting '𝑶' => '𝑶' (line 3324) 1173s # Converting '𝑷' => '𝑷' (line 3325) 1173s # Converting '𝑸' => '𝑸' (line 3326) 1173s # Converting '𝑹' => '𝑹' (line 3327) 1173s # Converting '𝑺' => '𝑺' (line 3328) 1173s # Converting '𝑻' => '𝑻' (line 3329) 1173s # Converting '𝑼' => '𝑼' (line 3330) 1173s # Converting '𝑽' => '𝑽' (line 3331) 1173s # Converting '𝑾' => '𝑾' (line 3332) 1173s # Converting '𝑿' => '𝑿' (line 3333) 1173s # Converting '𝒀' => '𝒀' (line 3334) 1173s # Converting '𝒁' => '𝒁' (line 3335) 1173s # Converting '𝒂' => '𝒂' (line 3336) 1173s # Converting '𝒃' => '𝒃' (line 3337) 1173s # Converting '𝒄' => '𝒄' (line 3338) 1173s # Converting '𝒅' => '𝒅' (line 3339) 1173s # Converting '𝒆' => '𝒆' (line 3340) 1173s # Converting '𝒇' => '𝒇' (line 3341) 1173s # Converting '𝒈' => '𝒈' (line 3342) 1173s # Converting '𝒉' => '𝒉' (line 3343) 1173s # Converting '𝒊' => '𝒊' (line 3344) 1173s # Converting '𝒋' => '𝒋' (line 3345) 1173s # Converting '𝒌' => '𝒌' (line 3346) 1173s # Converting '𝒍' => '𝒍' (line 3347) 1173s # Converting '𝒎' => '𝒎' (line 3348) 1173s # Converting '𝒏' => '𝒏' (line 3349) 1173s # Converting '𝒐' => '𝒐' (line 3350) 1173s # Converting '𝒑' => '𝒑' (line 3351) 1173s # Converting '𝒒' => '𝒒' (line 3352) 1173s # Converting '𝒓' => '𝒓' (line 3353) 1173s # Converting '𝒔' => '𝒔' (line 3354) 1173s # Converting '𝒕' => '𝒕' (line 3355) 1173s # Converting '𝒖' => '𝒖' (line 3356) 1173s # Converting '𝒗' => '𝒗' (line 3357) 1173s # Converting '𝒘' => '𝒘' (line 3358) 1173s # Converting '𝒙' => '𝒙' (line 3359) 1173s # Converting '𝒚' => '𝒚' (line 3360) 1173s # Converting '𝒛' => '𝒛' (line 3361) 1173s # Converting '𝒜' => '𝒜' (line 3362) 1173s # Converting '𝒞' => '𝒞' (line 3363) 1173s # Converting '𝒟' => '𝒟' (line 3364) 1173s # Converting '𝒢' => '𝒢' (line 3365) 1173s # Converting '𝒥' => '𝒥' (line 3366) 1173s # Converting '𝒦' => '𝒦' (line 3367) 1173s # Converting '𝒩' => '𝒩' (line 3368) 1173s # Converting '𝒪' => '𝒪' (line 3369) 1173s # Converting '𝒫' => '𝒫' (line 3370) 1173s # Converting '𝒬' => '𝒬' (line 3371) 1173s # Converting '𝒮' => '𝒮' (line 3372) 1173s # Converting '𝒯' => '𝒯' (line 3373) 1173s # Converting '𝒰' => '𝒰' (line 3374) 1173s # Converting '𝒱' => '𝒱' (line 3375) 1173s # Converting '𝒲' => '𝒲' (line 3376) 1173s # Converting '𝒳' => '𝒳' (line 3377) 1173s # Converting '𝒴' => '𝒴' (line 3378) 1173s # Converting '𝒵' => '𝒵' (line 3379) 1173s # Converting '𝒶' => '𝒶' (line 3380) 1173s # Converting '𝒷' => '𝒷' (line 3381) 1173s # Converting '𝒸' => '𝒸' (line 3382) 1173s # Converting '𝒹' => '𝒹' (line 3383) 1173s # Converting '𝒻' => '𝒻' (line 3384) 1173s # Converting '𝒽' => '𝒽' (line 3385) 1173s # Converting '𝒾' => '𝒾' (line 3386) 1173s # Converting '𝒿' => '𝒿' (line 3387) 1173s # Converting '𝓀' => '𝓀' (line 3388) 1173s # Converting '𝓁' => '𝓁' (line 3389) 1173s # Converting '𝓂' => '𝓂' (line 3390) 1173s # Converting '𝓃' => '𝓃' (line 3391) 1173s # Converting '𝓅' => '𝓅' (line 3392) 1173s # Converting '𝓆' => '𝓆' (line 3393) 1173s # Converting '𝓇' => '𝓇' (line 3394) 1173s # Converting '𝓈' => '𝓈' (line 3395) 1173s # Converting '𝓉' => '𝓉' (line 3396) 1173s # Converting '𝓊' => '𝓊' (line 3397) 1173s # Converting '𝓋' => '𝓋' (line 3398) 1173s # Converting '𝓌' => '𝓌' (line 3399) 1173s # Converting '𝓍' => '𝓍' (line 3400) 1173s # Converting '𝓎' => '𝓎' (line 3401) 1173s # Converting '𝓏' => '𝓏' (line 3402) 1173s # Converting '𝓐' => '𝓐' (line 3403) 1173s # Converting '𝓑' => '𝓑' (line 3404) 1173s # Converting '𝓒' => '𝓒' (line 3405) 1173s # Converting '𝓓' => '𝓓' (line 3406) 1173s # Converting '𝓔' => '𝓔' (line 3407) 1173s # Converting '𝓕' => '𝓕' (line 3408) 1173s # Converting '𝓖' => '𝓖' (line 3409) 1173s # Converting '𝓗' => '𝓗' (line 3410) 1173s # Converting '𝓘' => '𝓘' (line 3411) 1173s # Converting '𝓙' => '𝓙' (line 3412) 1173s # Converting '𝓚' => '𝓚' (line 3413) 1173s # Converting '𝓛' => '𝓛' (line 3414) 1173s # Converting '𝓜' => '𝓜' (line 3415) 1173s # Converting '𝓝' => '𝓝' (line 3416) 1173s # Converting '𝓞' => '𝓞' (line 3417) 1173s # Converting '𝓟' => '𝓟' (line 3418) 1173s # Converting '𝓠' => '𝓠' (line 3419) 1173s # Converting '𝓡' => '𝓡' (line 3420) 1173s # Converting '𝓢' => '𝓢' (line 3421) 1173s # Converting '𝓣' => '𝓣' (line 3422) 1173s # Converting '𝓤' => '𝓤' (line 3423) 1173s # Converting '𝓥' => '𝓥' (line 3424) 1173s # Converting '𝓦' => '𝓦' (line 3425) 1173s # Converting '𝓧' => '𝓧' (line 3426) 1173s # Converting '𝓨' => '𝓨' (line 3427) 1173s # Converting '𝓩' => '𝓩' (line 3428) 1173s # Converting '𝓪' => '𝓪' (line 3429) 1173s # Converting '𝓫' => '𝓫' (line 3430) 1173s # Converting '𝓬' => '𝓬' (line 3431) 1173s # Converting '𝓭' => '𝓭' (line 3432) 1173s # Converting '𝓮' => '𝓮' (line 3433) 1173s # Converting '𝓯' => '𝓯' (line 3434) 1173s # Converting '𝓰' => '𝓰' (line 3435) 1173s # Converting '𝓱' => '𝓱' (line 3436) 1173s # Converting '𝓲' => '𝓲' (line 3437) 1173s # Converting '𝓳' => '𝓳' (line 3438) 1173s # Converting '𝓴' => '𝓴' (line 3439) 1173s # Converting '𝓵' => '𝓵' (line 3440) 1173s # Converting '𝓶' => '𝓶' (line 3441) 1173s # Converting '𝓷' => '𝓷' (line 3442) 1173s # Converting '𝓸' => '𝓸' (line 3443) 1173s # Converting '𝓹' => '𝓹' (line 3444) 1173s # Converting '𝓺' => '𝓺' (line 3445) 1173s # Converting '𝓻' => '𝓻' (line 3446) 1173s # Converting '𝓼' => '𝓼' (line 3447) 1173s # Converting '𝓽' => '𝓽' (line 3448) 1173s # Converting '𝓾' => '𝓾' (line 3449) 1173s # Converting '𝓿' => '𝓿' (line 3450) 1173s # Converting '𝔀' => '𝔀' (line 3451) 1173s # Converting '𝔁' => '𝔁' (line 3452) 1173s # Converting '𝔂' => '𝔂' (line 3453) 1173s # Converting '𝔃' => '𝔃' (line 3454) 1173s # Converting '𝔄' => '𝔄' (line 3455) 1173s # Converting '𝔅' => '𝔅' (line 3456) 1173s # Converting '𝔇' => '𝔇' (line 3457) 1173s # Converting '𝔈' => '𝔈' (line 3458) 1173s # Converting '𝔉' => '𝔉' (line 3459) 1173s # Converting '𝔊' => '𝔊' (line 3460) 1173s # Converting '𝔍' => '𝔍' (line 3461) 1173s # Converting '𝔎' => '𝔎' (line 3462) 1173s # Converting '𝔏' => '𝔏' (line 3463) 1173s # Converting '𝔐' => '𝔐' (line 3464) 1173s # Converting '𝔑' => '𝔑' (line 3465) 1173s # Converting '𝔒' => '𝔒' (line 3466) 1173s # Converting '𝔓' => '𝔓' (line 3467) 1173s # Converting '𝔔' => '𝔔' (line 3468) 1173s # Converting '𝔖' => '𝔖' (line 3469) 1173s # Converting '𝔗' => '𝔗' (line 3470) 1173s # Converting '𝔘' => '𝔘' (line 3471) 1173s # Converting '𝔙' => '𝔙' (line 3472) 1173s # Converting '𝔚' => '𝔚' (line 3473) 1173s # Converting '𝔛' => '𝔛' (line 3474) 1173s # Converting '𝔜' => '𝔜' (line 3475) 1173s # Converting '𝔞' => '𝔞' (line 3476) 1173s # Converting '𝔟' => '𝔟' (line 3477) 1173s # Converting '𝔠' => '𝔠' (line 3478) 1173s # Converting '𝔡' => '𝔡' (line 3479) 1173s # Converting '𝔢' => '𝔢' (line 3480) 1173s # Converting '𝔣' => '𝔣' (line 3481) 1173s # Converting '𝔤' => '𝔤' (line 3482) 1173s # Converting '𝔥' => '𝔥' (line 3483) 1173s # Converting '𝔦' => '𝔦' (line 3484) 1173s # Converting '𝔧' => '𝔧' (line 3485) 1173s # Converting '𝔨' => '𝔨' (line 3486) 1173s # Converting '𝔩' => '𝔩' (line 3487) 1173s # Converting '𝔪' => '𝔪' (line 3488) 1173s # Converting '𝔫' => '𝔫' (line 3489) 1173s # Converting '𝔬' => '𝔬' (line 3490) 1173s # Converting '𝔭' => '𝔭' (line 3491) 1173s # Converting '𝔮' => '𝔮' (line 3492) 1173s # Converting '𝔯' => '𝔯' (line 3493) 1173s # Converting '𝔰' => '𝔰' (line 3494) 1173s # Converting '𝔱' => '𝔱' (line 3495) 1173s # Converting '𝔲' => '𝔲' (line 3496) 1173s # Converting '𝔳' => '𝔳' (line 3497) 1173s # Converting '𝔴' => '𝔴' (line 3498) 1173s # Converting '𝔵' => '𝔵' (line 3499) 1173s # Converting '𝔶' => '𝔶' (line 3500) 1173s # Converting '𝔷' => '𝔷' (line 3501) 1173s # Converting '𝔸' => '𝔸' (line 3502) 1173s # Converting '𝔹' => '𝔹' (line 3503) 1173s # Converting '𝔻' => '𝔻' (line 3504) 1173s # Converting '𝔼' => '𝔼' (line 3505) 1173s # Converting '𝔽' => '𝔽' (line 3506) 1173s # Converting '𝔾' => '𝔾' (line 3507) 1173s # Converting '𝕀' => '𝕀' (line 3508) 1173s # Converting '𝕁' => '𝕁' (line 3509) 1173s # Converting '𝕂' => '𝕂' (line 3510) 1173s # Converting '𝕃' => '𝕃' (line 3511) 1173s # Converting '𝕄' => '𝕄' (line 3512) 1173s # Converting '𝕆' => '𝕆' (line 3513) 1173s # Converting '𝕊' => '𝕊' (line 3514) 1173s # Converting '𝕋' => '𝕋' (line 3515) 1173s # Converting '𝕌' => '𝕌' (line 3516) 1173s # Converting '𝕍' => '𝕍' (line 3517) 1173s # Converting '𝕎' => '𝕎' (line 3518) 1173s # Converting '𝕏' => '𝕏' (line 3519) 1173s # Converting '𝕐' => '𝕐' (line 3520) 1173s # Converting '𝕒' => '𝕒' (line 3521) 1173s # Converting '𝕓' => '𝕓' (line 3522) 1173s # Converting '𝕔' => '𝕔' (line 3523) 1173s # Converting '𝕕' => '𝕕' (line 3524) 1173s # Converting '𝕖' => '𝕖' (line 3525) 1173s # Converting '𝕗' => '𝕗' (line 3526) 1173s # Converting '𝕘' => '𝕘' (line 3527) 1173s # Converting '𝕙' => '𝕙' (line 3528) 1173s # Converting '𝕚' => '𝕚' (line 3529) 1173s # Converting '𝕛' => '𝕛' (line 3530) 1173s # Converting '𝕜' => '𝕜' (line 3531) 1173s # Converting '𝕝' => '𝕝' (line 3532) 1173s # Converting '𝕞' => '𝕞' (line 3533) 1173s # Converting '𝕟' => '𝕟' (line 3534) 1173s # Converting '𝕠' => '𝕠' (line 3535) 1173s # Converting '𝕡' => '𝕡' (line 3536) 1173s # Converting '𝕢' => '𝕢' (line 3537) 1173s # Converting '𝕣' => '𝕣' (line 3538) 1173s # Converting '𝕤' => '𝕤' (line 3539) 1173s # Converting '𝕥' => '𝕥' (line 3540) 1173s # Converting '𝕦' => '𝕦' (line 3541) 1173s # Converting '𝕧' => '𝕧' (line 3542) 1173s # Converting '𝕨' => '𝕨' (line 3543) 1173s # Converting '𝕩' => '𝕩' (line 3544) 1173s # Converting '𝕪' => '𝕪' (line 3545) 1173s # Converting '𝕫' => '𝕫' (line 3546) 1173s # Converting '𝕬' => '𝕬' (line 3547) 1173s # Converting '𝕭' => '𝕭' (line 3548) 1173s # Converting '𝕮' => '𝕮' (line 3549) 1173s # Converting '𝕯' => '𝕯' (line 3550) 1173s # Converting '𝕰' => '𝕰' (line 3551) 1173s # Converting '𝕱' => '𝕱' (line 3552) 1173s # Converting '𝕲' => '𝕲' (line 3553) 1173s # Converting '𝕳' => '𝕳' (line 3554) 1173s # Converting '𝕴' => '𝕴' (line 3555) 1173s # Converting '𝕵' => '𝕵' (line 3556) 1173s # Converting '𝕶' => '𝕶' (line 3557) 1173s # Converting '𝕷' => '𝕷' (line 3558) 1173s # Converting '𝕸' => '𝕸' (line 3559) 1173s # Converting '𝕹' => '𝕹' (line 3560) 1173s # Converting '𝕺' => '𝕺' (line 3561) 1173s # Converting '𝕻' => '𝕻' (line 3562) 1173s # Converting '𝕼' => '𝕼' (line 3563) 1173s # Converting '𝕽' => '𝕽' (line 3564) 1173s # Converting '𝕾' => '𝕾' (line 3565) 1173s # Converting '𝕿' => '𝕿' (line 3566) 1173s # Converting '𝖀' => '𝖀' (line 3567) 1173s # Converting '𝖁' => '𝖁' (line 3568) 1173s # Converting '𝖂' => '𝖂' (line 3569) 1173s # Converting '𝖃' => '𝖃' (line 3570) 1173s # Converting '𝖄' => '𝖄' (line 3571) 1173s # Converting '𝖅' => '𝖅' (line 3572) 1173s # Converting '𝖆' => '𝖆' (line 3573) 1173s # Converting '𝖇' => '𝖇' (line 3574) 1173s # Converting '𝖈' => '𝖈' (line 3575) 1173s # Converting '𝖉' => '𝖉' (line 3576) 1173s # Converting '𝖊' => '𝖊' (line 3577) 1173s # Converting '𝖋' => '𝖋' (line 3578) 1173s # Converting '𝖌' => '𝖌' (line 3579) 1173s # Converting '𝖍' => '𝖍' (line 3580) 1173s # Converting '𝖎' => '𝖎' (line 3581) 1173s # Converting '𝖏' => '𝖏' (line 3582) 1173s # Converting '𝖐' => '𝖐' (line 3583) 1173s # Converting '𝖑' => '𝖑' (line 3584) 1173s # Converting '𝖒' => '𝖒' (line 3585) 1173s # Converting '𝖓' => '𝖓' (line 3586) 1173s # Converting '𝖔' => '𝖔' (line 3587) 1173s # Converting '𝖕' => '𝖕' (line 3588) 1173s # Converting '𝖖' => '𝖖' (line 3589) 1173s # Converting '𝖗' => '𝖗' (line 3590) 1173s # Converting '𝖘' => '𝖘' (line 3591) 1173s # Converting '𝖙' => '𝖙' (line 3592) 1173s # Converting '𝖚' => '𝖚' (line 3593) 1173s # Converting '𝖛' => '𝖛' (line 3594) 1173s # Converting '𝖜' => '𝖜' (line 3595) 1173s # Converting '𝖝' => '𝖝' (line 3596) 1173s # Converting '𝖞' => '𝖞' (line 3597) 1173s # Converting '𝖟' => '𝖟' (line 3598) 1173s # Converting '𝖠' => '𝖠' (line 3599) 1173s # Converting '𝖡' => '𝖡' (line 3600) 1173s # Converting '𝖢' => '𝖢' (line 3601) 1173s # Converting '𝖣' => '𝖣' (line 3602) 1173s # Converting '𝖤' => '𝖤' (line 3603) 1173s # Converting '𝖥' => '𝖥' (line 3604) 1173s # Converting '𝖦' => '𝖦' (line 3605) 1173s # Converting '𝖧' => '𝖧' (line 3606) 1173s # Converting '𝖨' => '𝖨' (line 3607) 1173s # Converting '𝖩' => '𝖩' (line 3608) 1173s # Converting '𝖪' => '𝖪' (line 3609) 1173s # Converting '𝖫' => '𝖫' (line 3610) 1173s # Converting '𝖬' => '𝖬' (line 3611) 1173s # Converting '𝖭' => '𝖭' (line 3612) 1173s # Converting '𝖮' => '𝖮' (line 3613) 1173s # Converting '𝖯' => '𝖯' (line 3614) 1173s # Converting '𝖰' => '𝖰' (line 3615) 1173s # Converting '𝖱' => '𝖱' (line 3616) 1173s # Converting '𝖲' => '𝖲' (line 3617) 1173s # Converting '𝖳' => '𝖳' (line 3618) 1173s # Converting '𝖴' => '𝖴' (line 3619) 1173s # Converting '𝖵' => '𝖵' (line 3620) 1173s # Converting '𝖶' => '𝖶' (line 3621) 1173s # Converting '𝖷' => '𝖷' (line 3622) 1173s # Converting '𝖸' => '𝖸' (line 3623) 1173s # Converting '𝖹' => '𝖹' (line 3624) 1173s # Converting '𝖺' => '𝖺' (line 3625) 1173s # Converting '𝖻' => '𝖻' (line 3626) 1173s # Converting '𝖼' => '𝖼' (line 3627) 1173s # Converting '𝖽' => '𝖽' (line 3628) 1173s # Converting '𝖾' => '𝖾' (line 3629) 1173s # Converting '𝖿' => '𝖿' (line 3630) 1173s # Converting '𝗀' => '𝗀' (line 3631) 1173s # Converting '𝗁' => '𝗁' (line 3632) 1173s # Converting '𝗂' => '𝗂' (line 3633) 1173s # Converting '𝗃' => '𝗃' (line 3634) 1173s # Converting '𝗄' => '𝗄' (line 3635) 1173s # Converting '𝗅' => '𝗅' (line 3636) 1173s # Converting '𝗆' => '𝗆' (line 3637) 1173s # Converting '𝗇' => '𝗇' (line 3638) 1173s # Converting '𝗈' => '𝗈' (line 3639) 1173s # Converting '𝗉' => '𝗉' (line 3640) 1173s # Converting '𝗊' => '𝗊' (line 3641) 1173s # Converting '𝗋' => '𝗋' (line 3642) 1173s # Converting '𝗌' => '𝗌' (line 3643) 1173s # Converting '𝗍' => '𝗍' (line 3644) 1173s # Converting '𝗎' => '𝗎' (line 3645) 1173s # Converting '𝗏' => '𝗏' (line 3646) 1173s # Converting '𝗐' => '𝗐' (line 3647) 1173s # Converting '𝗑' => '𝗑' (line 3648) 1173s # Converting '𝗒' => '𝗒' (line 3649) 1173s # Converting '𝗓' => '𝗓' (line 3650) 1173s # Converting '𝗔' => '𝗔' (line 3651) 1173s # Converting '𝗕' => '𝗕' (line 3652) 1173s # Converting '𝗖' => '𝗖' (line 3653) 1173s # Converting '𝗗' => '𝗗' (line 3654) 1173s # Converting '𝗘' => '𝗘' (line 3655) 1173s # Converting '𝗙' => '𝗙' (line 3656) 1173s # Converting '𝗚' => '𝗚' (line 3657) 1173s # Converting '𝗛' => '𝗛' (line 3658) 1173s # Converting '𝗜' => '𝗜' (line 3659) 1173s # Converting '𝗝' => '𝗝' (line 3660) 1173s # Converting '𝗞' => '𝗞' (line 3661) 1173s # Converting '𝗟' => '𝗟' (line 3662) 1173s # Converting '𝗠' => '𝗠' (line 3663) 1173s # Converting '𝗡' => '𝗡' (line 3664) 1173s # Converting '𝗢' => '𝗢' (line 3665) 1173s # Converting '𝗣' => '𝗣' (line 3666) 1173s # Converting '𝗤' => '𝗤' (line 3667) 1173s # Converting '𝗥' => '𝗥' (line 3668) 1173s # Converting '𝗦' => '𝗦' (line 3669) 1173s # Converting '𝗧' => '𝗧' (line 3670) 1173s # Converting '𝗨' => '𝗨' (line 3671) 1173s # Converting '𝗩' => '𝗩' (line 3672) 1173s # Converting '𝗪' => '𝗪' (line 3673) 1173s # Converting '𝗫' => '𝗫' (line 3674) 1173s # Converting '𝗬' => '𝗬' (line 3675) 1173s # Converting '𝗭' => '𝗭' (line 3676) 1173s # Converting '𝗮' => '𝗮' (line 3677) 1173s # Converting '𝗯' => '𝗯' (line 3678) 1173s # Converting '𝗰' => '𝗰' (line 3679) 1173s # Converting '𝗱' => '𝗱' (line 3680) 1173s # Converting '𝗲' => '𝗲' (line 3681) 1173s # Converting '𝗳' => '𝗳' (line 3682) 1173s # Converting '𝗴' => '𝗴' (line 3683) 1173s # Converting '𝗵' => '𝗵' (line 3684) 1173s # Converting '𝗶' => '𝗶' (line 3685) 1173s # Converting '𝗷' => '𝗷' (line 3686) 1173s # Converting '𝗸' => '𝗸' (line 3687) 1173s # Converting '𝗹' => '𝗹' (line 3688) 1173s # Converting '𝗺' => '𝗺' (line 3689) 1173s # Converting '𝗻' => '𝗻' (line 3690) 1173s # Converting '𝗼' => '𝗼' (line 3691) 1173s # Converting '𝗽' => '𝗽' (line 3692) 1173s # Converting '𝗾' => '𝗾' (line 3693) 1173s # Converting '𝗿' => '𝗿' (line 3694) 1173s # Converting '𝘀' => '𝘀' (line 3695) 1173s # Converting '𝘁' => '𝘁' (line 3696) 1173s # Converting '𝘂' => '𝘂' (line 3697) 1173s # Converting '𝘃' => '𝘃' (line 3698) 1173s # Converting '𝘄' => '𝘄' (line 3699) 1173s # Converting '𝘅' => '𝘅' (line 3700) 1173s # Converting '𝘆' => '𝘆' (line 3701) 1173s # Converting '𝘇' => '𝘇' (line 3702) 1173s # Converting '𝘈' => '𝘈' (line 3703) 1173s # Converting '𝘉' => '𝘉' (line 3704) 1173s # Converting '𝘊' => '𝘊' (line 3705) 1173s # Converting '𝘋' => '𝘋' (line 3706) 1173s # Converting '𝘌' => '𝘌' (line 3707) 1173s # Converting '𝘍' => '𝘍' (line 3708) 1173s # Converting '𝘎' => '𝘎' (line 3709) 1173s # Converting '𝘏' => '𝘏' (line 3710) 1173s # Converting '𝘐' => '𝘐' (line 3711) 1173s # Converting '𝘑' => '𝘑' (line 3712) 1173s # Converting '𝘒' => '𝘒' (line 3713) 1173s # Converting '𝘓' => '𝘓' (line 3714) 1173s # Converting '𝘔' => '𝘔' (line 3715) 1173s # Converting '𝘕' => '𝘕' (line 3716) 1173s # Converting '𝘖' => '𝘖' (line 3717) 1173s # Converting '𝘗' => '𝘗' (line 3718) 1173s # Converting '𝘘' => '𝘘' (line 3719) 1173s # Converting '𝘙' => '𝘙' (line 3720) 1173s # Converting '𝘚' => '𝘚' (line 3721) 1173s # Converting '𝘛' => '𝘛' (line 3722) 1173s # Converting '𝘜' => '𝘜' (line 3723) 1173s # Converting '𝘝' => '𝘝' (line 3724) 1173s # Converting '𝘞' => '𝘞' (line 3725) 1173s # Converting '𝘟' => '𝘟' (line 3726) 1173s # Converting '𝘠' => '𝘠' (line 3727) 1173s # Converting '𝘡' => '𝘡' (line 3728) 1173s # Converting '𝘢' => '𝘢' (line 3729) 1173s # Converting '𝘣' => '𝘣' (line 3730) 1173s # Converting '𝘤' => '𝘤' (line 3731) 1173s # Converting '𝘥' => '𝘥' (line 3732) 1173s # Converting '𝘦' => '𝘦' (line 3733) 1173s # Converting '𝘧' => '𝘧' (line 3734) 1173s # Converting '𝘨' => '𝘨' (line 3735) 1173s # Converting '𝘩' => '𝘩' (line 3736) 1173s # Converting '𝘪' => '𝘪' (line 3737) 1173s # Converting '𝘫' => '𝘫' (line 3738) 1173s # Converting '𝘬' => '𝘬' (line 3739) 1173s # Converting '𝘭' => '𝘭' (line 3740) 1173s # Converting '𝘮' => '𝘮' (line 3741) 1173s # Converting '𝘯' => '𝘯' (line 3742) 1173s # Converting '𝘰' => '𝘰' (line 3743) 1173s # Converting '𝘱' => '𝘱' (line 3744) 1173s # Converting '𝘲' => '𝘲' (line 3745) 1173s # Converting '𝘳' => '𝘳' (line 3746) 1173s # Converting '𝘴' => '𝘴' (line 3747) 1173s # Converting '𝘵' => '𝘵' (line 3748) 1173s # Converting '𝘶' => '𝘶' (line 3749) 1173s # Converting '𝘷' => '𝘷' (line 3750) 1173s # Converting '𝘸' => '𝘸' (line 3751) 1173s # Converting '𝘹' => '𝘹' (line 3752) 1173s # Converting '𝘺' => '𝘺' (line 3753) 1173s # Converting '𝘻' => '𝘻' (line 3754) 1173s # Converting '𝘼' => '𝘼' (line 3755) 1173s # Converting '𝘽' => '𝘽' (line 3756) 1173s # Converting '𝘾' => '𝘾' (line 3757) 1173s # Converting '𝘿' => '𝘿' (line 3758) 1173s # Converting '𝙀' => '𝙀' (line 3759) 1173s # Converting '𝙁' => '𝙁' (line 3760) 1173s # Converting '𝙂' => '𝙂' (line 3761) 1173s # Converting '𝙃' => '𝙃' (line 3762) 1173s # Converting '𝙄' => '𝙄' (line 3763) 1173s # Converting '𝙅' => '𝙅' (line 3764) 1173s # Converting '𝙆' => '𝙆' (line 3765) 1173s # Converting '𝙇' => '𝙇' (line 3766) 1173s # Converting '𝙈' => '𝙈' (line 3767) 1173s # Converting '𝙉' => '𝙉' (line 3768) 1173s # Converting '𝙊' => '𝙊' (line 3769) 1173s # Converting '𝙋' => '𝙋' (line 3770) 1173s # Converting '𝙌' => '𝙌' (line 3771) 1173s # Converting '𝙍' => '𝙍' (line 3772) 1173s # Converting '𝙎' => '𝙎' (line 3773) 1173s # Converting '𝙏' => '𝙏' (line 3774) 1173s # Converting '𝙐' => '𝙐' (line 3775) 1173s # Converting '𝙑' => '𝙑' (line 3776) 1173s # Converting '𝙒' => '𝙒' (line 3777) 1173s # Converting '𝙓' => '𝙓' (line 3778) 1173s # Converting '𝙔' => '𝙔' (line 3779) 1173s # Converting '𝙕' => '𝙕' (line 3780) 1173s # Converting '𝙖' => '𝙖' (line 3781) 1173s # Converting '𝙗' => '𝙗' (line 3782) 1173s # Converting '𝙘' => '𝙘' (line 3783) 1173s # Converting '𝙙' => '𝙙' (line 3784) 1173s # Converting '𝙚' => '𝙚' (line 3785) 1173s # Converting '𝙛' => '𝙛' (line 3786) 1173s # Converting '𝙜' => '𝙜' (line 3787) 1173s # Converting '𝙝' => '𝙝' (line 3788) 1173s # Converting '𝙞' => '𝙞' (line 3789) 1173s # Converting '𝙟' => '𝙟' (line 3790) 1173s # Converting '𝙠' => '𝙠' (line 3791) 1173s # Converting '𝙡' => '𝙡' (line 3792) 1173s # Converting '𝙢' => '𝙢' (line 3793) 1173s # Converting '𝙣' => '𝙣' (line 3794) 1173s # Converting '𝙤' => '𝙤' (line 3795) 1173s # Converting '𝙥' => '𝙥' (line 3796) 1173s # Converting '𝙦' => '𝙦' (line 3797) 1173s # Converting '𝙧' => '𝙧' (line 3798) 1173s # Converting '𝙨' => '𝙨' (line 3799) 1173s # Converting '𝙩' => '𝙩' (line 3800) 1173s # Converting '𝙪' => '𝙪' (line 3801) 1173s # Converting '𝙫' => '𝙫' (line 3802) 1173s # Converting '𝙬' => '𝙬' (line 3803) 1173s # Converting '𝙭' => '𝙭' (line 3804) 1173s # Converting '𝙮' => '𝙮' (line 3805) 1173s # Converting '𝙯' => '𝙯' (line 3806) 1173s # Converting '𝙰' => '𝙰' (line 3807) 1173s # Converting '𝙱' => '𝙱' (line 3808) 1173s # Converting '𝙲' => '𝙲' (line 3809) 1173s # Converting '𝙳' => '𝙳' (line 3810) 1173s # Converting '𝙴' => '𝙴' (line 3811) 1173s # Converting '𝙵' => '𝙵' (line 3812) 1173s # Converting '𝙶' => '𝙶' (line 3813) 1173s # Converting '𝙷' => '𝙷' (line 3814) 1173s # Converting '𝙸' => '𝙸' (line 3815) 1173s # Converting '𝙹' => '𝙹' (line 3816) 1173s # Converting '𝙺' => '𝙺' (line 3817) 1173s # Converting '𝙻' => '𝙻' (line 3818) 1173s # Converting '𝙼' => '𝙼' (line 3819) 1173s # Converting '𝙽' => '𝙽' (line 3820) 1173s # Converting '𝙾' => '𝙾' (line 3821) 1173s # Converting '𝙿' => '𝙿' (line 3822) 1173s # Converting '𝚀' => '𝚀' (line 3823) 1173s # Converting '𝚁' => '𝚁' (line 3824) 1173s # Converting '𝚂' => '𝚂' (line 3825) 1173s # Converting '𝚃' => '𝚃' (line 3826) 1173s # Converting '𝚄' => '𝚄' (line 3827) 1173s # Converting '𝚅' => '𝚅' (line 3828) 1173s # Converting '𝚆' => '𝚆' (line 3829) 1173s # Converting '𝚇' => '𝚇' (line 3830) 1173s # Converting '𝚈' => '𝚈' (line 3831) 1173s # Converting '𝚉' => '𝚉' (line 3832) 1173s # Converting '𝚊' => '𝚊' (line 3833) 1173s # Converting '𝚋' => '𝚋' (line 3834) 1173s # Converting '𝚌' => '𝚌' (line 3835) 1173s # Converting '𝚍' => '𝚍' (line 3836) 1173s # Converting '𝚎' => '𝚎' (line 3837) 1173s # Converting '𝚏' => '𝚏' (line 3838) 1173s # Converting '𝚐' => '𝚐' (line 3839) 1173s # Converting '𝚑' => '𝚑' (line 3840) 1173s # Converting '𝚒' => '𝚒' (line 3841) 1173s # Converting '𝚓' => '𝚓' (line 3842) 1173s # Converting '𝚔' => '𝚔' (line 3843) 1173s # Converting '𝚕' => '𝚕' (line 3844) 1173s # Converting '𝚖' => '𝚖' (line 3845) 1173s # Converting '𝚗' => '𝚗' (line 3846) 1173s # Converting '𝚘' => '𝚘' (line 3847) 1173s # Converting '𝚙' => '𝚙' (line 3848) 1173s # Converting '𝚚' => '𝚚' (line 3849) 1173s # Converting '𝚛' => '𝚛' (line 3850) 1173s # Converting '𝚜' => '𝚜' (line 3851) 1173s # Converting '𝚝' => '𝚝' (line 3852) 1173s # Converting '𝚞' => '𝚞' (line 3853) 1173s # Converting '𝚟' => '𝚟' (line 3854) 1173s # Converting '𝚠' => '𝚠' (line 3855) 1173s # Converting '𝚡' => '𝚡' (line 3856) 1173s # Converting '𝚢' => '𝚢' (line 3857) 1173s # Converting '𝚣' => '𝚣' (line 3858) 1173s # Converting '𝚤' => '𝚤' (line 3859) 1173s # Converting '𝚥' => '𝚥' (line 3860) 1173s # Converting '𝚨' => '𝚨' (line 3861) 1173s # Converting '𝚩' => '𝚩' (line 3862) 1173s # Converting '𝚪' => '𝚪' (line 3863) 1173s # Converting '𝚫' => '𝚫' (line 3864) 1173s # Converting '𝚬' => '𝚬' (line 3865) 1173s # Converting '𝚭' => '𝚭' (line 3866) 1173s # Converting '𝚮' => '𝚮' (line 3867) 1173s # Converting '𝚯' => '𝚯' (line 3868) 1173s # Converting '𝚰' => '𝚰' (line 3869) 1173s # Converting '𝚱' => '𝚱' (line 3870) 1173s # Converting '𝚲' => '𝚲' (line 3871) 1173s # Converting '𝚳' => '𝚳' (line 3872) 1173s # Converting '𝚴' => '𝚴' (line 3873) 1173s # Converting '𝚵' => '𝚵' (line 3874) 1173s # Converting '𝚶' => '𝚶' (line 3875) 1173s # Converting '𝚷' => '𝚷' (line 3876) 1173s # Converting '𝚸' => '𝚸' (line 3877) 1173s # Converting '𝚹' => '𝚹' (line 3878) 1173s # Converting '𝚺' => '𝚺' (line 3879) 1173s # Converting '𝚻' => '𝚻' (line 3880) 1173s # Converting '𝚼' => '𝚼' (line 3881) 1173s # Converting '𝚽' => '𝚽' (line 3882) 1173s # Converting '𝚾' => '𝚾' (line 3883) 1173s # Converting '𝚿' => '𝚿' (line 3884) 1173s # Converting '𝛀' => '𝛀' (line 3885) 1173s # Converting '𝛂' => '𝛂' (line 3886) 1173s # Converting '𝛃' => '𝛃' (line 3887) 1173s # Converting '𝛄' => '𝛄' (line 3888) 1173s # Converting '𝛅' => '𝛅' (line 3889) 1173s # Converting '𝛆' => '𝛆' (line 3890) 1173s # Converting '𝛇' => '𝛇' (line 3891) 1173s # Converting '𝛈' => '𝛈' (line 3892) 1173s # Converting '𝛉' => '𝛉' (line 3893) 1173s # Converting '𝛊' => '𝛊' (line 3894) 1173s # Converting '𝛋' => '𝛋' (line 3895) 1173s # Converting '𝛌' => '𝛌' (line 3896) 1173s # Converting '𝛍' => '𝛍' (line 3897) 1173s # Converting '𝛎' => '𝛎' (line 3898) 1173s # Converting '𝛏' => '𝛏' (line 3899) 1173s # Converting '𝛐' => '𝛐' (line 3900) 1173s # Converting '𝛑' => '𝛑' (line 3901) 1173s # Converting '𝛒' => '𝛒' (line 3902) 1173s # Converting '𝛓' => '𝛓' (line 3903) 1173s # Converting '𝛔' => '𝛔' (line 3904) 1173s # Converting '𝛕' => '𝛕' (line 3905) 1173s # Converting '𝛖' => '𝛖' (line 3906) 1173s # Converting '𝛗' => '𝛗' (line 3907) 1173s # Converting '𝛘' => '𝛘' (line 3908) 1173s # Converting '𝛙' => '𝛙' (line 3909) 1173s # Converting '𝛚' => '𝛚' (line 3910) 1173s # Converting '𝛜' => '𝛜' (line 3911) 1173s # Converting '𝛝' => '𝛝' (line 3912) 1173s # Converting '𝛞' => '𝛞' (line 3913) 1173s # Converting '𝛟' => '𝛟' (line 3914) 1173s # Converting '𝛠' => '𝛠' (line 3915) 1173s # Converting '𝛡' => '𝛡' (line 3916) 1173s # Converting '𝛢' => '𝛢' (line 3917) 1173s # Converting '𝛣' => '𝛣' (line 3918) 1173s # Converting '𝛤' => '𝛤' (line 3919) 1173s # Converting '𝛥' => '𝛥' (line 3920) 1173s # Converting '𝛦' => '𝛦' (line 3921) 1173s # Converting '𝛧' => '𝛧' (line 3922) 1173s # Converting '𝛨' => '𝛨' (line 3923) 1173s # Converting '𝛩' => '𝛩' (line 3924) 1173s # Converting '𝛪' => '𝛪' (line 3925) 1173s # Converting '𝛫' => '𝛫' (line 3926) 1173s # Converting '𝛬' => '𝛬' (line 3927) 1173s # Converting '𝛭' => '𝛭' (line 3928) 1173s # Converting '𝛮' => '𝛮' (line 3929) 1173s # Converting '𝛯' => '𝛯' (line 3930) 1173s # Converting '𝛰' => '𝛰' (line 3931) 1173s # Converting '𝛱' => '𝛱' (line 3932) 1173s # Converting '𝛲' => '𝛲' (line 3933) 1173s # Converting '𝛳' => '𝛳' (line 3934) 1173s # Converting '𝛴' => '𝛴' (line 3935) 1173s # Converting '𝛵' => '𝛵' (line 3936) 1173s # Converting '𝛶' => '𝛶' (line 3937) 1173s # Converting '𝛷' => '𝛷' (line 3938) 1173s # Converting '𝛸' => '𝛸' (line 3939) 1173s # Converting '𝛹' => '𝛹' (line 3940) 1173s # Converting '𝛺' => '𝛺' (line 3941) 1173s # Converting '𝛼' => '𝛼' (line 3942) 1173s # Converting '𝛽' => '𝛽' (line 3943) 1173s # Converting '𝛾' => '𝛾' (line 3944) 1173s # Converting '𝛿' => '𝛿' (line 3945) 1173s # Converting '𝜀' => '𝜀' (line 3946) 1173s # Converting '𝜁' => '𝜁' (line 3947) 1173s # Converting '𝜂' => '𝜂' (line 3948) 1173s # Converting '𝜃' => '𝜃' (line 3949) 1173s # Converting '𝜄' => '𝜄' (line 3950) 1173s # Converting '𝜅' => '𝜅' (line 3951) 1173s # Converting '𝜆' => '𝜆' (line 3952) 1173s # Converting '𝜇' => '𝜇' (line 3953) 1173s # Converting '𝜈' => '𝜈' (line 3954) 1173s # Converting '𝜉' => '𝜉' (line 3955) 1173s # Converting '𝜊' => '𝜊' (line 3956) 1173s # Converting '𝜋' => '𝜋' (line 3957) 1173s # Converting '𝜌' => '𝜌' (line 3958) 1173s # Converting '𝜍' => '𝜍' (line 3959) 1173s # Converting '𝜎' => '𝜎' (line 3960) 1173s # Converting '𝜏' => '𝜏' (line 3961) 1173s # Converting '𝜐' => '𝜐' (line 3962) 1173s # Converting '𝜑' => '𝜑' (line 3963) 1173s # Converting '𝜒' => '𝜒' (line 3964) 1173s # Converting '𝜓' => '𝜓' (line 3965) 1173s # Converting '𝜔' => '𝜔' (line 3966) 1173s # Converting '𝜖' => '𝜖' (line 3967) 1173s # Converting '𝜗' => '𝜗' (line 3968) 1173s # Converting '𝜘' => '𝜘' (line 3969) 1173s # Converting '𝜙' => '𝜙' (line 3970) 1173s # Converting '𝜚' => '𝜚' (line 3971) 1173s # Converting '𝜛' => '𝜛' (line 3972) 1173s # Converting '𝜜' => '𝜜' (line 3973) 1173s # Converting '𝜝' => '𝜝' (line 3974) 1173s # Converting '𝜞' => '𝜞' (line 3975) 1173s # Converting '𝜟' => '𝜟' (line 3976) 1173s # Converting '𝜠' => '𝜠' (line 3977) 1173s # Converting '𝜡' => '𝜡' (line 3978) 1173s # Converting '𝜢' => '𝜢' (line 3979) 1173s # Converting '𝜣' => '𝜣' (line 3980) 1173s # Converting '𝜤' => '𝜤' (line 3981) 1173s # Converting '𝜥' => '𝜥' (line 3982) 1173s # Converting '𝜦' => '𝜦' (line 3983) 1173s # Converting '𝜧' => '𝜧' (line 3984) 1173s # Converting '𝜨' => '𝜨' (line 3985) 1173s # Converting '𝜩' => '𝜩' (line 3986) 1173s # Converting '𝜪' => '𝜪' (line 3987) 1173s # Converting '𝜫' => '𝜫' (line 3988) 1173s # Converting '𝜬' => '𝜬' (line 3989) 1173s # Converting '𝜭' => '𝜭' (line 3990) 1173s # Converting '𝜮' => '𝜮' (line 3991) 1173s # Converting '𝜯' => '𝜯' (line 3992) 1173s # Converting '𝜰' => '𝜰' (line 3993) 1173s # Converting '𝜱' => '𝜱' (line 3994) 1173s # Converting '𝜲' => '𝜲' (line 3995) 1173s # Converting '𝜳' => '𝜳' (line 3996) 1173s # Converting '𝜴' => '𝜴' (line 3997) 1173s # Converting '𝜶' => '𝜶' (line 3998) 1173s # Converting '𝜷' => '𝜷' (line 3999) 1173s # Converting '𝜸' => '𝜸' (line 4000) 1173s # Converting '𝜹' => '𝜹' (line 4001) 1173s # Converting '𝜺' => '𝜺' (line 4002) 1173s # Converting '𝜻' => '𝜻' (line 4003) 1173s # Converting '𝜼' => '𝜼' (line 4004) 1173s # Converting '𝜽' => '𝜽' (line 4005) 1173s # Converting '𝜾' => '𝜾' (line 4006) 1173s # Converting '𝜿' => '𝜿' (line 4007) 1173s # Converting '𝝀' => '𝝀' (line 4008) 1173s # Converting '𝝁' => '𝝁' (line 4009) 1173s # Converting '𝝂' => '𝝂' (line 4010) 1173s # Converting '𝝃' => '𝝃' (line 4011) 1173s # Converting '𝝄' => '𝝄' (line 4012) 1173s # Converting '𝝅' => '𝝅' (line 4013) 1173s # Converting '𝝆' => '𝝆' (line 4014) 1173s # Converting '𝝇' => '𝝇' (line 4015) 1173s # Converting '𝝈' => '𝝈' (line 4016) 1173s # Converting '𝝉' => '𝝉' (line 4017) 1173s # Converting '𝝊' => '𝝊' (line 4018) 1173s # Converting '𝝋' => '𝝋' (line 4019) 1173s # Converting '𝝌' => '𝝌' (line 4020) 1173s # Converting '𝝍' => '𝝍' (line 4021) 1173s # Converting '𝝎' => '𝝎' (line 4022) 1173s # Converting '𝝐' => '𝝐' (line 4023) 1173s # Converting '𝝑' => '𝝑' (line 4024) 1173s # Converting '𝝒' => '𝝒' (line 4025) 1173s # Converting '𝝓' => '𝝓' (line 4026) 1173s # Converting '𝝔' => '𝝔' (line 4027) 1173s # Converting '𝝕' => '𝝕' (line 4028) 1173s # Converting '𝝖' => '𝝖' (line 4029) 1173s # Converting '𝝗' => '𝝗' (line 4030) 1173s # Converting '𝝘' => '𝝘' (line 4031) 1173s # Converting '𝝙' => '𝝙' (line 4032) 1173s # Converting '𝝚' => '𝝚' (line 4033) 1173s # Converting '𝝛' => '𝝛' (line 4034) 1173s # Converting '𝝜' => '𝝜' (line 4035) 1173s # Converting '𝝝' => '𝝝' (line 4036) 1173s # Converting '𝝞' => '𝝞' (line 4037) 1173s # Converting '𝝟' => '𝝟' (line 4038) 1173s # Converting '𝝠' => '𝝠' (line 4039) 1173s # Converting '𝝡' => '𝝡' (line 4040) 1173s # Converting '𝝢' => '𝝢' (line 4041) 1173s # Converting '𝝣' => '𝝣' (line 4042) 1173s # Converting '𝝤' => '𝝤' (line 4043) 1173s # Converting '𝝥' => '𝝥' (line 4044) 1173s # Converting '𝝦' => '𝝦' (line 4045) 1173s # Converting '𝝧' => '𝝧' (line 4046) 1173s # Converting '𝝨' => '𝝨' (line 4047) 1173s # Converting '𝝩' => '𝝩' (line 4048) 1173s # Converting '𝝪' => '𝝪' (line 4049) 1173s # Converting '𝝫' => '𝝫' (line 4050) 1173s # Converting '𝝬' => '𝝬' (line 4051) 1173s # Converting '𝝭' => '𝝭' (line 4052) 1173s # Converting '𝝮' => '𝝮' (line 4053) 1173s # Converting '𝝰' => '𝝰' (line 4054) 1173s # Converting '𝝱' => '𝝱' (line 4055) 1173s # Converting '𝝲' => '𝝲' (line 4056) 1173s # Converting '𝝳' => '𝝳' (line 4057) 1173s # Converting '𝝴' => '𝝴' (line 4058) 1173s # Converting '𝝵' => '𝝵' (line 4059) 1173s # Converting '𝝶' => '𝝶' (line 4060) 1173s # Converting '𝝷' => '𝝷' (line 4061) 1173s # Converting '𝝸' => '𝝸' (line 4062) 1173s # Converting '𝝹' => '𝝹' (line 4063) 1173s # Converting '𝝺' => '𝝺' (line 4064) 1173s # Converting '𝝻' => '𝝻' (line 4065) 1173s # Converting '𝝼' => '𝝼' (line 4066) 1173s # Converting '𝝽' => '𝝽' (line 4067) 1173s # Converting '𝝾' => '𝝾' (line 4068) 1173s # Converting '𝝿' => '𝝿' (line 4069) 1173s # Converting '𝞀' => '𝞀' (line 4070) 1173s # Converting '𝞁' => '𝞁' (line 4071) 1173s # Converting '𝞂' => '𝞂' (line 4072) 1173s # Converting '𝞃' => '𝞃' (line 4073) 1173s # Converting '𝞄' => '𝞄' (line 4074) 1173s # Converting '𝞅' => '𝞅' (line 4075) 1173s # Converting '𝞆' => '𝞆' (line 4076) 1173s # Converting '𝞇' => '𝞇' (line 4077) 1173s # Converting '𝞈' => '𝞈' (line 4078) 1173s # Converting '𝞊' => '𝞊' (line 4079) 1173s # Converting '𝞋' => '𝞋' (line 4080) 1173s # Converting '𝞌' => '𝞌' (line 4081) 1173s # Converting '𝞍' => '𝞍' (line 4082) 1173s # Converting '𝞎' => '𝞎' (line 4083) 1173s # Converting '𝞏' => '𝞏' (line 4084) 1173s # Converting '𝞐' => '𝞐' (line 4085) 1173s # Converting '𝞑' => '𝞑' (line 4086) 1173s # Converting '𝞒' => '𝞒' (line 4087) 1173s # Converting '𝞓' => '𝞓' (line 4088) 1173s # Converting '𝞔' => '𝞔' (line 4089) 1173s # Converting '𝞕' => '𝞕' (line 4090) 1173s # Converting '𝞖' => '𝞖' (line 4091) 1173s # Converting '𝞗' => '𝞗' (line 4092) 1173s # Converting '𝞘' => '𝞘' (line 4093) 1173s # Converting '𝞙' => '𝞙' (line 4094) 1173s # Converting '𝞚' => '𝞚' (line 4095) 1173s # Converting '𝞛' => '𝞛' (line 4096) 1173s # Converting '𝞜' => '𝞜' (line 4097) 1173s # Converting '𝞝' => '𝞝' (line 4098) 1173s # Converting '𝞞' => '𝞞' (line 4099) 1173s # Converting '𝞟' => '𝞟' (line 4100) 1173s # Converting '𝞠' => '𝞠' (line 4101) 1173s # Converting '𝞡' => '𝞡' (line 4102) 1173s # Converting '𝞢' => '𝞢' (line 4103) 1173s # Converting '𝞣' => '𝞣' (line 4104) 1173s # Converting '𝞤' => '𝞤' (line 4105) 1173s # Converting '𝞥' => '𝞥' (line 4106) 1173s # Converting '𝞦' => '𝞦' (line 4107) 1173s # Converting '𝞧' => '𝞧' (line 4108) 1173s # Converting '𝞨' => '𝞨' (line 4109) 1173s # Converting '𝞪' => '𝞪' (line 4110) 1173s # Converting '𝞫' => '𝞫' (line 4111) 1173s # Converting '𝞬' => '𝞬' (line 4112) 1173s # Converting '𝞭' => '𝞭' (line 4113) 1173s # Converting '𝞮' => '𝞮' (line 4114) 1173s # Converting '𝞯' => '𝞯' (line 4115) 1173s # Converting '𝞰' => '𝞰' (line 4116) 1173s # Converting '𝞱' => '𝞱' (line 4117) 1173s # Converting '𝞲' => '𝞲' (line 4118) 1173s # Converting '𝞳' => '𝞳' (line 4119) 1173s # Converting '𝞴' => '𝞴' (line 4120) 1173s # Converting '𝞵' => '𝞵' (line 4121) 1173s # Converting '𝞶' => '𝞶' (line 4122) 1173s # Converting '𝞷' => '𝞷' (line 4123) 1173s # Converting '𝞸' => '𝞸' (line 4124) 1173s # Converting '𝞹' => '𝞹' (line 4125) 1173s # Converting '𝞺' => '𝞺' (line 4126) 1173s # Converting '𝞻' => '𝞻' (line 4127) 1173s # Converting '𝞼' => '𝞼' (line 4128) 1173s # Converting '𝞽' => '𝞽' (line 4129) 1173s # Converting '𝞾' => '𝞾' (line 4130) 1173s # Converting '𝞿' => '𝞿' (line 4131) 1173s # Converting '𝟀' => '𝟀' (line 4132) 1173s # Converting '𝟁' => '𝟁' (line 4133) 1173s # Converting '𝟂' => '𝟂' (line 4134) 1173s # Converting '𝟄' => '𝟄' (line 4135) 1173s # Converting '𝟅' => '𝟅' (line 4136) 1173s # Converting '𝟆' => '𝟆' (line 4137) 1173s # Converting '𝟇' => '𝟇' (line 4138) 1173s # Converting '𝟈' => '𝟈' (line 4139) 1173s # Converting '𝟉' => '𝟉' (line 4140) 1173s # Converting '𝟊' => '𝟊' (line 4141) 1173s # Converting '𝟋' => '𝟋' (line 4142) 1173s # Converting '𝼀' => '𝼀' (line 4143) 1173s # Converting '𝼁' => '𝼁' (line 4144) 1173s # Converting '𝼂' => '𝼂' (line 4145) 1173s # Converting '𝼃' => '𝼃' (line 4146) 1173s # Converting '𝼄' => '𝼄' (line 4147) 1173s # Converting '𝼅' => '𝼅' (line 4148) 1173s # Converting '𝼆' => '𝼆' (line 4149) 1173s # Converting '𝼇' => '𝼇' (line 4150) 1173s # Converting '𝼈' => '𝼈' (line 4151) 1173s # Converting '𝼉' => '𝼉' (line 4152) 1173s # Converting '𝼋' => '𝼋' (line 4153) 1173s # Converting '𝼌' => '𝼌' (line 4154) 1173s # Converting '𝼍' => '𝼍' (line 4155) 1173s # Converting '𝼎' => '𝼎' (line 4156) 1173s # Converting '𝼏' => '𝼏' (line 4157) 1173s # Converting '𝼐' => '𝼐' (line 4158) 1173s # Converting '𝼑' => '𝼑' (line 4159) 1173s # Converting '𝼒' => '𝼒' (line 4160) 1173s # Converting '𝼓' => '𝼓' (line 4161) 1173s # Converting '𝼔' => '𝼔' (line 4162) 1173s # Converting '𝼕' => '𝼕' (line 4163) 1173s # Converting '𝼖' => '𝼖' (line 4164) 1173s # Converting '𝼗' => '𝼗' (line 4165) 1173s # Converting '𝼘' => '𝼘' (line 4166) 1173s # Converting '𝼙' => '𝼙' (line 4167) 1173s # Converting '𝼚' => '𝼚' (line 4168) 1173s # Converting '𝼛' => '𝼛' (line 4169) 1173s # Converting '𝼜' => '𝼜' (line 4170) 1173s # Converting '𝼝' => '𝼝' (line 4171) 1173s # Converting '𝼞' => '𝼞' (line 4172) 1173s # Converting '𝼥' => '𝼥' (line 4173) 1173s # Converting '𝼦' => '𝼦' (line 4174) 1173s # Converting '𝼧' => '𝼧' (line 4175) 1173s # Converting '𝼨' => '𝼨' (line 4176) 1173s # Converting '𝼩' => '𝼩' (line 4177) 1173s # Converting '𝼪' => '𝼪' (line 4178) 1173s # Converting '𞤀' => '𞤀' (line 4179) 1173s # Converting '𞤁' => '𞤁' (line 4180) 1173s # Converting '𞤂' => '𞤂' (line 4181) 1173s # Converting '𞤃' => '𞤃' (line 4182) 1173s # Converting '𞤄' => '𞤄' (line 4183) 1173s # Converting '𞤅' => '𞤅' (line 4184) 1173s # Converting '𞤆' => '𞤆' (line 4185) 1173s # Converting '𞤇' => '𞤇' (line 4186) 1173s # Converting '𞤈' => '𞤈' (line 4187) 1173s # Converting '𞤉' => '𞤉' (line 4188) 1173s # Converting '𞤊' => '𞤊' (line 4189) 1173s # Converting '𞤋' => '𞤋' (line 4190) 1173s # Converting '𞤌' => '𞤌' (line 4191) 1173s # Converting '𞤍' => '𞤍' (line 4192) 1173s # Converting '𞤎' => '𞤎' (line 4193) 1173s # Converting '𞤏' => '𞤏' (line 4194) 1173s # Converting '𞤐' => '𞤐' (line 4195) 1173s # Converting '𞤑' => '𞤑' (line 4196) 1173s # Converting '𞤒' => '𞤒' (line 4197) 1173s # Converting '𞤓' => '𞤓' (line 4198) 1173s # Converting '𞤔' => '𞤔' (line 4199) 1173s # Converting '𞤕' => '𞤕' (line 4200) 1173s # Converting '𞤖' => '𞤖' (line 4201) 1173s # Converting '𞤗' => '𞤗' (line 4202) 1173s # Converting '𞤘' => '𞤘' (line 4203) 1173s # Converting '𞤙' => '𞤙' (line 4204) 1173s # Converting '𞤚' => '𞤚' (line 4205) 1173s # Converting '𞤛' => '𞤛' (line 4206) 1173s # Converting '𞤜' => '𞤜' (line 4207) 1173s # Converting '𞤝' => '𞤝' (line 4208) 1173s # Converting '𞤞' => '𞤞' (line 4209) 1173s # Converting '𞤟' => '𞤟' (line 4210) 1173s # Converting '𞤠' => '𞤠' (line 4211) 1173s # Converting '𞤡' => '𞤡' (line 4212) 1173s # Converting '𞤢' => '𞤀' (line 4213) 1173s # Converting '𞤣' => '𞤁' (line 4214) 1173s # Converting '𞤤' => '𞤂' (line 4215) 1173s # Converting '𞤥' => '𞤃' (line 4216) 1173s # Converting '𞤦' => '𞤄' (line 4217) 1173s # Converting '𞤧' => '𞤅' (line 4218) 1173s # Converting '𞤨' => '𞤆' (line 4219) 1173s # Converting '𞤩' => '𞤇' (line 4220) 1173s # Converting '𞤪' => '𞤈' (line 4221) 1173s # Converting '𞤫' => '𞤉' (line 4222) 1173s # Converting '𞤬' => '𞤊' (line 4223) 1173s # Converting '𞤭' => '𞤋' (line 4224) 1173s # Converting '𞤮' => '𞤌' (line 4225) 1173s # Converting '𞤯' => '𞤍' (line 4226) 1173s # Converting '𞤰' => '𞤎' (line 4227) 1173s # Converting '𞤱' => '𞤏' (line 4228) 1173s # Converting '𞤲' => '𞤐' (line 4229) 1173s # Converting '𞤳' => '𞤑' (line 4230) 1173s # Converting '𞤴' => '𞤒' (line 4231) 1173s # Converting '𞤵' => '𞤓' (line 4232) 1173s # Converting '𞤶' => '𞤔' (line 4233) 1173s # Converting '𞤷' => '𞤕' (line 4234) 1173s # Converting '𞤸' => '𞤖' (line 4235) 1173s # Converting '𞤹' => '𞤗' (line 4236) 1173s # Converting '𞤺' => '𞤘' (line 4237) 1173s # Converting '𞤻' => '𞤙' (line 4238) 1173s # Converting '𞤼' => '𞤚' (line 4239) 1173s # Converting '𞤽' => '𞤛' (line 4240) 1173s # Converting '𞤾' => '𞤜' (line 4241) 1173s # Converting '𞤿' => '𞤝' (line 4242) 1173s # Converting '𞥀' => '𞤞' (line 4243) 1173s # Converting '𞥁' => '𞤟' (line 4244) 1173s # Converting '𞥂' => '𞤠' (line 4245) 1173s # Converting '𞥃' => '𞤡' (line 4246) 1173s # Converting 'AaBbCc@@' => 'aabbcc@@' (line 6) 1173s # Converting 'A' => 'a' (line 10) 1173s # Converting 'B' => 'b' (line 11) 1173s # Converting 'C' => 'c' (line 12) 1173s # Converting 'D' => 'd' (line 13) 1173s # Converting 'E' => 'e' (line 14) 1173s # Converting 'F' => 'f' (line 15) 1173s # Converting 'G' => 'g' (line 16) 1173s # Converting 'H' => 'h' (line 17) 1173s # Converting 'I' => 'i' (line 18) 1173s # Converting 'J' => 'j' (line 19) 1173s # Converting 'K' => 'k' (line 20) 1173s # Converting 'L' => 'l' (line 21) 1173s # Converting 'M' => 'm' (line 22) 1173s # Converting 'N' => 'n' (line 23) 1173s # Converting 'O' => 'o' (line 24) 1173s # Converting 'P' => 'p' (line 25) 1173s # Converting 'Q' => 'q' (line 26) 1173s # Converting 'R' => 'r' (line 27) 1173s # Converting 'S' => 's' (line 28) 1173s # Converting 'T' => 't' (line 29) 1173s # Converting 'U' => 'u' (line 30) 1173s # Converting 'V' => 'v' (line 31) 1173s # Converting 'W' => 'w' (line 32) 1173s # Converting 'X' => 'x' (line 33) 1173s # Converting 'Y' => 'y' (line 34) 1173s # Converting 'Z' => 'z' (line 35) 1173s # Converting 'µ' => 'μ' (line 36) 1173s # Converting 'À' => 'à' (line 37) 1173s # Converting 'Á' => 'á' (line 38) 1173s # Converting 'Â' => 'â' (line 39) 1173s # Converting 'Ã' => 'ã' (line 40) 1173s # Converting 'Ä' => 'ä' (line 41) 1173s # Converting 'Å' => 'å' (line 42) 1173s # Converting 'Æ' => 'æ' (line 43) 1173s # Converting 'Ç' => 'ç' (line 44) 1173s # Converting 'È' => 'è' (line 45) 1173s # Converting 'É' => 'é' (line 46) 1173s # Converting 'Ê' => 'ê' (line 47) 1173s # Converting 'Ë' => 'ë' (line 48) 1173s # Converting 'Ì' => 'ì' (line 49) 1173s # Converting 'Í' => 'í' (line 50) 1173s # Converting 'Î' => 'î' (line 51) 1173s # Converting 'Ï' => 'ï' (line 52) 1173s # Converting 'Ð' => 'ð' (line 53) 1173s # Converting 'Ñ' => 'ñ' (line 54) 1173s # Converting 'Ò' => 'ò' (line 55) 1173s # Converting 'Ó' => 'ó' (line 56) 1173s # Converting 'Ô' => 'ô' (line 57) 1173s # Converting 'Õ' => 'õ' (line 58) 1173s # Converting 'Ö' => 'ö' (line 59) 1173s # Converting 'Ø' => 'ø' (line 60) 1173s # Converting 'Ù' => 'ù' (line 61) 1173s # Converting 'Ú' => 'ú' (line 62) 1173s # Converting 'Û' => 'û' (line 63) 1173s # Converting 'Ü' => 'ü' (line 64) 1173s # Converting 'Ý' => 'ý' (line 65) 1173s # Converting 'Þ' => 'þ' (line 66) 1173s # Converting 'ß' => 'ss' (line 67) 1173s # Converting 'Ā' => 'ā' (line 68) 1173s # Converting 'Ă' => 'ă' (line 69) 1173s # Converting 'Ą' => 'ą' (line 70) 1173s # Converting 'Ć' => 'ć' (line 71) 1173s # Converting 'Ĉ' => 'ĉ' (line 72) 1173s # Converting 'Ċ' => 'ċ' (line 73) 1173s # Converting 'Č' => 'č' (line 74) 1173s # Converting 'Ď' => 'ď' (line 75) 1173s # Converting 'Đ' => 'đ' (line 76) 1173s # Converting 'Ē' => 'ē' (line 77) 1173s # Converting 'Ĕ' => 'ĕ' (line 78) 1173s # Converting 'Ė' => 'ė' (line 79) 1173s # Converting 'Ę' => 'ę' (line 80) 1173s # Converting 'Ě' => 'ě' (line 81) 1173s # Converting 'Ĝ' => 'ĝ' (line 82) 1173s # Converting 'Ğ' => 'ğ' (line 83) 1173s # Converting 'Ġ' => 'ġ' (line 84) 1173s # Converting 'Ģ' => 'ģ' (line 85) 1173s # Converting 'Ĥ' => 'ĥ' (line 86) 1173s # Converting 'Ħ' => 'ħ' (line 87) 1173s # Converting 'Ĩ' => 'ĩ' (line 88) 1173s # Converting 'Ī' => 'ī' (line 89) 1173s # Converting 'Ĭ' => 'ĭ' (line 90) 1173s # Converting 'Į' => 'į' (line 91) 1173s # Converting 'İ' => 'i̇' (line 92) 1173s # Converting 'IJ' => 'ij' (line 93) 1173s # Converting 'Ĵ' => 'ĵ' (line 94) 1173s # Converting 'Ķ' => 'ķ' (line 95) 1173s # Converting 'Ĺ' => 'ĺ' (line 96) 1173s # Converting 'Ļ' => 'ļ' (line 97) 1173s # Converting 'Ľ' => 'ľ' (line 98) 1173s # Converting 'Ŀ' => 'ŀ' (line 99) 1173s # Converting 'Ł' => 'ł' (line 100) 1173s # Converting 'Ń' => 'ń' (line 101) 1173s # Converting 'Ņ' => 'ņ' (line 102) 1173s # Converting 'Ň' => 'ň' (line 103) 1173s # Converting 'ʼn' => 'ʼn' (line 104) 1173s # Converting 'Ŋ' => 'ŋ' (line 105) 1173s # Converting 'Ō' => 'ō' (line 106) 1173s # Converting 'Ŏ' => 'ŏ' (line 107) 1173s # Converting 'Ő' => 'ő' (line 108) 1173s # Converting 'Œ' => 'œ' (line 109) 1173s # Converting 'Ŕ' => 'ŕ' (line 110) 1173s # Converting 'Ŗ' => 'ŗ' (line 111) 1173s # Converting 'Ř' => 'ř' (line 112) 1173s # Converting 'Ś' => 'ś' (line 113) 1173s # Converting 'Ŝ' => 'ŝ' (line 114) 1173s # Converting 'Ş' => 'ş' (line 115) 1173s # Converting 'Š' => 'š' (line 116) 1173s # Converting 'Ţ' => 'ţ' (line 117) 1173s # Converting 'Ť' => 'ť' (line 118) 1173s # Converting 'Ŧ' => 'ŧ' (line 119) 1173s # Converting 'Ũ' => 'ũ' (line 120) 1173s # Converting 'Ū' => 'ū' (line 121) 1173s # Converting 'Ŭ' => 'ŭ' (line 122) 1173s # Converting 'Ů' => 'ů' (line 123) 1173s # Converting 'Ű' => 'ű' (line 124) 1173s # Converting 'Ų' => 'ų' (line 125) 1173s # Converting 'Ŵ' => 'ŵ' (line 126) 1173s # Converting 'Ŷ' => 'ŷ' (line 127) 1173s # Converting 'Ÿ' => 'ÿ' (line 128) 1173s # Converting 'Ź' => 'ź' (line 129) 1173s # Converting 'Ż' => 'ż' (line 130) 1173s # Converting 'Ž' => 'ž' (line 131) 1173s # Converting 'ſ' => 's' (line 132) 1173s # Converting 'Ɓ' => 'ɓ' (line 133) 1173s # Converting 'Ƃ' => 'ƃ' (line 134) 1173s # Converting 'Ƅ' => 'ƅ' (line 135) 1173s # Converting 'Ɔ' => 'ɔ' (line 136) 1173s # Converting 'Ƈ' => 'ƈ' (line 137) 1173s # Converting 'Ɖ' => 'ɖ' (line 138) 1173s # Converting 'Ɗ' => 'ɗ' (line 139) 1173s # Converting 'Ƌ' => 'ƌ' (line 140) 1173s # Converting 'Ǝ' => 'ǝ' (line 141) 1173s # Converting 'Ə' => 'ə' (line 142) 1173s # Converting 'Ɛ' => 'ɛ' (line 143) 1173s # Converting 'Ƒ' => 'ƒ' (line 144) 1173s # Converting 'Ɠ' => 'ɠ' (line 145) 1173s # Converting 'Ɣ' => 'ɣ' (line 146) 1173s # Converting 'Ɩ' => 'ɩ' (line 147) 1173s # Converting 'Ɨ' => 'ɨ' (line 148) 1173s # Converting 'Ƙ' => 'ƙ' (line 149) 1173s # Converting 'Ɯ' => 'ɯ' (line 150) 1173s # Converting 'Ɲ' => 'ɲ' (line 151) 1173s # Converting 'Ɵ' => 'ɵ' (line 152) 1173s # Converting 'Ơ' => 'ơ' (line 153) 1173s # Converting 'Ƣ' => 'ƣ' (line 154) 1173s # Converting 'Ƥ' => 'ƥ' (line 155) 1173s # Converting 'Ʀ' => 'ʀ' (line 156) 1173s # Converting 'Ƨ' => 'ƨ' (line 157) 1173s # Converting 'Ʃ' => 'ʃ' (line 158) 1173s # Converting 'Ƭ' => 'ƭ' (line 159) 1173s # Converting 'Ʈ' => 'ʈ' (line 160) 1173s # Converting 'Ư' => 'ư' (line 161) 1173s # Converting 'Ʊ' => 'ʊ' (line 162) 1173s # Converting 'Ʋ' => 'ʋ' (line 163) 1173s # Converting 'Ƴ' => 'ƴ' (line 164) 1173s # Converting 'Ƶ' => 'ƶ' (line 165) 1173s # Converting 'Ʒ' => 'ʒ' (line 166) 1173s # Converting 'Ƹ' => 'ƹ' (line 167) 1173s # Converting 'Ƽ' => 'ƽ' (line 168) 1173s # Converting 'DŽ' => 'dž' (line 169) 1173s # Converting 'Dž' => 'dž' (line 170) 1173s # Converting 'LJ' => 'lj' (line 171) 1173s # Converting 'Lj' => 'lj' (line 172) 1173s # Converting 'NJ' => 'nj' (line 173) 1173s # Converting 'Nj' => 'nj' (line 174) 1173s # Converting 'Ǎ' => 'ǎ' (line 175) 1173s # Converting 'Ǐ' => 'ǐ' (line 176) 1173s # Converting 'Ǒ' => 'ǒ' (line 177) 1173s # Converting 'Ǔ' => 'ǔ' (line 178) 1173s # Converting 'Ǖ' => 'ǖ' (line 179) 1173s # Converting 'Ǘ' => 'ǘ' (line 180) 1173s # Converting 'Ǚ' => 'ǚ' (line 181) 1173s # Converting 'Ǜ' => 'ǜ' (line 182) 1173s # Converting 'Ǟ' => 'ǟ' (line 183) 1173s # Converting 'Ǡ' => 'ǡ' (line 184) 1173s # Converting 'Ǣ' => 'ǣ' (line 185) 1173s # Converting 'Ǥ' => 'ǥ' (line 186) 1173s # Converting 'Ǧ' => 'ǧ' (line 187) 1173s # Converting 'Ǩ' => 'ǩ' (line 188) 1173s # Converting 'Ǫ' => 'ǫ' (line 189) 1173s # Converting 'Ǭ' => 'ǭ' (line 190) 1173s # Converting 'Ǯ' => 'ǯ' (line 191) 1173s # Converting 'ǰ' => 'ǰ' (line 192) 1173s # Converting 'DZ' => 'dz' (line 193) 1173s # Converting 'Dz' => 'dz' (line 194) 1173s # Converting 'Ǵ' => 'ǵ' (line 195) 1173s # Converting 'Ƕ' => 'ƕ' (line 196) 1173s # Converting 'Ƿ' => 'ƿ' (line 197) 1173s # Converting 'Ǹ' => 'ǹ' (line 198) 1173s # Converting 'Ǻ' => 'ǻ' (line 199) 1173s # Converting 'Ǽ' => 'ǽ' (line 200) 1173s # Converting 'Ǿ' => 'ǿ' (line 201) 1173s # Converting 'Ȁ' => 'ȁ' (line 202) 1173s # Converting 'Ȃ' => 'ȃ' (line 203) 1173s # Converting 'Ȅ' => 'ȅ' (line 204) 1173s # Converting 'Ȇ' => 'ȇ' (line 205) 1173s # Converting 'Ȉ' => 'ȉ' (line 206) 1173s # Converting 'Ȋ' => 'ȋ' (line 207) 1173s # Converting 'Ȍ' => 'ȍ' (line 208) 1173s # Converting 'Ȏ' => 'ȏ' (line 209) 1173s # Converting 'Ȑ' => 'ȑ' (line 210) 1173s # Converting 'Ȓ' => 'ȓ' (line 211) 1173s # Converting 'Ȕ' => 'ȕ' (line 212) 1173s # Converting 'Ȗ' => 'ȗ' (line 213) 1173s # Converting 'Ș' => 'ș' (line 214) 1173s # Converting 'Ț' => 'ț' (line 215) 1173s # Converting 'Ȝ' => 'ȝ' (line 216) 1173s # Converting 'Ȟ' => 'ȟ' (line 217) 1173s # Converting 'Ƞ' => 'ƞ' (line 218) 1173s # Converting 'Ȣ' => 'ȣ' (line 219) 1173s # Converting 'Ȥ' => 'ȥ' (line 220) 1173s # Converting 'Ȧ' => 'ȧ' (line 221) 1173s # Converting 'Ȩ' => 'ȩ' (line 222) 1173s # Converting 'Ȫ' => 'ȫ' (line 223) 1173s # Converting 'Ȭ' => 'ȭ' (line 224) 1173s # Converting 'Ȯ' => 'ȯ' (line 225) 1173s # Converting 'Ȱ' => 'ȱ' (line 226) 1173s # Converting 'Ȳ' => 'ȳ' (line 227) 1173s # Converting 'Ⱥ' => 'ⱥ' (line 228) 1173s # Converting 'Ȼ' => 'ȼ' (line 229) 1173s # Converting 'Ƚ' => 'ƚ' (line 230) 1173s # Converting 'Ⱦ' => 'ⱦ' (line 231) 1173s # Converting 'Ɂ' => 'ɂ' (line 232) 1173s # Converting 'Ƀ' => 'ƀ' (line 233) 1173s # Converting 'Ʉ' => 'ʉ' (line 234) 1173s # Converting 'Ʌ' => 'ʌ' (line 235) 1173s # Converting 'Ɇ' => 'ɇ' (line 236) 1173s # Converting 'Ɉ' => 'ɉ' (line 237) 1173s # Converting 'Ɋ' => 'ɋ' (line 238) 1173s # Converting 'Ɍ' => 'ɍ' (line 239) 1173s # Converting 'Ɏ' => 'ɏ' (line 240) 1173s # Converting 'ͅ' => 'ι' (line 241) 1173s # Converting 'Ͱ' => 'ͱ' (line 242) 1173s # Converting 'Ͳ' => 'ͳ' (line 243) 1173s # Converting 'Ͷ' => 'ͷ' (line 244) 1173s # Converting 'Ϳ' => 'ϳ' (line 245) 1173s # Converting 'Ά' => 'ά' (line 246) 1173s # Converting 'Έ' => 'έ' (line 247) 1173s # Converting 'Ή' => 'ή' (line 248) 1173s # Converting 'Ί' => 'ί' (line 249) 1173s # Converting 'Ό' => 'ό' (line 250) 1173s # Converting 'Ύ' => 'ύ' (line 251) 1173s # Converting 'Ώ' => 'ώ' (line 252) 1173s # Converting 'ΐ' => 'ΐ' (line 253) 1173s # Converting 'Α' => 'α' (line 254) 1173s # Converting 'Β' => 'β' (line 255) 1173s # Converting 'Γ' => 'γ' (line 256) 1173s # Converting 'Δ' => 'δ' (line 257) 1173s # Converting 'Ε' => 'ε' (line 258) 1173s # Converting 'Ζ' => 'ζ' (line 259) 1173s # Converting 'Η' => 'η' (line 260) 1173s # Converting 'Θ' => 'θ' (line 261) 1173s # Converting 'Ι' => 'ι' (line 262) 1173s # Converting 'Κ' => 'κ' (line 263) 1173s # Converting 'Λ' => 'λ' (line 264) 1173s # Converting 'Μ' => 'μ' (line 265) 1173s # Converting 'Ν' => 'ν' (line 266) 1173s # Converting 'Ξ' => 'ξ' (line 267) 1173s # Converting 'Ο' => 'ο' (line 268) 1173s # Converting 'Π' => 'π' (line 269) 1173s # Converting 'Ρ' => 'ρ' (line 270) 1173s # Converting 'Σ' => 'σ' (line 271) 1173s # Converting 'Τ' => 'τ' (line 272) 1173s # Converting 'Υ' => 'υ' (line 273) 1173s # Converting 'Φ' => 'φ' (line 274) 1173s # Converting 'Χ' => 'χ' (line 275) 1173s # Converting 'Ψ' => 'ψ' (line 276) 1173s # Converting 'Ω' => 'ω' (line 277) 1173s # Converting 'Ϊ' => 'ϊ' (line 278) 1173s # Converting 'Ϋ' => 'ϋ' (line 279) 1173s # Converting 'ΰ' => 'ΰ' (line 280) 1173s # Converting 'ς' => 'σ' (line 281) 1173s # Converting 'Ϗ' => 'ϗ' (line 282) 1173s # Converting 'ϐ' => 'β' (line 283) 1173s # Converting 'ϑ' => 'θ' (line 284) 1173s # Converting 'ϕ' => 'φ' (line 285) 1173s # Converting 'ϖ' => 'π' (line 286) 1173s # Converting 'Ϙ' => 'ϙ' (line 287) 1173s # Converting 'Ϛ' => 'ϛ' (line 288) 1173s # Converting 'Ϝ' => 'ϝ' (line 289) 1173s # Converting 'Ϟ' => 'ϟ' (line 290) 1173s # Converting 'Ϡ' => 'ϡ' (line 291) 1173s # Converting 'Ϣ' => 'ϣ' (line 292) 1173s # Converting 'Ϥ' => 'ϥ' (line 293) 1173s # Converting 'Ϧ' => 'ϧ' (line 294) 1173s # Converting 'Ϩ' => 'ϩ' (line 295) 1173s # Converting 'Ϫ' => 'ϫ' (line 296) 1173s # Converting 'Ϭ' => 'ϭ' (line 297) 1173s # Converting 'Ϯ' => 'ϯ' (line 298) 1173s # Converting 'ϰ' => 'κ' (line 299) 1173s # Converting 'ϱ' => 'ρ' (line 300) 1173s # Converting 'ϴ' => 'θ' (line 301) 1173s # Converting 'ϵ' => 'ε' (line 302) 1173s # Converting 'Ϸ' => 'ϸ' (line 303) 1173s # Converting 'Ϲ' => 'ϲ' (line 304) 1173s # Converting 'Ϻ' => 'ϻ' (line 305) 1173s # Converting 'Ͻ' => 'ͻ' (line 306) 1173s # Converting 'Ͼ' => 'ͼ' (line 307) 1173s # Converting 'Ͽ' => 'ͽ' (line 308) 1173s # Converting 'Ѐ' => 'ѐ' (line 309) 1173s # Converting 'Ё' => 'ё' (line 310) 1173s # Converting 'Ђ' => 'ђ' (line 311) 1173s # Converting 'Ѓ' => 'ѓ' (line 312) 1173s # Converting 'Є' => 'є' (line 313) 1173s # Converting 'Ѕ' => 'ѕ' (line 314) 1173s # Converting 'І' => 'і' (line 315) 1173s # Converting 'Ї' => 'ї' (line 316) 1173s # Converting 'Ј' => 'ј' (line 317) 1173s # Converting 'Љ' => 'љ' (line 318) 1173s # Converting 'Њ' => 'њ' (line 319) 1173s # Converting 'Ћ' => 'ћ' (line 320) 1173s # Converting 'Ќ' => 'ќ' (line 321) 1173s # Converting 'Ѝ' => 'ѝ' (line 322) 1173s # Converting 'Ў' => 'ў' (line 323) 1173s # Converting 'Џ' => 'џ' (line 324) 1173s # Converting 'А' => 'а' (line 325) 1173s # Converting 'Б' => 'б' (line 326) 1173s # Converting 'В' => 'в' (line 327) 1173s # Converting 'Г' => 'г' (line 328) 1173s # Converting 'Д' => 'д' (line 329) 1173s # Converting 'Е' => 'е' (line 330) 1173s # Converting 'Ж' => 'ж' (line 331) 1173s # Converting 'З' => 'з' (line 332) 1173s # Converting 'И' => 'и' (line 333) 1173s # Converting 'Й' => 'й' (line 334) 1173s # Converting 'К' => 'к' (line 335) 1173s # Converting 'Л' => 'л' (line 336) 1173s # Converting 'М' => 'м' (line 337) 1173s # Converting 'Н' => 'н' (line 338) 1173s # Converting 'О' => 'о' (line 339) 1173s # Converting 'П' => 'п' (line 340) 1173s # Converting 'Р' => 'р' (line 341) 1173s # Converting 'С' => 'с' (line 342) 1173s # Converting 'Т' => 'т' (line 343) 1173s # Converting 'У' => 'у' (line 344) 1173s # Converting 'Ф' => 'ф' (line 345) 1173s # Converting 'Х' => 'х' (line 346) 1173s # Converting 'Ц' => 'ц' (line 347) 1173s # Converting 'Ч' => 'ч' (line 348) 1173s # Converting 'Ш' => 'ш' (line 349) 1173s # Converting 'Щ' => 'щ' (line 350) 1173s # Converting 'Ъ' => 'ъ' (line 351) 1173s # Converting 'Ы' => 'ы' (line 352) 1173s # Converting 'Ь' => 'ь' (line 353) 1173s # Converting 'Э' => 'э' (line 354) 1173s # Converting 'Ю' => 'ю' (line 355) 1173s # Converting 'Я' => 'я' (line 356) 1173s # Converting 'Ѡ' => 'ѡ' (line 357) 1173s # Converting 'Ѣ' => 'ѣ' (line 358) 1173s # Converting 'Ѥ' => 'ѥ' (line 359) 1173s # Converting 'Ѧ' => 'ѧ' (line 360) 1173s # Converting 'Ѩ' => 'ѩ' (line 361) 1173s # Converting 'Ѫ' => 'ѫ' (line 362) 1173s # Converting 'Ѭ' => 'ѭ' (line 363) 1173s # Converting 'Ѯ' => 'ѯ' (line 364) 1173s # Converting 'Ѱ' => 'ѱ' (line 365) 1173s # Converting 'Ѳ' => 'ѳ' (line 366) 1173s # Converting 'Ѵ' => 'ѵ' (line 367) 1173s # Converting 'Ѷ' => 'ѷ' (line 368) 1173s # Converting 'Ѹ' => 'ѹ' (line 369) 1173s # Converting 'Ѻ' => 'ѻ' (line 370) 1173s # Converting 'Ѽ' => 'ѽ' (line 371) 1173s # Converting 'Ѿ' => 'ѿ' (line 372) 1173s # Converting 'Ҁ' => 'ҁ' (line 373) 1173s # Converting 'Ҋ' => 'ҋ' (line 374) 1173s # Converting 'Ҍ' => 'ҍ' (line 375) 1173s # Converting 'Ҏ' => 'ҏ' (line 376) 1173s # Converting 'Ґ' => 'ґ' (line 377) 1173s # Converting 'Ғ' => 'ғ' (line 378) 1173s # Converting 'Ҕ' => 'ҕ' (line 379) 1173s # Converting 'Җ' => 'җ' (line 380) 1173s # Converting 'Ҙ' => 'ҙ' (line 381) 1173s # Converting 'Қ' => 'қ' (line 382) 1173s # Converting 'Ҝ' => 'ҝ' (line 383) 1173s # Converting 'Ҟ' => 'ҟ' (line 384) 1173s # Converting 'Ҡ' => 'ҡ' (line 385) 1173s # Converting 'Ң' => 'ң' (line 386) 1173s # Converting 'Ҥ' => 'ҥ' (line 387) 1173s # Converting 'Ҧ' => 'ҧ' (line 388) 1173s # Converting 'Ҩ' => 'ҩ' (line 389) 1173s # Converting 'Ҫ' => 'ҫ' (line 390) 1173s # Converting 'Ҭ' => 'ҭ' (line 391) 1173s # Converting 'Ү' => 'ү' (line 392) 1173s # Converting 'Ұ' => 'ұ' (line 393) 1173s # Converting 'Ҳ' => 'ҳ' (line 394) 1173s # Converting 'Ҵ' => 'ҵ' (line 395) 1173s # Converting 'Ҷ' => 'ҷ' (line 396) 1173s # Converting 'Ҹ' => 'ҹ' (line 397) 1173s # Converting 'Һ' => 'һ' (line 398) 1173s # Converting 'Ҽ' => 'ҽ' (line 399) 1173s # Converting 'Ҿ' => 'ҿ' (line 400) 1173s # Converting 'Ӏ' => 'ӏ' (line 401) 1173s # Converting 'Ӂ' => 'ӂ' (line 402) 1173s # Converting 'Ӄ' => 'ӄ' (line 403) 1173s # Converting 'Ӆ' => 'ӆ' (line 404) 1173s # Converting 'Ӈ' => 'ӈ' (line 405) 1173s # Converting 'Ӊ' => 'ӊ' (line 406) 1173s # Converting 'Ӌ' => 'ӌ' (line 407) 1173s # Converting 'Ӎ' => 'ӎ' (line 408) 1173s # Converting 'Ӑ' => 'ӑ' (line 409) 1173s # Converting 'Ӓ' => 'ӓ' (line 410) 1173s # Converting 'Ӕ' => 'ӕ' (line 411) 1173s # Converting 'Ӗ' => 'ӗ' (line 412) 1173s # Converting 'Ә' => 'ә' (line 413) 1173s # Converting 'Ӛ' => 'ӛ' (line 414) 1173s # Converting 'Ӝ' => 'ӝ' (line 415) 1173s # Converting 'Ӟ' => 'ӟ' (line 416) 1173s # Converting 'Ӡ' => 'ӡ' (line 417) 1173s # Converting 'Ӣ' => 'ӣ' (line 418) 1173s # Converting 'Ӥ' => 'ӥ' (line 419) 1173s # Converting 'Ӧ' => 'ӧ' (line 420) 1173s # Converting 'Ө' => 'ө' (line 421) 1173s # Converting 'Ӫ' => 'ӫ' (line 422) 1173s # Converting 'Ӭ' => 'ӭ' (line 423) 1173s # Converting 'Ӯ' => 'ӯ' (line 424) 1173s # Converting 'Ӱ' => 'ӱ' (line 425) 1173s # Converting 'Ӳ' => 'ӳ' (line 426) 1173s # Converting 'Ӵ' => 'ӵ' (line 427) 1173s # Converting 'Ӷ' => 'ӷ' (line 428) 1173s # Converting 'Ӹ' => 'ӹ' (line 429) 1173s # Converting 'Ӻ' => 'ӻ' (line 430) 1173s # Converting 'Ӽ' => 'ӽ' (line 431) 1173s # Converting 'Ӿ' => 'ӿ' (line 432) 1173s # Converting 'Ԁ' => 'ԁ' (line 433) 1173s # Converting 'Ԃ' => 'ԃ' (line 434) 1173s # Converting 'Ԅ' => 'ԅ' (line 435) 1173s # Converting 'Ԇ' => 'ԇ' (line 436) 1173s # Converting 'Ԉ' => 'ԉ' (line 437) 1173s # Converting 'Ԋ' => 'ԋ' (line 438) 1173s # Converting 'Ԍ' => 'ԍ' (line 439) 1173s # Converting 'Ԏ' => 'ԏ' (line 440) 1173s # Converting 'Ԑ' => 'ԑ' (line 441) 1173s # Converting 'Ԓ' => 'ԓ' (line 442) 1173s # Converting 'Ԕ' => 'ԕ' (line 443) 1173s # Converting 'Ԗ' => 'ԗ' (line 444) 1173s # Converting 'Ԙ' => 'ԙ' (line 445) 1173s # Converting 'Ԛ' => 'ԛ' (line 446) 1173s # Converting 'Ԝ' => 'ԝ' (line 447) 1173s # Converting 'Ԟ' => 'ԟ' (line 448) 1173s # Converting 'Ԡ' => 'ԡ' (line 449) 1173s # Converting 'Ԣ' => 'ԣ' (line 450) 1173s # Converting 'Ԥ' => 'ԥ' (line 451) 1173s # Converting 'Ԧ' => 'ԧ' (line 452) 1173s # Converting 'Ԩ' => 'ԩ' (line 453) 1173s # Converting 'Ԫ' => 'ԫ' (line 454) 1173s # Converting 'Ԭ' => 'ԭ' (line 455) 1173s # Converting 'Ԯ' => 'ԯ' (line 456) 1173s # Converting 'Ա' => 'ա' (line 457) 1173s # Converting 'Բ' => 'բ' (line 458) 1173s # Converting 'Գ' => 'գ' (line 459) 1173s # Converting 'Դ' => 'դ' (line 460) 1173s # Converting 'Ե' => 'ե' (line 461) 1173s # Converting 'Զ' => 'զ' (line 462) 1173s # Converting 'Է' => 'է' (line 463) 1173s # Converting 'Ը' => 'ը' (line 464) 1173s # Converting 'Թ' => 'թ' (line 465) 1173s # Converting 'Ժ' => 'ժ' (line 466) 1173s # Converting 'Ի' => 'ի' (line 467) 1173s # Converting 'Լ' => 'լ' (line 468) 1173s # Converting 'Խ' => 'խ' (line 469) 1173s # Converting 'Ծ' => 'ծ' (line 470) 1173s # Converting 'Կ' => 'կ' (line 471) 1173s # Converting 'Հ' => 'հ' (line 472) 1173s # Converting 'Ձ' => 'ձ' (line 473) 1173s # Converting 'Ղ' => 'ղ' (line 474) 1173s # Converting 'Ճ' => 'ճ' (line 475) 1173s # Converting 'Մ' => 'մ' (line 476) 1173s # Converting 'Յ' => 'յ' (line 477) 1173s # Converting 'Ն' => 'ն' (line 478) 1173s # Converting 'Շ' => 'շ' (line 479) 1173s # Converting 'Ո' => 'ո' (line 480) 1173s # Converting 'Չ' => 'չ' (line 481) 1173s # Converting 'Պ' => 'պ' (line 482) 1173s # Converting 'Ջ' => 'ջ' (line 483) 1173s # Converting 'Ռ' => 'ռ' (line 484) 1173s # Converting 'Ս' => 'ս' (line 485) 1173s # Converting 'Վ' => 'վ' (line 486) 1173s # Converting 'Տ' => 'տ' (line 487) 1173s # Converting 'Ր' => 'ր' (line 488) 1173s # Converting 'Ց' => 'ց' (line 489) 1173s # Converting 'Ւ' => 'ւ' (line 490) 1173s # Converting 'Փ' => 'փ' (line 491) 1173s # Converting 'Ք' => 'ք' (line 492) 1173s # Converting 'Օ' => 'օ' (line 493) 1173s # Converting 'Ֆ' => 'ֆ' (line 494) 1173s # Converting 'և' => 'եւ' (line 495) 1173s # Converting 'Ⴀ' => 'ⴀ' (line 496) 1173s # Converting 'Ⴁ' => 'ⴁ' (line 497) 1173s # Converting 'Ⴂ' => 'ⴂ' (line 498) 1173s # Converting 'Ⴃ' => 'ⴃ' (line 499) 1173s # Converting 'Ⴄ' => 'ⴄ' (line 500) 1173s # Converting 'Ⴅ' => 'ⴅ' (line 501) 1173s # Converting 'Ⴆ' => 'ⴆ' (line 502) 1173s # Converting 'Ⴇ' => 'ⴇ' (line 503) 1173s # Converting 'Ⴈ' => 'ⴈ' (line 504) 1173s # Converting 'Ⴉ' => 'ⴉ' (line 505) 1173s # Converting 'Ⴊ' => 'ⴊ' (line 506) 1173s # Converting 'Ⴋ' => 'ⴋ' (line 507) 1173s # Converting 'Ⴌ' => 'ⴌ' (line 508) 1173s # Converting 'Ⴍ' => 'ⴍ' (line 509) 1173s # Converting 'Ⴎ' => 'ⴎ' (line 510) 1173s # Converting 'Ⴏ' => 'ⴏ' (line 511) 1173s # Converting 'Ⴐ' => 'ⴐ' (line 512) 1173s # Converting 'Ⴑ' => 'ⴑ' (line 513) 1173s # Converting 'Ⴒ' => 'ⴒ' (line 514) 1173s # Converting 'Ⴓ' => 'ⴓ' (line 515) 1173s # Converting 'Ⴔ' => 'ⴔ' (line 516) 1173s # Converting 'Ⴕ' => 'ⴕ' (line 517) 1173s # Converting 'Ⴖ' => 'ⴖ' (line 518) 1173s # Converting 'Ⴗ' => 'ⴗ' (line 519) 1173s # Converting 'Ⴘ' => 'ⴘ' (line 520) 1173s # Converting 'Ⴙ' => 'ⴙ' (line 521) 1173s # Converting 'Ⴚ' => 'ⴚ' (line 522) 1173s # Converting 'Ⴛ' => 'ⴛ' (line 523) 1173s # Converting 'Ⴜ' => 'ⴜ' (line 524) 1173s # Converting 'Ⴝ' => 'ⴝ' (line 525) 1173s # Converting 'Ⴞ' => 'ⴞ' (line 526) 1173s # Converting 'Ⴟ' => 'ⴟ' (line 527) 1173s # Converting 'Ⴠ' => 'ⴠ' (line 528) 1173s # Converting 'Ⴡ' => 'ⴡ' (line 529) 1173s # Converting 'Ⴢ' => 'ⴢ' (line 530) 1173s # Converting 'Ⴣ' => 'ⴣ' (line 531) 1173s # Converting 'Ⴤ' => 'ⴤ' (line 532) 1173s # Converting 'Ⴥ' => 'ⴥ' (line 533) 1173s # Converting 'Ⴧ' => 'ⴧ' (line 534) 1173s # Converting 'Ⴭ' => 'ⴭ' (line 535) 1173s # Converting 'ᏸ' => 'Ᏸ' (line 536) 1173s # Converting 'ᏹ' => 'Ᏹ' (line 537) 1173s # Converting 'ᏺ' => 'Ᏺ' (line 538) 1173s # Converting 'ᏻ' => 'Ᏻ' (line 539) 1173s # Converting 'ᏼ' => 'Ᏼ' (line 540) 1173s # Converting 'ᏽ' => 'Ᏽ' (line 541) 1173s # Converting 'ᲀ' => 'в' (line 542) 1173s # Converting 'ᲁ' => 'д' (line 543) 1173s # Converting 'ᲂ' => 'о' (line 544) 1173s # Converting 'ᲃ' => 'с' (line 545) 1173s # Converting 'ᲄ' => 'т' (line 546) 1173s # Converting 'ᲅ' => 'т' (line 547) 1173s # Converting 'ᲆ' => 'ъ' (line 548) 1173s # Converting 'ᲇ' => 'ѣ' (line 549) 1173s # Converting 'ᲈ' => 'ꙋ' (line 550) 1173s # Converting 'Ᲊ' => 'ᲊ' (line 551) 1173s # Converting 'Ა' => 'ა' (line 552) 1173s # Converting 'Ბ' => 'ბ' (line 553) 1173s # Converting 'Გ' => 'გ' (line 554) 1173s # Converting 'Დ' => 'დ' (line 555) 1173s # Converting 'Ე' => 'ე' (line 556) 1173s # Converting 'Ვ' => 'ვ' (line 557) 1173s # Converting 'Ზ' => 'ზ' (line 558) 1173s # Converting 'Თ' => 'თ' (line 559) 1173s # Converting 'Ი' => 'ი' (line 560) 1173s # Converting 'Კ' => 'კ' (line 561) 1173s # Converting 'Ლ' => 'ლ' (line 562) 1173s # Converting 'Მ' => 'მ' (line 563) 1173s # Converting 'Ნ' => 'ნ' (line 564) 1173s # Converting 'Ო' => 'ო' (line 565) 1173s # Converting 'Პ' => 'პ' (line 566) 1173s # Converting 'Ჟ' => 'ჟ' (line 567) 1173s # Converting 'Რ' => 'რ' (line 568) 1173s # Converting 'Ს' => 'ს' (line 569) 1173s # Converting 'Ტ' => 'ტ' (line 570) 1173s # Converting 'Უ' => 'უ' (line 571) 1173s # Converting 'Ფ' => 'ფ' (line 572) 1173s # Converting 'Ქ' => 'ქ' (line 573) 1173s # Converting 'Ღ' => 'ღ' (line 574) 1173s # Converting 'Ყ' => 'ყ' (line 575) 1173s # Converting 'Შ' => 'შ' (line 576) 1173s # Converting 'Ჩ' => 'ჩ' (line 577) 1173s # Converting 'Ც' => 'ც' (line 578) 1173s # Converting 'Ძ' => 'ძ' (line 579) 1173s # Converting 'Წ' => 'წ' (line 580) 1173s # Converting 'Ჭ' => 'ჭ' (line 581) 1173s # Converting 'Ხ' => 'ხ' (line 582) 1173s # Converting 'Ჯ' => 'ჯ' (line 583) 1173s # Converting 'Ჰ' => 'ჰ' (line 584) 1173s # Converting 'Ჱ' => 'ჱ' (line 585) 1173s # Converting 'Ჲ' => 'ჲ' (line 586) 1173s # Converting 'Ჳ' => 'ჳ' (line 587) 1173s # Converting 'Ჴ' => 'ჴ' (line 588) 1173s # Converting 'Ჵ' => 'ჵ' (line 589) 1173s # Converting 'Ჶ' => 'ჶ' (line 590) 1173s # Converting 'Ჷ' => 'ჷ' (line 591) 1173s # Converting 'Ჸ' => 'ჸ' (line 592) 1173s # Converting 'Ჹ' => 'ჹ' (line 593) 1173s # Converting 'Ჺ' => 'ჺ' (line 594) 1173s # Converting 'Ჽ' => 'ჽ' (line 595) 1173s # Converting 'Ჾ' => 'ჾ' (line 596) 1173s # Converting 'Ჿ' => 'ჿ' (line 597) 1173s # Converting 'Ḁ' => 'ḁ' (line 598) 1173s # Converting 'Ḃ' => 'ḃ' (line 599) 1173s # Converting 'Ḅ' => 'ḅ' (line 600) 1173s # Converting 'Ḇ' => 'ḇ' (line 601) 1173s # Converting 'Ḉ' => 'ḉ' (line 602) 1173s # Converting 'Ḋ' => 'ḋ' (line 603) 1173s # Converting 'Ḍ' => 'ḍ' (line 604) 1173s # Converting 'Ḏ' => 'ḏ' (line 605) 1173s # Converting 'Ḑ' => 'ḑ' (line 606) 1173s # Converting 'Ḓ' => 'ḓ' (line 607) 1173s # Converting 'Ḕ' => 'ḕ' (line 608) 1173s # Converting 'Ḗ' => 'ḗ' (line 609) 1173s # Converting 'Ḙ' => 'ḙ' (line 610) 1173s # Converting 'Ḛ' => 'ḛ' (line 611) 1173s # Converting 'Ḝ' => 'ḝ' (line 612) 1173s # Converting 'Ḟ' => 'ḟ' (line 613) 1173s # Converting 'Ḡ' => 'ḡ' (line 614) 1173s # Converting 'Ḣ' => 'ḣ' (line 615) 1173s # Converting 'Ḥ' => 'ḥ' (line 616) 1173s # Converting 'Ḧ' => 'ḧ' (line 617) 1173s # Converting 'Ḩ' => 'ḩ' (line 618) 1173s # Converting 'Ḫ' => 'ḫ' (line 619) 1173s # Converting 'Ḭ' => 'ḭ' (line 620) 1173s # Converting 'Ḯ' => 'ḯ' (line 621) 1173s # Converting 'Ḱ' => 'ḱ' (line 622) 1173s # Converting 'Ḳ' => 'ḳ' (line 623) 1173s # Converting 'Ḵ' => 'ḵ' (line 624) 1173s # Converting 'Ḷ' => 'ḷ' (line 625) 1173s # Converting 'Ḹ' => 'ḹ' (line 626) 1173s # Converting 'Ḻ' => 'ḻ' (line 627) 1173s # Converting 'Ḽ' => 'ḽ' (line 628) 1173s # Converting 'Ḿ' => 'ḿ' (line 629) 1173s # Converting 'Ṁ' => 'ṁ' (line 630) 1173s # Converting 'Ṃ' => 'ṃ' (line 631) 1173s # Converting 'Ṅ' => 'ṅ' (line 632) 1173s # Converting 'Ṇ' => 'ṇ' (line 633) 1173s # Converting 'Ṉ' => 'ṉ' (line 634) 1173s # Converting 'Ṋ' => 'ṋ' (line 635) 1173s # Converting 'Ṍ' => 'ṍ' (line 636) 1173s # Converting 'Ṏ' => 'ṏ' (line 637) 1173s # Converting 'Ṑ' => 'ṑ' (line 638) 1173s # Converting 'Ṓ' => 'ṓ' (line 639) 1173s # Converting 'Ṕ' => 'ṕ' (line 640) 1173s # Converting 'Ṗ' => 'ṗ' (line 641) 1173s # Converting 'Ṙ' => 'ṙ' (line 642) 1173s # Converting 'Ṛ' => 'ṛ' (line 643) 1173s # Converting 'Ṝ' => 'ṝ' (line 644) 1173s # Converting 'Ṟ' => 'ṟ' (line 645) 1173s # Converting 'Ṡ' => 'ṡ' (line 646) 1173s # Converting 'Ṣ' => 'ṣ' (line 647) 1173s # Converting 'Ṥ' => 'ṥ' (line 648) 1173s # Converting 'Ṧ' => 'ṧ' (line 649) 1173s # Converting 'Ṩ' => 'ṩ' (line 650) 1173s # Converting 'Ṫ' => 'ṫ' (line 651) 1173s # Converting 'Ṭ' => 'ṭ' (line 652) 1173s # Converting 'Ṯ' => 'ṯ' (line 653) 1173s # Converting 'Ṱ' => 'ṱ' (line 654) 1173s # Converting 'Ṳ' => 'ṳ' (line 655) 1173s # Converting 'Ṵ' => 'ṵ' (line 656) 1173s # Converting 'Ṷ' => 'ṷ' (line 657) 1173s # Converting 'Ṹ' => 'ṹ' (line 658) 1173s # Converting 'Ṻ' => 'ṻ' (line 659) 1173s # Converting 'Ṽ' => 'ṽ' (line 660) 1173s # Converting 'Ṿ' => 'ṿ' (line 661) 1173s # Converting 'Ẁ' => 'ẁ' (line 662) 1173s # Converting 'Ẃ' => 'ẃ' (line 663) 1173s # Converting 'Ẅ' => 'ẅ' (line 664) 1173s # Converting 'Ẇ' => 'ẇ' (line 665) 1173s # Converting 'Ẉ' => 'ẉ' (line 666) 1173s # Converting 'Ẋ' => 'ẋ' (line 667) 1173s # Converting 'Ẍ' => 'ẍ' (line 668) 1173s # Converting 'Ẏ' => 'ẏ' (line 669) 1173s # Converting 'Ẑ' => 'ẑ' (line 670) 1173s # Converting 'Ẓ' => 'ẓ' (line 671) 1173s # Converting 'Ẕ' => 'ẕ' (line 672) 1173s # Converting 'ẖ' => 'ẖ' (line 673) 1173s # Converting 'ẗ' => 'ẗ' (line 674) 1173s # Converting 'ẘ' => 'ẘ' (line 675) 1173s # Converting 'ẙ' => 'ẙ' (line 676) 1173s # Converting 'ẚ' => 'aʾ' (line 677) 1173s # Converting 'ẛ' => 'ṡ' (line 678) 1173s # Converting 'ẞ' => 'ss' (line 679) 1173s # Converting 'Ạ' => 'ạ' (line 680) 1173s # Converting 'Ả' => 'ả' (line 681) 1173s # Converting 'Ấ' => 'ấ' (line 682) 1173s # Converting 'Ầ' => 'ầ' (line 683) 1173s # Converting 'Ẩ' => 'ẩ' (line 684) 1173s # Converting 'Ẫ' => 'ẫ' (line 685) 1173s # Converting 'Ậ' => 'ậ' (line 686) 1173s # Converting 'Ắ' => 'ắ' (line 687) 1173s # Converting 'Ằ' => 'ằ' (line 688) 1173s # Converting 'Ẳ' => 'ẳ' (line 689) 1173s # Converting 'Ẵ' => 'ẵ' (line 690) 1173s # Converting 'Ặ' => 'ặ' (line 691) 1173s # Converting 'Ẹ' => 'ẹ' (line 692) 1173s # Converting 'Ẻ' => 'ẻ' (line 693) 1173s # Converting 'Ẽ' => 'ẽ' (line 694) 1173s # Converting 'Ế' => 'ế' (line 695) 1173s # Converting 'Ề' => 'ề' (line 696) 1173s # Converting 'Ể' => 'ể' (line 697) 1173s # Converting 'Ễ' => 'ễ' (line 698) 1173s # Converting 'Ệ' => 'ệ' (line 699) 1173s # Converting 'Ỉ' => 'ỉ' (line 700) 1173s # Converting 'Ị' => 'ị' (line 701) 1173s # Converting 'Ọ' => 'ọ' (line 702) 1173s # Converting 'Ỏ' => 'ỏ' (line 703) 1173s # Converting 'Ố' => 'ố' (line 704) 1173s # Converting 'Ồ' => 'ồ' (line 705) 1173s # Converting 'Ổ' => 'ổ' (line 706) 1173s # Converting 'Ỗ' => 'ỗ' (line 707) 1173s # Converting 'Ộ' => 'ộ' (line 708) 1173s # Converting 'Ớ' => 'ớ' (line 709) 1173s # Converting 'Ờ' => 'ờ' (line 710) 1173s # Converting 'Ở' => 'ở' (line 711) 1173s # Converting 'Ỡ' => 'ỡ' (line 712) 1173s # Converting 'Ợ' => 'ợ' (line 713) 1173s # Converting 'Ụ' => 'ụ' (line 714) 1173s # Converting 'Ủ' => 'ủ' (line 715) 1173s # Converting 'Ứ' => 'ứ' (line 716) 1173s # Converting 'Ừ' => 'ừ' (line 717) 1173s # Converting 'Ử' => 'ử' (line 718) 1173s # Converting 'Ữ' => 'ữ' (line 719) 1173s # Converting 'Ự' => 'ự' (line 720) 1173s # Converting 'Ỳ' => 'ỳ' (line 721) 1173s # Converting 'Ỵ' => 'ỵ' (line 722) 1173s # Converting 'Ỷ' => 'ỷ' (line 723) 1173s # Converting 'Ỹ' => 'ỹ' (line 724) 1173s # Converting 'Ỻ' => 'ỻ' (line 725) 1173s # Converting 'Ỽ' => 'ỽ' (line 726) 1173s # Converting 'Ỿ' => 'ỿ' (line 727) 1173s # Converting 'Ἀ' => 'ἀ' (line 728) 1173s # Converting 'Ἁ' => 'ἁ' (line 729) 1173s # Converting 'Ἂ' => 'ἂ' (line 730) 1173s # Converting 'Ἃ' => 'ἃ' (line 731) 1173s # Converting 'Ἄ' => 'ἄ' (line 732) 1173s # Converting 'Ἅ' => 'ἅ' (line 733) 1173s # Converting 'Ἆ' => 'ἆ' (line 734) 1173s # Converting 'Ἇ' => 'ἇ' (line 735) 1173s # Converting 'Ἐ' => 'ἐ' (line 736) 1173s # Converting 'Ἑ' => 'ἑ' (line 737) 1173s # Converting 'Ἒ' => 'ἒ' (line 738) 1173s # Converting 'Ἓ' => 'ἓ' (line 739) 1173s # Converting 'Ἔ' => 'ἔ' (line 740) 1173s # Converting 'Ἕ' => 'ἕ' (line 741) 1173s # Converting 'Ἠ' => 'ἠ' (line 742) 1173s # Converting 'Ἡ' => 'ἡ' (line 743) 1173s # Converting 'Ἢ' => 'ἢ' (line 744) 1173s # Converting 'Ἣ' => 'ἣ' (line 745) 1173s # Converting 'Ἤ' => 'ἤ' (line 746) 1173s # Converting 'Ἥ' => 'ἥ' (line 747) 1173s # Converting 'Ἦ' => 'ἦ' (line 748) 1173s # Converting 'Ἧ' => 'ἧ' (line 749) 1173s # Converting 'Ἰ' => 'ἰ' (line 750) 1173s # Converting 'Ἱ' => 'ἱ' (line 751) 1173s # Converting 'Ἲ' => 'ἲ' (line 752) 1173s # Converting 'Ἳ' => 'ἳ' (line 753) 1173s # Converting 'Ἴ' => 'ἴ' (line 754) 1173s # Converting 'Ἵ' => 'ἵ' (line 755) 1173s # Converting 'Ἶ' => 'ἶ' (line 756) 1173s # Converting 'Ἷ' => 'ἷ' (line 757) 1173s # Converting 'Ὀ' => 'ὀ' (line 758) 1173s # Converting 'Ὁ' => 'ὁ' (line 759) 1173s # Converting 'Ὂ' => 'ὂ' (line 760) 1173s # Converting 'Ὃ' => 'ὃ' (line 761) 1173s # Converting 'Ὄ' => 'ὄ' (line 762) 1173s # Converting 'Ὅ' => 'ὅ' (line 763) 1173s # Converting 'ὐ' => 'ὐ' (line 764) 1173s # Converting 'ὒ' => 'ὒ' (line 765) 1173s # Converting 'ὔ' => 'ὔ' (line 766) 1173s # Converting 'ὖ' => 'ὖ' (line 767) 1173s # Converting 'Ὑ' => 'ὑ' (line 768) 1173s # Converting 'Ὓ' => 'ὓ' (line 769) 1173s # Converting 'Ὕ' => 'ὕ' (line 770) 1173s # Converting 'Ὗ' => 'ὗ' (line 771) 1173s # Converting 'Ὠ' => 'ὠ' (line 772) 1173s # Converting 'Ὡ' => 'ὡ' (line 773) 1173s # Converting 'Ὢ' => 'ὢ' (line 774) 1173s # Converting 'Ὣ' => 'ὣ' (line 775) 1173s # Converting 'Ὤ' => 'ὤ' (line 776) 1173s # Converting 'Ὥ' => 'ὥ' (line 777) 1173s # Converting 'Ὦ' => 'ὦ' (line 778) 1173s # Converting 'Ὧ' => 'ὧ' (line 779) 1173s # Converting 'ᾀ' => 'ἀι' (line 780) 1173s # Converting 'ᾁ' => 'ἁι' (line 781) 1173s # Converting 'ᾂ' => 'ἂι' (line 782) 1173s # Converting 'ᾃ' => 'ἃι' (line 783) 1173s # Converting 'ᾄ' => 'ἄι' (line 784) 1173s # Converting 'ᾅ' => 'ἅι' (line 785) 1173s # Converting 'ᾆ' => 'ἆι' (line 786) 1173s # Converting 'ᾇ' => 'ἇι' (line 787) 1173s # Converting 'ᾈ' => 'ἀι' (line 788) 1173s # Converting 'ᾉ' => 'ἁι' (line 789) 1173s # Converting 'ᾊ' => 'ἂι' (line 790) 1173s # Converting 'ᾋ' => 'ἃι' (line 791) 1173s # Converting 'ᾌ' => 'ἄι' (line 792) 1173s # Converting 'ᾍ' => 'ἅι' (line 793) 1173s # Converting 'ᾎ' => 'ἆι' (line 794) 1173s # Converting 'ᾏ' => 'ἇι' (line 795) 1173s # Converting 'ᾐ' => 'ἠι' (line 796) 1173s # Converting 'ᾑ' => 'ἡι' (line 797) 1173s # Converting 'ᾒ' => 'ἢι' (line 798) 1173s # Converting 'ᾓ' => 'ἣι' (line 799) 1173s # Converting 'ᾔ' => 'ἤι' (line 800) 1173s # Converting 'ᾕ' => 'ἥι' (line 801) 1173s # Converting 'ᾖ' => 'ἦι' (line 802) 1173s # Converting 'ᾗ' => 'ἧι' (line 803) 1173s # Converting 'ᾘ' => 'ἠι' (line 804) 1173s # Converting 'ᾙ' => 'ἡι' (line 805) 1173s # Converting 'ᾚ' => 'ἢι' (line 806) 1173s # Converting 'ᾛ' => 'ἣι' (line 807) 1173s # Converting 'ᾜ' => 'ἤι' (line 808) 1173s # Converting 'ᾝ' => 'ἥι' (line 809) 1173s # Converting 'ᾞ' => 'ἦι' (line 810) 1173s # Converting 'ᾟ' => 'ἧι' (line 811) 1173s # Converting 'ᾠ' => 'ὠι' (line 812) 1173s # Converting 'ᾡ' => 'ὡι' (line 813) 1173s # Converting 'ᾢ' => 'ὢι' (line 814) 1173s # Converting 'ᾣ' => 'ὣι' (line 815) 1173s # Converting 'ᾤ' => 'ὤι' (line 816) 1173s # Converting 'ᾥ' => 'ὥι' (line 817) 1173s # Converting 'ᾦ' => 'ὦι' (line 818) 1173s # Converting 'ᾧ' => 'ὧι' (line 819) 1173s # Converting 'ᾨ' => 'ὠι' (line 820) 1173s # Converting 'ᾩ' => 'ὡι' (line 821) 1173s # Converting 'ᾪ' => 'ὢι' (line 822) 1173s # Converting 'ᾫ' => 'ὣι' (line 823) 1173s # Converting 'ᾬ' => 'ὤι' (line 824) 1173s # Converting 'ᾭ' => 'ὥι' (line 825) 1173s # Converting 'ᾮ' => 'ὦι' (line 826) 1173s # Converting 'ᾯ' => 'ὧι' (line 827) 1173s # Converting 'ᾲ' => 'ὰι' (line 828) 1173s # Converting 'ᾳ' => 'αι' (line 829) 1173s # Converting 'ᾴ' => 'άι' (line 830) 1173s # Converting 'ᾶ' => 'ᾶ' (line 831) 1173s # Converting 'ᾷ' => 'ᾶι' (line 832) 1173s # Converting 'Ᾰ' => 'ᾰ' (line 833) 1173s # Converting 'Ᾱ' => 'ᾱ' (line 834) 1173s # Converting 'Ὰ' => 'ὰ' (line 835) 1173s # Converting 'Ά' => 'ά' (line 836) 1173s # Converting 'ᾼ' => 'αι' (line 837) 1173s # Converting 'ι' => 'ι' (line 838) 1173s # Converting 'ῂ' => 'ὴι' (line 839) 1173s # Converting 'ῃ' => 'ηι' (line 840) 1173s # Converting 'ῄ' => 'ήι' (line 841) 1173s # Converting 'ῆ' => 'ῆ' (line 842) 1173s # Converting 'ῇ' => 'ῆι' (line 843) 1173s # Converting 'Ὲ' => 'ὲ' (line 844) 1173s # Converting 'Έ' => 'έ' (line 845) 1173s # Converting 'Ὴ' => 'ὴ' (line 846) 1173s # Converting 'Ή' => 'ή' (line 847) 1173s # Converting 'ῌ' => 'ηι' (line 848) 1173s # Converting 'ῒ' => 'ῒ' (line 849) 1173s # Converting 'ΐ' => 'ΐ' (line 850) 1173s # Converting 'ῖ' => 'ῖ' (line 851) 1173s # Converting 'ῗ' => 'ῗ' (line 852) 1173s # Converting 'Ῐ' => 'ῐ' (line 853) 1173s # Converting 'Ῑ' => 'ῑ' (line 854) 1173s # Converting 'Ὶ' => 'ὶ' (line 855) 1173s # Converting 'Ί' => 'ί' (line 856) 1173s # Converting 'ῢ' => 'ῢ' (line 857) 1173s # Converting 'ΰ' => 'ΰ' (line 858) 1173s # Converting 'ῤ' => 'ῤ' (line 859) 1173s # Converting 'ῦ' => 'ῦ' (line 860) 1173s # Converting 'ῧ' => 'ῧ' (line 861) 1173s # Converting 'Ῠ' => 'ῠ' (line 862) 1173s # Converting 'Ῡ' => 'ῡ' (line 863) 1173s # Converting 'Ὺ' => 'ὺ' (line 864) 1173s # Converting 'Ύ' => 'ύ' (line 865) 1173s # Converting 'Ῥ' => 'ῥ' (line 866) 1173s # Converting 'ῲ' => 'ὼι' (line 867) 1173s # Converting 'ῳ' => 'ωι' (line 868) 1173s # Converting 'ῴ' => 'ώι' (line 869) 1173s # Converting 'ῶ' => 'ῶ' (line 870) 1173s # Converting 'ῷ' => 'ῶι' (line 871) 1173s # Converting 'Ὸ' => 'ὸ' (line 872) 1173s # Converting 'Ό' => 'ό' (line 873) 1173s # Converting 'Ὼ' => 'ὼ' (line 874) 1173s # Converting 'Ώ' => 'ώ' (line 875) 1173s # Converting 'ῼ' => 'ωι' (line 876) 1173s # Converting 'Ω' => 'ω' (line 877) 1173s # Converting 'K' => 'k' (line 878) 1173s # Converting 'Å' => 'å' (line 879) 1173s # Converting 'Ⅎ' => 'ⅎ' (line 880) 1173s # Converting 'Ⅰ' => 'ⅰ' (line 881) 1173s # Converting 'Ⅱ' => 'ⅱ' (line 882) 1173s # Converting 'Ⅲ' => 'ⅲ' (line 883) 1173s # Converting 'Ⅳ' => 'ⅳ' (line 884) 1173s # Converting 'Ⅴ' => 'ⅴ' (line 885) 1173s # Converting 'Ⅵ' => 'ⅵ' (line 886) 1173s # Converting 'Ⅶ' => 'ⅶ' (line 887) 1173s # Converting 'Ⅷ' => 'ⅷ' (line 888) 1173s # Converting 'Ⅸ' => 'ⅸ' (line 889) 1173s # Converting 'Ⅹ' => 'ⅹ' (line 890) 1173s # Converting 'Ⅺ' => 'ⅺ' (line 891) 1173s # Converting 'Ⅻ' => 'ⅻ' (line 892) 1173s # Converting 'Ⅼ' => 'ⅼ' (line 893) 1173s # Converting 'Ⅽ' => 'ⅽ' (line 894) 1173s # Converting 'Ⅾ' => 'ⅾ' (line 895) 1173s # Converting 'Ⅿ' => 'ⅿ' (line 896) 1173s # Converting 'Ↄ' => 'ↄ' (line 897) 1173s # Converting 'Ⓐ' => 'ⓐ' (line 898) 1173s # Converting 'Ⓑ' => 'ⓑ' (line 899) 1173s # Converting 'Ⓒ' => 'ⓒ' (line 900) 1173s # Converting 'Ⓓ' => 'ⓓ' (line 901) 1173s # Converting 'Ⓔ' => 'ⓔ' (line 902) 1173s # Converting 'Ⓕ' => 'ⓕ' (line 903) 1173s # Converting 'Ⓖ' => 'ⓖ' (line 904) 1173s # Converting 'Ⓗ' => 'ⓗ' (line 905) 1173s # Converting 'Ⓘ' => 'ⓘ' (line 906) 1173s # Converting 'Ⓙ' => 'ⓙ' (line 907) 1173s # Converting 'Ⓚ' => 'ⓚ' (line 908) 1173s # Converting 'Ⓛ' => 'ⓛ' (line 909) 1173s # Converting 'Ⓜ' => 'ⓜ' (line 910) 1173s # Converting 'Ⓝ' => 'ⓝ' (line 911) 1173s # Converting 'Ⓞ' => 'ⓞ' (line 912) 1173s # Converting 'Ⓟ' => 'ⓟ' (line 913) 1173s # Converting 'Ⓠ' => 'ⓠ' (line 914) 1173s # Converting 'Ⓡ' => 'ⓡ' (line 915) 1173s # Converting 'Ⓢ' => 'ⓢ' (line 916) 1173s # Converting 'Ⓣ' => 'ⓣ' (line 917) 1173s # Converting 'Ⓤ' => 'ⓤ' (line 918) 1173s # Converting 'Ⓥ' => 'ⓥ' (line 919) 1173s # Converting 'Ⓦ' => 'ⓦ' (line 920) 1173s # Converting 'Ⓧ' => 'ⓧ' (line 921) 1173s # Converting 'Ⓨ' => 'ⓨ' (line 922) 1173s # Converting 'Ⓩ' => 'ⓩ' (line 923) 1173s # Converting 'Ⰰ' => 'ⰰ' (line 924) 1173s # Converting 'Ⰱ' => 'ⰱ' (line 925) 1173s # Converting 'Ⰲ' => 'ⰲ' (line 926) 1173s # Converting 'Ⰳ' => 'ⰳ' (line 927) 1173s # Converting 'Ⰴ' => 'ⰴ' (line 928) 1173s # Converting 'Ⰵ' => 'ⰵ' (line 929) 1173s # Converting 'Ⰶ' => 'ⰶ' (line 930) 1173s # Converting 'Ⰷ' => 'ⰷ' (line 931) 1173s # Converting 'Ⰸ' => 'ⰸ' (line 932) 1173s # Converting 'Ⰹ' => 'ⰹ' (line 933) 1173s # Converting 'Ⰺ' => 'ⰺ' (line 934) 1173s # Converting 'Ⰻ' => 'ⰻ' (line 935) 1173s # Converting 'Ⰼ' => 'ⰼ' (line 936) 1173s # Converting 'Ⰽ' => 'ⰽ' (line 937) 1173s # Converting 'Ⰾ' => 'ⰾ' (line 938) 1173s # Converting 'Ⰿ' => 'ⰿ' (line 939) 1173s # Converting 'Ⱀ' => 'ⱀ' (line 940) 1173s # Converting 'Ⱁ' => 'ⱁ' (line 941) 1173s # Converting 'Ⱂ' => 'ⱂ' (line 942) 1173s # Converting 'Ⱃ' => 'ⱃ' (line 943) 1173s # Converting 'Ⱄ' => 'ⱄ' (line 944) 1173s # Converting 'Ⱅ' => 'ⱅ' (line 945) 1173s # Converting 'Ⱆ' => 'ⱆ' (line 946) 1173s # Converting 'Ⱇ' => 'ⱇ' (line 947) 1173s # Converting 'Ⱈ' => 'ⱈ' (line 948) 1173s # Converting 'Ⱉ' => 'ⱉ' (line 949) 1173s # Converting 'Ⱊ' => 'ⱊ' (line 950) 1173s # Converting 'Ⱋ' => 'ⱋ' (line 951) 1173s # Converting 'Ⱌ' => 'ⱌ' (line 952) 1173s # Converting 'Ⱍ' => 'ⱍ' (line 953) 1173s # Converting 'Ⱎ' => 'ⱎ' (line 954) 1173s # Converting 'Ⱏ' => 'ⱏ' (line 955) 1173s # Converting 'Ⱐ' => 'ⱐ' (line 956) 1173s # Converting 'Ⱑ' => 'ⱑ' (line 957) 1173s # Converting 'Ⱒ' => 'ⱒ' (line 958) 1173s # Converting 'Ⱓ' => 'ⱓ' (line 959) 1173s # Converting 'Ⱔ' => 'ⱔ' (line 960) 1173s # Converting 'Ⱕ' => 'ⱕ' (line 961) 1173s # Converting 'Ⱖ' => 'ⱖ' (line 962) 1173s # Converting 'Ⱗ' => 'ⱗ' (line 963) 1173s # Converting 'Ⱘ' => 'ⱘ' (line 964) 1173s # Converting 'Ⱙ' => 'ⱙ' (line 965) 1173s # Converting 'Ⱚ' => 'ⱚ' (line 966) 1173s # Converting 'Ⱛ' => 'ⱛ' (line 967) 1173s # Converting 'Ⱜ' => 'ⱜ' (line 968) 1173s # Converting 'Ⱝ' => 'ⱝ' (line 969) 1173s # Converting 'Ⱞ' => 'ⱞ' (line 970) 1173s # Converting 'Ⱟ' => 'ⱟ' (line 971) 1173s # Converting 'Ⱡ' => 'ⱡ' (line 972) 1173s # Converting 'Ɫ' => 'ɫ' (line 973) 1173s # Converting 'Ᵽ' => 'ᵽ' (line 974) 1173s # Converting 'Ɽ' => 'ɽ' (line 975) 1173s # Converting 'Ⱨ' => 'ⱨ' (line 976) 1173s # Converting 'Ⱪ' => 'ⱪ' (line 977) 1173s # Converting 'Ⱬ' => 'ⱬ' (line 978) 1173s # Converting 'Ɑ' => 'ɑ' (line 979) 1173s # Converting 'Ɱ' => 'ɱ' (line 980) 1173s # Converting 'Ɐ' => 'ɐ' (line 981) 1173s # Converting 'Ɒ' => 'ɒ' (line 982) 1173s # Converting 'Ⱳ' => 'ⱳ' (line 983) 1173s # Converting 'Ⱶ' => 'ⱶ' (line 984) 1173s # Converting 'Ȿ' => 'ȿ' (line 985) 1173s # Converting 'Ɀ' => 'ɀ' (line 986) 1173s # Converting 'Ⲁ' => 'ⲁ' (line 987) 1173s # Converting 'Ⲃ' => 'ⲃ' (line 988) 1173s # Converting 'Ⲅ' => 'ⲅ' (line 989) 1173s # Converting 'Ⲇ' => 'ⲇ' (line 990) 1173s # Converting 'Ⲉ' => 'ⲉ' (line 991) 1173s # Converting 'Ⲋ' => 'ⲋ' (line 992) 1173s # Converting 'Ⲍ' => 'ⲍ' (line 993) 1173s # Converting 'Ⲏ' => 'ⲏ' (line 994) 1173s # Converting 'Ⲑ' => 'ⲑ' (line 995) 1173s # Converting 'Ⲓ' => 'ⲓ' (line 996) 1173s # Converting 'Ⲕ' => 'ⲕ' (line 997) 1173s # Converting 'Ⲗ' => 'ⲗ' (line 998) 1173s # Converting 'Ⲙ' => 'ⲙ' (line 999) 1173s # Converting 'Ⲛ' => 'ⲛ' (line 1000) 1173s # Converting 'Ⲝ' => 'ⲝ' (line 1001) 1173s # Converting 'Ⲟ' => 'ⲟ' (line 1002) 1173s # Converting 'Ⲡ' => 'ⲡ' (line 1003) 1173s # Converting 'Ⲣ' => 'ⲣ' (line 1004) 1173s # Converting 'Ⲥ' => 'ⲥ' (line 1005) 1173s # Converting 'Ⲧ' => 'ⲧ' (line 1006) 1173s # Converting 'Ⲩ' => 'ⲩ' (line 1007) 1173s # Converting 'Ⲫ' => 'ⲫ' (line 1008) 1173s # Converting 'Ⲭ' => 'ⲭ' (line 1009) 1173s # Converting 'Ⲯ' => 'ⲯ' (line 1010) 1173s # Converting 'Ⲱ' => 'ⲱ' (line 1011) 1173s # Converting 'Ⲳ' => 'ⲳ' (line 1012) 1173s # Converting 'Ⲵ' => 'ⲵ' (line 1013) 1173s # Converting 'Ⲷ' => 'ⲷ' (line 1014) 1173s # Converting 'Ⲹ' => 'ⲹ' (line 1015) 1173s # Converting 'Ⲻ' => 'ⲻ' (line 1016) 1173s # Converting 'Ⲽ' => 'ⲽ' (line 1017) 1173s # Converting 'Ⲿ' => 'ⲿ' (line 1018) 1173s # Converting 'Ⳁ' => 'ⳁ' (line 1019) 1173s # Converting 'Ⳃ' => 'ⳃ' (line 1020) 1173s # Converting 'Ⳅ' => 'ⳅ' (line 1021) 1173s # Converting 'Ⳇ' => 'ⳇ' (line 1022) 1173s # Converting 'Ⳉ' => 'ⳉ' (line 1023) 1173s # Converting 'Ⳋ' => 'ⳋ' (line 1024) 1173s # Converting 'Ⳍ' => 'ⳍ' (line 1025) 1173s # Converting 'Ⳏ' => 'ⳏ' (line 1026) 1173s # Converting 'Ⳑ' => 'ⳑ' (line 1027) 1173s # Converting 'Ⳓ' => 'ⳓ' (line 1028) 1173s # Converting 'Ⳕ' => 'ⳕ' (line 1029) 1173s # Converting 'Ⳗ' => 'ⳗ' (line 1030) 1173s # Converting 'Ⳙ' => 'ⳙ' (line 1031) 1173s # Converting 'Ⳛ' => 'ⳛ' (line 1032) 1173s # Converting 'Ⳝ' => 'ⳝ' (line 1033) 1173s # Converting 'Ⳟ' => 'ⳟ' (line 1034) 1173s # Converting 'Ⳡ' => 'ⳡ' (line 1035) 1173s # Converting 'Ⳣ' => 'ⳣ' (line 1036) 1173s # Converting 'Ⳬ' => 'ⳬ' (line 1037) 1173s # Converting 'Ⳮ' => 'ⳮ' (line 1038) 1173s # Converting 'Ⳳ' => 'ⳳ' (line 1039) 1173s # Converting 'Ꙁ' => 'ꙁ' (line 1040) 1173s # Converting 'Ꙃ' => 'ꙃ' (line 1041) 1173s # Converting 'Ꙅ' => 'ꙅ' (line 1042) 1173s # Converting 'Ꙇ' => 'ꙇ' (line 1043) 1173s # Converting 'Ꙉ' => 'ꙉ' (line 1044) 1173s # Converting 'Ꙋ' => 'ꙋ' (line 1045) 1173s # Converting 'Ꙍ' => 'ꙍ' (line 1046) 1173s # Converting 'Ꙏ' => 'ꙏ' (line 1047) 1173s # Converting 'Ꙑ' => 'ꙑ' (line 1048) 1173s # Converting 'Ꙓ' => 'ꙓ' (line 1049) 1173s # Converting 'Ꙕ' => 'ꙕ' (line 1050) 1173s # Converting 'Ꙗ' => 'ꙗ' (line 1051) 1173s # Converting 'Ꙙ' => 'ꙙ' (line 1052) 1173s # Converting 'Ꙛ' => 'ꙛ' (line 1053) 1173s # Converting 'Ꙝ' => 'ꙝ' (line 1054) 1173s # Converting 'Ꙟ' => 'ꙟ' (line 1055) 1173s # Converting 'Ꙡ' => 'ꙡ' (line 1056) 1173s # Converting 'Ꙣ' => 'ꙣ' (line 1057) 1173s # Converting 'Ꙥ' => 'ꙥ' (line 1058) 1173s # Converting 'Ꙧ' => 'ꙧ' (line 1059) 1173s # Converting 'Ꙩ' => 'ꙩ' (line 1060) 1173s # Converting 'Ꙫ' => 'ꙫ' (line 1061) 1173s # Converting 'Ꙭ' => 'ꙭ' (line 1062) 1173s # Converting 'Ꚁ' => 'ꚁ' (line 1063) 1173s # Converting 'Ꚃ' => 'ꚃ' (line 1064) 1173s # Converting 'Ꚅ' => 'ꚅ' (line 1065) 1173s # Converting 'Ꚇ' => 'ꚇ' (line 1066) 1173s # Converting 'Ꚉ' => 'ꚉ' (line 1067) 1173s # Converting 'Ꚋ' => 'ꚋ' (line 1068) 1173s # Converting 'Ꚍ' => 'ꚍ' (line 1069) 1173s # Converting 'Ꚏ' => 'ꚏ' (line 1070) 1173s # Converting 'Ꚑ' => 'ꚑ' (line 1071) 1173s # Converting 'Ꚓ' => 'ꚓ' (line 1072) 1173s # Converting 'Ꚕ' => 'ꚕ' (line 1073) 1173s # Converting 'Ꚗ' => 'ꚗ' (line 1074) 1173s # Converting 'Ꚙ' => 'ꚙ' (line 1075) 1173s # Converting 'Ꚛ' => 'ꚛ' (line 1076) 1173s # Converting 'Ꜣ' => 'ꜣ' (line 1077) 1173s # Converting 'Ꜥ' => 'ꜥ' (line 1078) 1173s # Converting 'Ꜧ' => 'ꜧ' (line 1079) 1173s # Converting 'Ꜩ' => 'ꜩ' (line 1080) 1173s # Converting 'Ꜫ' => 'ꜫ' (line 1081) 1173s # Converting 'Ꜭ' => 'ꜭ' (line 1082) 1173s # Converting 'Ꜯ' => 'ꜯ' (line 1083) 1173s # Converting 'Ꜳ' => 'ꜳ' (line 1084) 1173s # Converting 'Ꜵ' => 'ꜵ' (line 1085) 1173s # Converting 'Ꜷ' => 'ꜷ' (line 1086) 1173s # Converting 'Ꜹ' => 'ꜹ' (line 1087) 1173s # Converting 'Ꜻ' => 'ꜻ' (line 1088) 1173s # Converting 'Ꜽ' => 'ꜽ' (line 1089) 1173s # Converting 'Ꜿ' => 'ꜿ' (line 1090) 1173s # Converting 'Ꝁ' => 'ꝁ' (line 1091) 1173s # Converting 'Ꝃ' => 'ꝃ' (line 1092) 1173s # Converting 'Ꝅ' => 'ꝅ' (line 1093) 1173s # Converting 'Ꝇ' => 'ꝇ' (line 1094) 1173s # Converting 'Ꝉ' => 'ꝉ' (line 1095) 1173s # Converting 'Ꝋ' => 'ꝋ' (line 1096) 1173s # Converting 'Ꝍ' => 'ꝍ' (line 1097) 1173s # Converting 'Ꝏ' => 'ꝏ' (line 1098) 1173s # Converting 'Ꝑ' => 'ꝑ' (line 1099) 1173s # Converting 'Ꝓ' => 'ꝓ' (line 1100) 1173s # Converting 'Ꝕ' => 'ꝕ' (line 1101) 1173s # Converting 'Ꝗ' => 'ꝗ' (line 1102) 1173s # Converting 'Ꝙ' => 'ꝙ' (line 1103) 1173s # Converting 'Ꝛ' => 'ꝛ' (line 1104) 1173s # Converting 'Ꝝ' => 'ꝝ' (line 1105) 1173s # Converting 'Ꝟ' => 'ꝟ' (line 1106) 1173s # Converting 'Ꝡ' => 'ꝡ' (line 1107) 1173s # Converting 'Ꝣ' => 'ꝣ' (line 1108) 1173s # Converting 'Ꝥ' => 'ꝥ' (line 1109) 1173s # Converting 'Ꝧ' => 'ꝧ' (line 1110) 1173s # Converting 'Ꝩ' => 'ꝩ' (line 1111) 1173s # Converting 'Ꝫ' => 'ꝫ' (line 1112) 1173s # Converting 'Ꝭ' => 'ꝭ' (line 1113) 1173s # Converting 'Ꝯ' => 'ꝯ' (line 1114) 1173s # Converting 'Ꝺ' => 'ꝺ' (line 1115) 1173s # Converting 'Ꝼ' => 'ꝼ' (line 1116) 1173s # Converting 'Ᵹ' => 'ᵹ' (line 1117) 1173s # Converting 'Ꝿ' => 'ꝿ' (line 1118) 1173s # Converting 'Ꞁ' => 'ꞁ' (line 1119) 1173s # Converting 'Ꞃ' => 'ꞃ' (line 1120) 1173s # Converting 'Ꞅ' => 'ꞅ' (line 1121) 1173s # Converting 'Ꞇ' => 'ꞇ' (line 1122) 1173s # Converting 'Ꞌ' => 'ꞌ' (line 1123) 1173s # Converting 'Ɥ' => 'ɥ' (line 1124) 1173s # Converting 'Ꞑ' => 'ꞑ' (line 1125) 1173s # Converting 'Ꞓ' => 'ꞓ' (line 1126) 1173s # Converting 'Ꞗ' => 'ꞗ' (line 1127) 1173s # Converting 'Ꞙ' => 'ꞙ' (line 1128) 1173s # Converting 'Ꞛ' => 'ꞛ' (line 1129) 1173s # Converting 'Ꞝ' => 'ꞝ' (line 1130) 1173s # Converting 'Ꞟ' => 'ꞟ' (line 1131) 1173s # Converting 'Ꞡ' => 'ꞡ' (line 1132) 1173s # Converting 'Ꞣ' => 'ꞣ' (line 1133) 1173s # Converting 'Ꞥ' => 'ꞥ' (line 1134) 1173s # Converting 'Ꞧ' => 'ꞧ' (line 1135) 1173s # Converting 'Ꞩ' => 'ꞩ' (line 1136) 1173s # Converting 'Ɦ' => 'ɦ' (line 1137) 1173s # Converting 'Ɜ' => 'ɜ' (line 1138) 1173s # Converting 'Ɡ' => 'ɡ' (line 1139) 1173s # Converting 'Ɬ' => 'ɬ' (line 1140) 1173s # Converting 'Ɪ' => 'ɪ' (line 1141) 1173s # Converting 'Ʞ' => 'ʞ' (line 1142) 1173s # Converting 'Ʇ' => 'ʇ' (line 1143) 1173s # Converting 'Ʝ' => 'ʝ' (line 1144) 1173s # Converting 'Ꭓ' => 'ꭓ' (line 1145) 1173s # Converting 'Ꞵ' => 'ꞵ' (line 1146) 1173s # Converting 'Ꞷ' => 'ꞷ' (line 1147) 1173s # Converting 'Ꞹ' => 'ꞹ' (line 1148) 1173s # Converting 'Ꞻ' => 'ꞻ' (line 1149) 1173s # Converting 'Ꞽ' => 'ꞽ' (line 1150) 1173s # Converting 'Ꞿ' => 'ꞿ' (line 1151) 1173s # Converting 'Ꟁ' => 'ꟁ' (line 1152) 1173s # Converting 'Ꟃ' => 'ꟃ' (line 1153) 1173s # Converting 'Ꞔ' => 'ꞔ' (line 1154) 1173s # Converting 'Ʂ' => 'ʂ' (line 1155) 1173s # Converting 'Ᶎ' => 'ᶎ' (line 1156) 1173s # Converting 'Ꟈ' => 'ꟈ' (line 1157) 1173s # Converting 'Ꟊ' => 'ꟊ' (line 1158) 1173s # Converting 'Ɤ' => 'ɤ' (line 1159) 1173s # Converting 'Ꟍ' => 'ꟍ' (line 1160) 1173s # Converting '꟎' => '꟏' (line 1161) 1173s # Converting 'Ꟑ' => 'ꟑ' (line 1162) 1173s # Converting '꟒' => 'ꟓ' (line 1163) 1173s # Converting '꟔' => 'ꟕ' (line 1164) 1173s # Converting 'Ꟗ' => 'ꟗ' (line 1165) 1173s # Converting 'Ꟙ' => 'ꟙ' (line 1166) 1173s # Converting 'Ꟛ' => 'ꟛ' (line 1167) 1173s # Converting 'Ƛ' => 'ƛ' (line 1168) 1173s # Converting 'Ꟶ' => 'ꟶ' (line 1169) 1173s # Converting 'ꭰ' => 'Ꭰ' (line 1170) 1173s # Converting 'ꭱ' => 'Ꭱ' (line 1171) 1173s # Converting 'ꭲ' => 'Ꭲ' (line 1172) 1173s # Converting 'ꭳ' => 'Ꭳ' (line 1173) 1173s # Converting 'ꭴ' => 'Ꭴ' (line 1174) 1173s # Converting 'ꭵ' => 'Ꭵ' (line 1175) 1173s # Converting 'ꭶ' => 'Ꭶ' (line 1176) 1173s # Converting 'ꭷ' => 'Ꭷ' (line 1177) 1173s # Converting 'ꭸ' => 'Ꭸ' (line 1178) 1173s # Converting 'ꭹ' => 'Ꭹ' (line 1179) 1173s # Converting 'ꭺ' => 'Ꭺ' (line 1180) 1173s # Converting 'ꭻ' => 'Ꭻ' (line 1181) 1173s # Converting 'ꭼ' => 'Ꭼ' (line 1182) 1173s # Converting 'ꭽ' => 'Ꭽ' (line 1183) 1173s # Converting 'ꭾ' => 'Ꭾ' (line 1184) 1173s # Converting 'ꭿ' => 'Ꭿ' (line 1185) 1173s # Converting 'ꮀ' => 'Ꮀ' (line 1186) 1173s # Converting 'ꮁ' => 'Ꮁ' (line 1187) 1173s # Converting 'ꮂ' => 'Ꮂ' (line 1188) 1173s # Converting 'ꮃ' => 'Ꮃ' (line 1189) 1173s # Converting 'ꮄ' => 'Ꮄ' (line 1190) 1173s # Converting 'ꮅ' => 'Ꮅ' (line 1191) 1173s # Converting 'ꮆ' => 'Ꮆ' (line 1192) 1173s # Converting 'ꮇ' => 'Ꮇ' (line 1193) 1173s # Converting 'ꮈ' => 'Ꮈ' (line 1194) 1173s # Converting 'ꮉ' => 'Ꮉ' (line 1195) 1173s # Converting 'ꮊ' => 'Ꮊ' (line 1196) 1173s # Converting 'ꮋ' => 'Ꮋ' (line 1197) 1173s # Converting 'ꮌ' => 'Ꮌ' (line 1198) 1173s # Converting 'ꮍ' => 'Ꮍ' (line 1199) 1173s # Converting 'ꮎ' => 'Ꮎ' (line 1200) 1173s # Converting 'ꮏ' => 'Ꮏ' (line 1201) 1173s # Converting 'ꮐ' => 'Ꮐ' (line 1202) 1173s # Converting 'ꮑ' => 'Ꮑ' (line 1203) 1173s # Converting 'ꮒ' => 'Ꮒ' (line 1204) 1173s # Converting 'ꮓ' => 'Ꮓ' (line 1205) 1173s # Converting 'ꮔ' => 'Ꮔ' (line 1206) 1173s # Converting 'ꮕ' => 'Ꮕ' (line 1207) 1173s # Converting 'ꮖ' => 'Ꮖ' (line 1208) 1173s # Converting 'ꮗ' => 'Ꮗ' (line 1209) 1173s # Converting 'ꮘ' => 'Ꮘ' (line 1210) 1173s # Converting 'ꮙ' => 'Ꮙ' (line 1211) 1173s # Converting 'ꮚ' => 'Ꮚ' (line 1212) 1173s # Converting 'ꮛ' => 'Ꮛ' (line 1213) 1173s # Converting 'ꮜ' => 'Ꮜ' (line 1214) 1173s # Converting 'ꮝ' => 'Ꮝ' (line 1215) 1173s # Converting 'ꮞ' => 'Ꮞ' (line 1216) 1173s # Converting 'ꮟ' => 'Ꮟ' (line 1217) 1173s # Converting 'ꮠ' => 'Ꮠ' (line 1218) 1173s # Converting 'ꮡ' => 'Ꮡ' (line 1219) 1173s # Converting 'ꮢ' => 'Ꮢ' (line 1220) 1173s # Converting 'ꮣ' => 'Ꮣ' (line 1221) 1173s # Converting 'ꮤ' => 'Ꮤ' (line 1222) 1173s # Converting 'ꮥ' => 'Ꮥ' (line 1223) 1173s # Converting 'ꮦ' => 'Ꮦ' (line 1224) 1173s # Converting 'ꮧ' => 'Ꮧ' (line 1225) 1173s # Converting 'ꮨ' => 'Ꮨ' (line 1226) 1173s # Converting 'ꮩ' => 'Ꮩ' (line 1227) 1173s # Converting 'ꮪ' => 'Ꮪ' (line 1228) 1173s # Converting 'ꮫ' => 'Ꮫ' (line 1229) 1173s # Converting 'ꮬ' => 'Ꮬ' (line 1230) 1173s # Converting 'ꮭ' => 'Ꮭ' (line 1231) 1173s # Converting 'ꮮ' => 'Ꮮ' (line 1232) 1173s # Converting 'ꮯ' => 'Ꮯ' (line 1233) 1173s # Converting 'ꮰ' => 'Ꮰ' (line 1234) 1173s # Converting 'ꮱ' => 'Ꮱ' (line 1235) 1173s # Converting 'ꮲ' => 'Ꮲ' (line 1236) 1173s # Converting 'ꮳ' => 'Ꮳ' (line 1237) 1173s # Converting 'ꮴ' => 'Ꮴ' (line 1238) 1173s # Converting 'ꮵ' => 'Ꮵ' (line 1239) 1173s # Converting 'ꮶ' => 'Ꮶ' (line 1240) 1173s # Converting 'ꮷ' => 'Ꮷ' (line 1241) 1173s # Converting 'ꮸ' => 'Ꮸ' (line 1242) 1173s # Converting 'ꮹ' => 'Ꮹ' (line 1243) 1173s # Converting 'ꮺ' => 'Ꮺ' (line 1244) 1173s # Converting 'ꮻ' => 'Ꮻ' (line 1245) 1173s # Converting 'ꮼ' => 'Ꮼ' (line 1246) 1173s # Converting 'ꮽ' => 'Ꮽ' (line 1247) 1173s # Converting 'ꮾ' => 'Ꮾ' (line 1248) 1173s # Converting 'ꮿ' => 'Ꮿ' (line 1249) 1173s # Converting 'ff' => 'ff' (line 1250) 1173s # Converting 'fi' => 'fi' (line 1251) 1173s # Converting 'fl' => 'fl' (line 1252) 1173s # Converting 'ffi' => 'ffi' (line 1253) 1173s # Converting 'ffl' => 'ffl' (line 1254) 1173s # Converting 'ſt' => 'st' (line 1255) 1173s # Converting 'st' => 'st' (line 1256) 1173s # Converting 'ﬓ' => 'մն' (line 1257) 1173s # Converting 'ﬔ' => 'մե' (line 1258) 1173s # Converting 'ﬕ' => 'մի' (line 1259) 1173s # Converting 'ﬖ' => 'վն' (line 1260) 1173s # Converting 'ﬗ' => 'մխ' (line 1261) 1173s # Converting 'A' => 'a' (line 1262) 1173s # Converting 'B' => 'b' (line 1263) 1173s # Converting 'C' => 'c' (line 1264) 1173s # Converting 'D' => 'd' (line 1265) 1173s # Converting 'E' => 'e' (line 1266) 1173s # Converting 'F' => 'f' (line 1267) 1173s # Converting 'G' => 'g' (line 1268) 1173s # Converting 'H' => 'h' (line 1269) 1173s # Converting 'I' => 'i' (line 1270) 1173s # Converting 'J' => 'j' (line 1271) 1173s # Converting 'K' => 'k' (line 1272) 1173s # Converting 'L' => 'l' (line 1273) 1173s # Converting 'M' => 'm' (line 1274) 1173s # Converting 'N' => 'n' (line 1275) 1173s # Converting 'O' => 'o' (line 1276) 1173s # Converting 'P' => 'p' (line 1277) 1173s # Converting 'Q' => 'q' (line 1278) 1173s # Converting 'R' => 'r' (line 1279) 1173s # Converting 'S' => 's' (line 1280) 1173s # Converting 'T' => 't' (line 1281) 1173s # Converting 'U' => 'u' (line 1282) 1173s # Converting 'V' => 'v' (line 1283) 1173s # Converting 'W' => 'w' (line 1284) 1173s # Converting 'X' => 'x' (line 1285) 1173s # Converting 'Y' => 'y' (line 1286) 1173s # Converting 'Z' => 'z' (line 1287) 1173s # Converting '𐐀' => '𐐨' (line 1288) 1173s # Converting '𐐁' => '𐐩' (line 1289) 1173s # Converting '𐐂' => '𐐪' (line 1290) 1173s # Converting '𐐃' => '𐐫' (line 1291) 1173s # Converting '𐐄' => '𐐬' (line 1292) 1173s # Converting '𐐅' => '𐐭' (line 1293) 1173s # Converting '𐐆' => '𐐮' (line 1294) 1173s # Converting '𐐇' => '𐐯' (line 1295) 1173s # Converting '𐐈' => '𐐰' (line 1296) 1173s # Converting '𐐉' => '𐐱' (line 1297) 1173s # Converting '𐐊' => '𐐲' (line 1298) 1173s # Converting '𐐋' => '𐐳' (line 1299) 1173s # Converting '𐐌' => '𐐴' (line 1300) 1173s # Converting '𐐍' => '𐐵' (line 1301) 1173s # Converting '𐐎' => '𐐶' (line 1302) 1173s # Converting '𐐏' => '𐐷' (line 1303) 1173s # Converting '𐐐' => '𐐸' (line 1304) 1173s # Converting '𐐑' => '𐐹' (line 1305) 1173s # Converting '𐐒' => '𐐺' (line 1306) 1173s # Converting '𐐓' => '𐐻' (line 1307) 1173s # Converting '𐐔' => '𐐼' (line 1308) 1173s # Converting '𐐕' => '𐐽' (line 1309) 1173s # Converting '𐐖' => '𐐾' (line 1310) 1173s # Converting '𐐗' => '𐐿' (line 1311) 1173s # Converting '𐐘' => '𐑀' (line 1312) 1173s # Converting '𐐙' => '𐑁' (line 1313) 1173s # Converting '𐐚' => '𐑂' (line 1314) 1173s # Converting '𐐛' => '𐑃' (line 1315) 1173s # Converting '𐐜' => '𐑄' (line 1316) 1173s # Converting '𐐝' => '𐑅' (line 1317) 1173s # Converting '𐐞' => '𐑆' (line 1318) 1173s # Converting '𐐟' => '𐑇' (line 1319) 1173s # Converting '𐐠' => '𐑈' (line 1320) 1173s # Converting '𐐡' => '𐑉' (line 1321) 1173s # Converting '𐐢' => '𐑊' (line 1322) 1173s # Converting '𐐣' => '𐑋' (line 1323) 1173s # Converting '𐐤' => '𐑌' (line 1324) 1173s # Converting '𐐥' => '𐑍' (line 1325) 1173s # Converting '𐐦' => '𐑎' (line 1326) 1173s # Converting '𐐧' => '𐑏' (line 1327) 1173s # Converting '𐒰' => '𐓘' (line 1328) 1173s # Converting '𐒱' => '𐓙' (line 1329) 1173s # Converting '𐒲' => '𐓚' (line 1330) 1173s # Converting '𐒳' => '𐓛' (line 1331) 1173s # Converting '𐒴' => '𐓜' (line 1332) 1173s # Converting '𐒵' => '𐓝' (line 1333) 1173s # Converting '𐒶' => '𐓞' (line 1334) 1173s # Converting '𐒷' => '𐓟' (line 1335) 1173s # Converting '𐒸' => '𐓠' (line 1336) 1173s # Converting '𐒹' => '𐓡' (line 1337) 1173s # Converting '𐒺' => '𐓢' (line 1338) 1173s # Converting '𐒻' => '𐓣' (line 1339) 1173s # Converting '𐒼' => '𐓤' (line 1340) 1173s # Converting '𐒽' => '𐓥' (line 1341) 1173s # Converting '𐒾' => '𐓦' (line 1342) 1173s # Converting '𐒿' => '𐓧' (line 1343) 1173s # Converting '𐓀' => '𐓨' (line 1344) 1173s # Converting '𐓁' => '𐓩' (line 1345) 1173s # Converting '𐓂' => '𐓪' (line 1346) 1173s # Converting '𐓃' => '𐓫' (line 1347) 1173s # Converting '𐓄' => '𐓬' (line 1348) 1173s # Converting '𐓅' => '𐓭' (line 1349) 1173s # Converting '𐓆' => '𐓮' (line 1350) 1173s # Converting '𐓇' => '𐓯' (line 1351) 1173s # Converting '𐓈' => '𐓰' (line 1352) 1173s # Converting '𐓉' => '𐓱' (line 1353) 1173s # Converting '𐓊' => '𐓲' (line 1354) 1173s # Converting '𐓋' => '𐓳' (line 1355) 1173s # Converting '𐓌' => '𐓴' (line 1356) 1173s # Converting '𐓍' => '𐓵' (line 1357) 1173s # Converting '𐓎' => '𐓶' (line 1358) 1173s # Converting '𐓏' => '𐓷' (line 1359) 1173s # Converting '𐓐' => '𐓸' (line 1360) 1173s # Converting '𐓑' => '𐓹' (line 1361) 1173s # Converting '𐓒' => '𐓺' (line 1362) 1173s # Converting '𐓓' => '𐓻' (line 1363) 1173s # Converting '𐕰' => '𐖗' (line 1364) 1173s # Converting '𐕱' => '𐖘' (line 1365) 1173s # Converting '𐕲' => '𐖙' (line 1366) 1173s # Converting '𐕳' => '𐖚' (line 1367) 1173s # Converting '𐕴' => '𐖛' (line 1368) 1173s # Converting '𐕵' => '𐖜' (line 1369) 1173s # Converting '𐕶' => '𐖝' (line 1370) 1173s # Converting '𐕷' => '𐖞' (line 1371) 1173s # Converting '𐕸' => '𐖟' (line 1372) 1173s # Converting '𐕹' => '𐖠' (line 1373) 1173s # Converting '𐕺' => '𐖡' (line 1374) 1173s # Converting '𐕼' => '𐖣' (line 1375) 1173s # Converting '𐕽' => '𐖤' (line 1376) 1173s # Converting '𐕾' => '𐖥' (line 1377) 1173s # Converting '𐕿' => '𐖦' (line 1378) 1173s # Converting '𐖀' => '𐖧' (line 1379) 1173s # Converting '𐖁' => '𐖨' (line 1380) 1173s # Converting '𐖂' => '𐖩' (line 1381) 1173s # Converting '𐖃' => '𐖪' (line 1382) 1173s # Converting '𐖄' => '𐖫' (line 1383) 1173s # Converting '𐖅' => '𐖬' (line 1384) 1173s # Converting '𐖆' => '𐖭' (line 1385) 1173s # Converting '𐖇' => '𐖮' (line 1386) 1173s # Converting '𐖈' => '𐖯' (line 1387) 1173s # Converting '𐖉' => '𐖰' (line 1388) 1173s # Converting '𐖊' => '𐖱' (line 1389) 1173s # Converting '𐖌' => '𐖳' (line 1390) 1173s # Converting '𐖍' => '𐖴' (line 1391) 1173s # Converting '𐖎' => '𐖵' (line 1392) 1173s # Converting '𐖏' => '𐖶' (line 1393) 1173s # Converting '𐖐' => '𐖷' (line 1394) 1173s # Converting '𐖑' => '𐖸' (line 1395) 1173s # Converting '𐖒' => '𐖹' (line 1396) 1173s # Converting '𐖔' => '𐖻' (line 1397) 1173s # Converting '𐖕' => '𐖼' (line 1398) 1173s # Converting '𐲀' => '𐳀' (line 1399) 1173s # Converting '𐲁' => '𐳁' (line 1400) 1173s # Converting '𐲂' => '𐳂' (line 1401) 1173s # Converting '𐲃' => '𐳃' (line 1402) 1173s # Converting '𐲄' => '𐳄' (line 1403) 1173s # Converting '𐲅' => '𐳅' (line 1404) 1173s # Converting '𐲆' => '𐳆' (line 1405) 1173s # Converting '𐲇' => '𐳇' (line 1406) 1173s # Converting '𐲈' => '𐳈' (line 1407) 1173s # Converting '𐲉' => '𐳉' (line 1408) 1173s # Converting '𐲊' => '𐳊' (line 1409) 1173s # Converting '𐲋' => '𐳋' (line 1410) 1173s # Converting '𐲌' => '𐳌' (line 1411) 1173s # Converting '𐲍' => '𐳍' (line 1412) 1173s # Converting '𐲎' => '𐳎' (line 1413) 1173s # Converting '𐲏' => '𐳏' (line 1414) 1173s # Converting '𐲐' => '𐳐' (line 1415) 1173s # Converting '𐲑' => '𐳑' (line 1416) 1173s # Converting '𐲒' => '𐳒' (line 1417) 1173s # Converting '𐲓' => '𐳓' (line 1418) 1173s # Converting '𐲔' => '𐳔' (line 1419) 1173s # Converting '𐲕' => '𐳕' (line 1420) 1173s # Converting '𐲖' => '𐳖' (line 1421) 1173s # Converting '𐲗' => '𐳗' (line 1422) 1173s # Converting '𐲘' => '𐳘' (line 1423) 1173s # Converting '𐲙' => '𐳙' (line 1424) 1173s # Converting '𐲚' => '𐳚' (line 1425) 1173s # Converting '𐲛' => '𐳛' (line 1426) 1173s # Converting '𐲜' => '𐳜' (line 1427) 1173s # Converting '𐲝' => '𐳝' (line 1428) 1173s # Converting '𐲞' => '𐳞' (line 1429) 1173s # Converting '𐲟' => '𐳟' (line 1430) 1173s # Converting '𐲠' => '𐳠' (line 1431) 1173s # Converting '𐲡' => '𐳡' (line 1432) 1173s # Converting '𐲢' => '𐳢' (line 1433) 1173s # Converting '𐲣' => '𐳣' (line 1434) 1173s # Converting '𐲤' => '𐳤' (line 1435) 1173s # Converting '𐲥' => '𐳥' (line 1436) 1173s # Converting '𐲦' => '𐳦' (line 1437) 1173s # Converting '𐲧' => '𐳧' (line 1438) 1173s # Converting '𐲨' => '𐳨' (line 1439) 1173s # Converting '𐲩' => '𐳩' (line 1440) 1173s # Converting '𐲪' => '𐳪' (line 1441) 1173s # Converting '𐲫' => '𐳫' (line 1442) 1173s # Converting '𐲬' => '𐳬' (line 1443) 1173s # Converting '𐲭' => '𐳭' (line 1444) 1173s # Converting '𐲮' => '𐳮' (line 1445) 1173s # Converting '𐲯' => '𐳯' (line 1446) 1173s # Converting '𐲰' => '𐳰' (line 1447) 1173s # Converting '𐲱' => '𐳱' (line 1448) 1173s # Converting '𐲲' => '𐳲' (line 1449) 1173s # Converting '𐵐' => '𐵰' (line 1450) 1173s # Converting '𐵑' => '𐵱' (line 1451) 1173s # Converting '𐵒' => '𐵲' (line 1452) 1173s # Converting '𐵓' => '𐵳' (line 1453) 1173s # Converting '𐵔' => '𐵴' (line 1454) 1173s # Converting '𐵕' => '𐵵' (line 1455) 1173s # Converting '𐵖' => '𐵶' (line 1456) 1173s # Converting '𐵗' => '𐵷' (line 1457) 1173s # Converting '𐵘' => '𐵸' (line 1458) 1173s # Converting '𐵙' => '𐵹' (line 1459) 1173s # Converting '𐵚' => '𐵺' (line 1460) 1173s # Converting '𐵛' => '𐵻' (line 1461) 1173s # Converting '𐵜' => '𐵼' (line 1462) 1173s # Converting '𐵝' => '𐵽' (line 1463) 1173s # Converting '𐵞' => '𐵾' (line 1464) 1173s # Converting '𐵟' => '𐵿' (line 1465) 1173s # Converting '𐵠' => '𐶀' (line 1466) 1173s # Converting '𐵡' => '𐶁' (line 1467) 1173s # Converting '𐵢' => '𐶂' (line 1468) 1173s # Converting '𐵣' => '𐶃' (line 1469) 1173s # Converting '𐵤' => '𐶄' (line 1470) 1173s # Converting '𐵥' => '𐶅' (line 1471) 1173s # Converting '𑢠' => '𑣀' (line 1472) 1173s # Converting '𑢡' => '𑣁' (line 1473) 1173s # Converting '𑢢' => '𑣂' (line 1474) 1173s # Converting '𑢣' => '𑣃' (line 1475) 1173s # Converting '𑢤' => '𑣄' (line 1476) 1173s # Converting '𑢥' => '𑣅' (line 1477) 1173s # Converting '𑢦' => '𑣆' (line 1478) 1173s # Converting '𑢧' => '𑣇' (line 1479) 1173s # Converting '𑢨' => '𑣈' (line 1480) 1173s # Converting '𑢩' => '𑣉' (line 1481) 1173s # Converting '𑢪' => '𑣊' (line 1482) 1173s # Converting '𑢫' => '𑣋' (line 1483) 1173s # Converting '𑢬' => '𑣌' (line 1484) 1173s # Converting '𑢭' => '𑣍' (line 1485) 1173s # Converting '𑢮' => '𑣎' (line 1486) 1173s # Converting '𑢯' => '𑣏' (line 1487) 1173s # Converting '𑢰' => '𑣐' (line 1488) 1173s # Converting '𑢱' => '𑣑' (line 1489) 1173s # Converting '𑢲' => '𑣒' (line 1490) 1173s # Converting '𑢳' => '𑣓' (line 1491) 1173s # Converting '𑢴' => '𑣔' (line 1492) 1173s # Converting '𑢵' => '𑣕' (line 1493) 1173s # Converting '𑢶' => '𑣖' (line 1494) 1173s # Converting '𑢷' => '𑣗' (line 1495) 1173s # Converting '𑢸' => '𑣘' (line 1496) 1173s # Converting '𑢹' => '𑣙' (line 1497) 1173s # Converting '𑢺' => '𑣚' (line 1498) 1173s # Converting '𑢻' => '𑣛' (line 1499) 1173s # Converting '𑢼' => '𑣜' (line 1500) 1173s # Converting '𑢽' => '𑣝' (line 1501) 1173s # Converting '𑢾' => '𑣞' (line 1502) 1173s # Converting '𑢿' => '𑣟' (line 1503) 1173s # Converting '𖹀' => '𖹠' (line 1504) 1173s # Converting '𖹁' => '𖹡' (line 1505) 1173s # Converting '𖹂' => '𖹢' (line 1506) 1173s # Converting '𖹃' => '𖹣' (line 1507) 1173s # Converting '𖹄' => '𖹤' (line 1508) 1173s # Converting '𖹅' => '𖹥' (line 1509) 1173s # Converting '𖹆' => '𖹦' (line 1510) 1173s # Converting '𖹇' => '𖹧' (line 1511) 1173s # Converting '𖹈' => '𖹨' (line 1512) 1173s # Converting '𖹉' => '𖹩' (line 1513) 1173s # Converting '𖹊' => '𖹪' (line 1514) 1173s # Converting '𖹋' => '𖹫' (line 1515) 1173s # Converting '𖹌' => '𖹬' (line 1516) 1173s # Converting '𖹍' => '𖹭' (line 1517) 1173s # Converting '𖹎' => '𖹮' (line 1518) 1173s # Converting '𖹏' => '𖹯' (line 1519) 1173s # Converting '𖹐' => '𖹰' (line 1520) 1173s # Converting '𖹑' => '𖹱' (line 1521) 1173s # Converting '𖹒' => '𖹲' (line 1522) 1173s # Converting '𖹓' => '𖹳' (line 1523) 1173s # Converting '𖹔' => '𖹴' (line 1524) 1173s # Converting '𖹕' => '𖹵' (line 1525) 1173s # Converting '𖹖' => '𖹶' (line 1526) 1173s # Converting '𖹗' => '𖹷' (line 1527) 1173s # Converting '𖹘' => '𖹸' (line 1528) 1173s # Converting '𖹙' => '𖹹' (line 1529) 1173s # Converting '𖹚' => '𖹺' (line 1530) 1173s # Converting '𖹛' => '𖹻' (line 1531) 1173s # Converting '𖹜' => '𖹼' (line 1532) 1173s # Converting '𖹝' => '𖹽' (line 1533) 1173s # Converting '𖹞' => '𖹾' (line 1534) 1173s # Converting '𖹟' => '𖹿' (line 1535) 1173s # Converting '𖺠' => '𖺻' (line 1536) 1173s # Converting '𖺡' => '𖺼' (line 1537) 1173s # Converting '𖺢' => '𖺽' (line 1538) 1173s # Converting '𖺣' => '𖺾' (line 1539) 1173s # Converting '𖺤' => '𖺿' (line 1540) 1173s # Converting '𖺥' => '𖻀' (line 1541) 1173s # Converting '𖺦' => '𖻁' (line 1542) 1173s # Converting '𖺧' => '𖻂' (line 1543) 1173s # Converting '𖺨' => '𖻃' (line 1544) 1173s # Converting '𖺩' => '𖻄' (line 1545) 1173s # Converting '𖺪' => '𖻅' (line 1546) 1173s # Converting '𖺫' => '𖻆' (line 1547) 1173s # Converting '𖺬' => '𖻇' (line 1548) 1173s # Converting '𖺭' => '𖻈' (line 1549) 1173s # Converting '𖺮' => '𖻉' (line 1550) 1173s # Converting '𖺯' => '𖻊' (line 1551) 1173s # Converting '𖺰' => '𖻋' (line 1552) 1173s # Converting '𖺱' => '𖻌' (line 1553) 1173s # Converting '𖺲' => '𖻍' (line 1554) 1173s # Converting '𖺳' => '𖻎' (line 1555) 1173s # Converting '𖺴' => '𖻏' (line 1556) 1173s # Converting '𖺵' => '𖻐' (line 1557) 1173s # Converting '𖺶' => '𖻑' (line 1558) 1173s # Converting '𖺷' => '𖻒' (line 1559) 1173s # Converting '𖺸' => '𖻓' (line 1560) 1173s # Converting '𞤀' => '𞤢' (line 1561) 1173s # Converting '𞤁' => '𞤣' (line 1562) 1173s # Converting '𞤂' => '𞤤' (line 1563) 1173s # Converting '𞤃' => '𞤥' (line 1564) 1173s # Converting '𞤄' => '𞤦' (line 1565) 1173s # Converting '𞤅' => '𞤧' (line 1566) 1173s # Converting '𞤆' => '𞤨' (line 1567) 1173s # Converting '𞤇' => '𞤩' (line 1568) 1173s # Converting '𞤈' => '𞤪' (line 1569) 1173s # Converting '𞤉' => '𞤫' (line 1570) 1173s # Converting '𞤊' => '𞤬' (line 1571) 1173s # Converting '𞤋' => '𞤭' (line 1572) 1173s # Converting '𞤌' => '𞤮' (line 1573) 1173s # Converting '𞤍' => '𞤯' (line 1574) 1173s # Converting '𞤎' => '𞤰' (line 1575) 1173s # Converting '𞤏' => '𞤱' (line 1576) 1173s # Converting '𞤐' => '𞤲' (line 1577) 1173s # Converting '𞤑' => '𞤳' (line 1578) 1173s # Converting '𞤒' => '𞤴' (line 1579) 1173s # Converting '𞤓' => '𞤵' (line 1580) 1173s # Converting '𞤔' => '𞤶' (line 1581) 1173s # Converting '𞤕' => '𞤷' (line 1582) 1173s # Converting '𞤖' => '𞤸' (line 1583) 1173s # Converting '𞤗' => '𞤹' (line 1584) 1173s # Converting '𞤘' => '𞤺' (line 1585) 1173s # Converting '𞤙' => '𞤻' (line 1586) 1173s # Converting '𞤚' => '𞤼' (line 1587) 1173s # Converting '𞤛' => '𞤽' (line 1588) 1173s # Converting '𞤜' => '𞤾' (line 1589) 1173s # Converting '𞤝' => '𞤿' (line 1590) 1173s # Converting '𞤞' => '𞥀' (line 1591) 1173s # Converting '𞤟' => '𞥁' (line 1592) 1173s # Converting '𞤠' => '𞥂' (line 1593) 1173s # Converting '𞤡' => '𞥃' (line 1594) 1173s ok 6 /unicode/casemap_and_casefold 1173s ok 7 /unicode/cases 1173s ok 8 /unicode/character-type 1173s ok 9 /unicode/cntrl 1173s ok 10 /unicode/combining-class 1173s # Composing U+000041 and U+000042; expecting U+000000 1173s # Composing U+000041 and U+000000; expecting U+000000 1173s # Composing U+000066 and U+000069; expecting U+000000 1173s # Composing U+000308 and U+000301; expecting U+000000 1173s # Composing U+000f71 and U+000f72; expecting U+000000 1173s # Composing U+00212b and U+000000; expecting U+000000 1173s # Composing U+0000c5 and U+000000; expecting U+000000 1173s # Composing U+002126 and U+000000; expecting U+000000 1173s # Composing U+0003a9 and U+000000; expecting U+000000 1173s # Composing U+000041 and U+00030a; expecting U+0000c5 1173s # Composing U+00006f and U+000302; expecting U+0000f4 1173s # Composing U+001e63 and U+000307; expecting U+001e69 1173s # Composing U+000073 and U+000323; expecting U+001e63 1173s # Composing U+000064 and U+000307; expecting U+001e0b 1173s # Composing U+000064 and U+000323; expecting U+001e0d 1173s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1173s # Composing U+001111 and U+001171; expecting U+00d4cc 1173s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1173s # Composing U+00110e and U+001173; expecting U+00ce20 1173s # Composing U+001100 and U+001160; expecting U+000000 1173s # Composing U+001100 and U+001177; expecting U+000000 1173s # Composing U+00abff and U+0011b6; expecting U+000000 1173s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1173s # Composing U+00ac01 and U+0011b6; expecting U+000000 1173s # Composing U+00d4cc and U+0011a6; expecting U+000000 1173s # Composing U+00d4cc and U+0011c4; expecting U+000000 1173s # Composing U+01611e and U+01611e; expecting U+016121 1173s # Composing U+01611e and U+01611f; expecting U+016123 1173s # Composing U+0000f6 and U+000304; expecting U+00022b 1173s # Composing U+000b47 and U+000b57; expecting U+000b4c 1173s # Composing U+0000a0 and U+000b57; expecting U+000000 1173s # Composing U+016e00 and U+00030a; expecting U+000000 1173s # Composing U+00212b and U+016e00; expecting U+000000 1173s # Composing U+001e63 and U+000306; expecting U+000000 1173s # Composing U+001e63 and U+000304; expecting U+000000 1173s # Composing U+001e63 and U+000b57; expecting U+000000 1173s # Composing U+001e63 and U+000000; expecting U+000000 1173s # Composing U+001e63 and U+0113c2; expecting U+000000 1173s # Composing U+001f01 and U+0113c2; expecting U+000000 1173s # Composing U+00006e and U+000302; expecting U+000000 1173s # Composing U+001e63 and U+01611f; expecting U+000000 1173s # Composing U+01138e and U+0113b8; expecting U+000000 1173s # Composing U+01611e and U+000000; expecting U+000000 1173s # Composing U+000000 and U+01611f; expecting U+000000 1173s # Composing U+011390 and U+0113c2; expecting U+000000 1173s ok 11 /unicode/compose 1173s ok 12 /unicode/decompose 1173s ok 13 /unicode/decompose-tail 1173s ok 14 /unicode/defined 1173s ok 15 /unicode/digit 1173s ok 16 /unicode/digit-value 1173s # Fully decomposing U+000041; expecting 1 codepoints 1173s # Fully decomposing U+00fb01; expecting 1 codepoints 1173s # Fully decomposing U+00212b; expecting 2 codepoints 1173s # Fully decomposing U+002126; expecting 1 codepoints 1173s # Fully decomposing U+000344; expecting 2 codepoints 1173s # Fully decomposing U+000f73; expecting 2 codepoints 1173s # Fully decomposing U+0000c5; expecting 2 codepoints 1173s # Fully decomposing U+0000f4; expecting 2 codepoints 1173s # Fully decomposing U+001e69; expecting 3 codepoints 1173s # Fully decomposing U+001e63; expecting 2 codepoints 1173s # Fully decomposing U+001e0b; expecting 2 codepoints 1173s # Fully decomposing U+001e0d; expecting 2 codepoints 1173s # Fully decomposing U+00d4db; expecting 3 codepoints 1173s # Fully decomposing U+00d4cc; expecting 2 codepoints 1173s # Fully decomposing U+00ce31; expecting 3 codepoints 1173s # Fully decomposing U+00ce20; expecting 2 codepoints 1173s ok 17 /unicode/fully-decompose-canonical 1173s ok 18 /unicode/fully-decompose-len 1173s ok 19 /unicode/normalization 1173s ok 20 /unicode/graph 1173s # Testing script Zyyy (code 1517910393) 1173s # Testing script Zinh (code 1516858984) 1173s # Testing script Zmth (code 1517122664) 1173s # Testing script Arab (code 1098015074) 1173s # Testing script Armn (code 1098018158) 1173s # Testing script Beng (code 1113943655) 1173s # Testing script Bopo (code 1114599535) 1173s # Testing script Cher (code 1130915186) 1173s # Testing script Copt (code 1131376756) 1173s # Testing script Cyrl (code 1132032620) 1173s # Testing script Dsrt (code 1148416628) 1173s # Testing script Deva (code 1147500129) 1173s # Testing script Ethi (code 1165256809) 1173s # Testing script Geor (code 1197830002) 1173s # Testing script Goth (code 1198486632) 1173s # Testing script Grek (code 1198679403) 1173s # Testing script Gujr (code 1198877298) 1173s # Testing script Guru (code 1198879349) 1173s # Testing script Hani (code 1214344809) 1173s # Testing script Hang (code 1214344807) 1173s # Testing script Hebr (code 1214603890) 1173s # Testing script Hira (code 1214870113) 1173s # Testing script Knda (code 1265525857) 1173s # Testing script Kana (code 1264676449) 1173s # Testing script Khmr (code 1265134962) 1173s # Testing script Laoo (code 1281453935) 1173s # Testing script Latn (code 1281455214) 1173s # Testing script Mlym (code 1298954605) 1173s # Testing script Mong (code 1299148391) 1173s # Testing script Mymr (code 1299803506) 1173s # Testing script Ogam (code 1332175213) 1173s # Testing script Ital (code 1232363884) 1173s # Testing script Orya (code 1332902241) 1173s # Testing script Runr (code 1383427698) 1173s # Testing script Sinh (code 1399418472) 1173s # Testing script Syrc (code 1400468067) 1173s # Testing script Taml (code 1415671148) 1173s # Testing script Telu (code 1415933045) 1173s # Testing script Thaa (code 1416126817) 1173s # Testing script Thai (code 1416126825) 1173s # Testing script Tibt (code 1416192628) 1173s # Testing script Cans (code 1130458739) 1173s # Testing script Yiii (code 1500080489) 1173s # Testing script Tglg (code 1416064103) 1173s # Testing script Hano (code 1214344815) 1173s # Testing script Buhd (code 1114990692) 1173s # Testing script Tagb (code 1415669602) 1173s # Testing script Brai (code 1114792297) 1173s # Testing script Cprt (code 1131442804) 1173s # Testing script Limb (code 1281977698) 1173s # Testing script Osma (code 1332964705) 1173s # Testing script Shaw (code 1399349623) 1173s # Testing script Linb (code 1281977954) 1173s # Testing script Tale (code 1415670885) 1173s # Testing script Ugar (code 1432838514) 1173s # Testing script Talu (code 1415670901) 1173s # Testing script Bugi (code 1114990441) 1173s # Testing script Glag (code 1198285159) 1173s # Testing script Tfng (code 1415999079) 1173s # Testing script Sylo (code 1400466543) 1173s # Testing script Xpeo (code 1483761007) 1173s # Testing script Khar (code 1265131890) 1173s # Testing script Zzzz (code 1517976186) 1173s # Testing script Bali (code 1113681001) 1173s # Testing script Xsux (code 1483961720) 1173s # Testing script Phnx (code 1349021304) 1173s # Testing script Phag (code 1349017959) 1173s # Testing script Nkoo (code 1315663727) 1173s # Testing script Kali (code 1264675945) 1173s # Testing script Lepc (code 1281716323) 1173s # Testing script Rjng (code 1382706791) 1173s # Testing script Sund (code 1400204900) 1173s # Testing script Saur (code 1398895986) 1173s # Testing script Cham (code 1130914157) 1173s # Testing script Olck (code 1332503403) 1173s # Testing script Vaii (code 1449224553) 1173s # Testing script Cari (code 1130459753) 1173s # Testing script Lyci (code 1283023721) 1173s # Testing script Lydi (code 1283023977) 1173s # Testing script Avst (code 1098281844) 1173s # Testing script Bamu (code 1113681269) 1173s # Testing script Egyp (code 1164409200) 1173s # Testing script Armi (code 1098018153) 1173s # Testing script Phli (code 1349020777) 1173s # Testing script Prti (code 1349678185) 1173s # Testing script Java (code 1247901281) 1173s # Testing script Kthi (code 1265920105) 1173s # Testing script Lisu (code 1281979253) 1173s # Testing script Mtei (code 1299473769) 1173s # Testing script Sarb (code 1398895202) 1173s # Testing script Orkh (code 1332898664) 1173s # Testing script Samr (code 1398893938) 1173s # Testing script Lana (code 1281453665) 1173s # Testing script Tavt (code 1415673460) 1173s # Testing script Batk (code 1113683051) 1173s # Testing script Brah (code 1114792296) 1173s # Testing script Mand (code 1298230884) 1173s # Testing script Cakm (code 1130457965) 1173s # Testing script Merc (code 1298494051) 1173s # Testing script Mero (code 1298494063) 1173s # Testing script Plrd (code 1349284452) 1173s # Testing script Shrd (code 1399353956) 1173s # Testing script Sora (code 1399812705) 1173s # Testing script Takr (code 1415670642) 1173s # Testing script Bass (code 1113682803) 1173s # Testing script Aghb (code 1097295970) 1173s # Testing script Dupl (code 1148547180) 1173s # Testing script Elba (code 1164730977) 1173s # Testing script Gran (code 1198678382) 1173s # Testing script Khoj (code 1265135466) 1173s # Testing script Sind (code 1399418468) 1173s # Testing script Lina (code 1281977953) 1173s # Testing script Mahj (code 1298229354) 1173s # Testing script Mani (code 1298230889) 1173s # Testing script Mend (code 1298493028) 1173s # Testing script Modi (code 1299145833) 1173s # Testing script Mroo (code 1299345263) 1173s # Testing script Nbat (code 1315070324) 1173s # Testing script Narb (code 1315009122) 1173s # Testing script Perm (code 1348825709) 1173s # Testing script Hmng (code 1215131239) 1173s # Testing script Palm (code 1348562029) 1173s # Testing script Pauc (code 1348564323) 1173s # Testing script Phlp (code 1349020784) 1173s # Testing script Sidd (code 1399415908) 1173s # Testing script Tirh (code 1416196712) 1173s # Testing script Wara (code 1466004065) 1173s # Testing script Ahom (code 1097363309) 1173s # Testing script Hluw (code 1215067511) 1173s # Testing script Hatr (code 1214346354) 1173s # Testing script Mult (code 1299541108) 1173s # Testing script Hung (code 1215655527) 1173s # Testing script Sgnw (code 1399287415) 1173s # Testing script Adlm (code 1097100397) 1173s # Testing script Bhks (code 1114139507) 1173s # Testing script Marc (code 1298231907) 1173s # Testing script Newa (code 1315272545) 1173s # Testing script Osge (code 1332963173) 1173s # Testing script Tang (code 1415671399) 1173s # Testing script Gonm (code 1198485101) 1173s # Testing script Nshu (code 1316186229) 1173s # Testing script Soyo (code 1399814511) 1173s # Testing script Zanb (code 1516334690) 1173s # Testing script Dogr (code 1148151666) 1173s # Testing script Gong (code 1198485095) 1173s # Testing script Rohg (code 1383032935) 1173s # Testing script Maka (code 1298230113) 1173s # Testing script Medf (code 1298490470) 1173s # Testing script Sogo (code 1399809903) 1173s # Testing script Sogd (code 1399809892) 1173s # Testing script Elym (code 1164736877) 1173s # Testing script Nand (code 1315008100) 1173s # Testing script Hmnp (code 1215131248) 1173s # Testing script Wcho (code 1466132591) 1173s # Testing script Chrs (code 1130918515) 1173s # Testing script Diak (code 1147756907) 1173s # Testing script Kits (code 1265202291) 1173s # Testing script Yezi (code 1499822697) 1173s # Testing script Cpmn (code 1131441518) 1173s # Testing script Ougr (code 1333094258) 1173s # Testing script Tnsa (code 1416524641) 1173s # Testing script Toto (code 1416590447) 1173s # Testing script Vith (code 1449751656) 1173s # Testing script Kawi (code 1264678761) 1173s # Testing script Nagm (code 1315006317) 1173s # Testing script Todr (code 1416586354) 1173s # Testing script Gara (code 1197568609) 1173s # Testing script Tutg (code 1416983655) 1173s # Testing script Sunu (code 1400204917) 1173s # Testing script Gukh (code 1198877544) 1173s # Testing script Krai (code 1265787241) 1173s # Testing script Onao (code 1332633967) 1173s ok 21 /unicode/iso15924 1173s ok 22 /unicode/lower 1173s ok 23 /unicode/mark 1173s ok 24 /unicode/mirror 1173s ok 25 /unicode/print 1173s ok 26 /unicode/punctuation 1173s ok 27 /unicode/script 1173s ok 28 /unicode/space 1173s ok 29 /unicode/strdown 1173s ok 30 /unicode/strup 1173s ok 31 /unicode/turkish-strupdown 1173s ok 32 /unicode/title 1173s ok 33 /unicode/upper 1173s ok 34 /unicode/validate 1173s ok 35 /unicode/wide 1173s ok 36 /unicode/unichar-to-utf8 1173s ok 37 /unicode/xdigit 1173s ok 38 /unicode/xdigit-value 1173s ok 39 /unicode/zero-width 1173s ok 40 /unicode/normalize 1173s # Testing script 0 1173s # Testing script 1 1173s # Testing script 2 1173s # Testing script 3 1173s # Testing script 4 1173s # Testing script 5 1173s # Testing script 6 1173s # Testing script 7 1173s # Testing script 8 1173s # Testing script 9 1173s # Testing script 10 1173s # Testing script 11 1173s # Testing script 12 1173s # Testing script 13 1173s # Testing script 14 1173s # Testing script 15 1173s # Testing script 16 1173s # Testing script 17 1173s # Testing script 18 1173s # Testing script 19 1173s # Testing script 20 1173s # Testing script 21 1173s # Testing script 22 1173s # Testing script 23 1173s # Testing script 24 1173s # Testing script 25 1173s # Testing script 26 1173s # Testing script 27 1173s # Testing script 28 1173s # Testing script 29 1173s # Testing script 30 1173s # Testing script 31 1173s # Testing script 32 1173s # Testing script 33 1173s # Testing script 34 1173s # Testing script 35 1173s # Testing script 36 1173s # Testing script 37 1173s # Testing script 38 1173s # Testing script 39 1173s # Testing script 40 1173s # Testing script 41 1173s # Testing script 42 1173s # Testing script 43 1173s # Testing script 44 1173s # Testing script 45 1173s # Testing script 46 1173s # Testing script 47 1173s # Testing script 48 1173s # Testing script 49 1173s # Testing script 50 1173s # Testing script 51 1173s # Testing script 52 1173s # Testing script 53 1173s # Testing script 54 1173s # Testing script 55 1173s # Testing script 56 1173s # Testing script 57 1173s # Testing script 58 1173s # Testing script 59 1173s # Testing script 60 1173s # Testing script 61 1173s # Testing script 62 1173s # Testing script 63 1173s # Testing script 64 1173s # Testing script 65 1173s # Testing script 66 1173s # Testing script 67 1173s # Testing script 68 1173s # Testing script 69 1173s # Testing script 70 1173s # Testing script 71 1173s # Testing script 72 1173s # Testing script 73 1173s # Testing script 74 1173s # Testing script 75 1173s # Testing script 76 1173s # Testing script 77 1173s # Testing script 78 1173s # Testing script 79 1173s # Testing script 80 1173s # Testing script 81 1173s # Testing script 82 1173s # Testing script 83 1173s # Testing script 84 1173s # Testing script 85 1173s # Testing script 86 1173s # Testing script 87 1173s # Testing script 88 1173s # Testing script 89 1173s # Testing script 90 1173s # Testing script 91 1173s # Testing script 92 1173s # Testing script 93 1173s # Testing script 94 1173s # Testing script 95 1173s # Testing script 96 1173s # Testing script 97 1173s # Testing script 98 1173s # Testing script 99 1173s # Testing script 100 1173s # Testing script 101 1173s # Testing script 102 1173s # Testing script 103 1173s # Testing script 104 1173s # Testing script 105 1173s # Testing script 106 1173s # Testing script 107 1173s # Testing script 108 1173s # Testing script 109 1173s # Testing script 110 1173s # Testing script 111 1173s # Testing script 112 1173s # Testing script 113 1173s # Testing script 114 1173s # Testing script 115 1173s # Testing script 116 1173s # Testing script 117 1173s # Testing script 118 1173s # Testing script 119 1173s # Testing script 120 1173s # Testing script 121 1173s # Testing script 122 1173s # Testing script 123 1173s # Testing script 124 1173s # Testing script 125 1173s # Testing script 126 1173s # Testing script 127 1173s # Testing script 128 1173s # Testing script 129 1173s # Testing script 130 1173s # Testing script 131 1173s # Testing script 132 1173s # Testing script 133 1173s # Testing script 134 1173s # Testing script 135 1173s # Testing script 136 1173s # Testing script 137 1173s # Testing script 138 1173s # Testing script 139 1173s # Testing script 140 1173s # Testing script 141 1173s # Testing script 142 1173s # Testing script 143 1173s # Testing script 144 1173s # Testing script 145 1173s # Testing script 146 1173s # Testing script 147 1173s # Testing script 148 1173s # Testing script 149 1173s # Testing script 150 1173s # Testing script 151 1173s # Testing script 152 1173s # Testing script 153 1173s # Testing script 154 1173s # Testing script 155 1173s # Testing script 156 1173s # Testing script 157 1173s # Testing script 158 1173s # Testing script 159 1173s # Testing script 160 1173s # Testing script 161 1173s # Testing script 162 1173s # Testing script 163 1173s # Testing script 164 1173s # Testing script 165 1173s # Testing script 166 1173s # Testing script 167 1173s # Testing script 168 1173s # Testing script 169 1173s # Testing script 170 1173s # Testing script 171 1173s # Testing script 172 1173s # Testing script 173 1173s # Testing script 174 1173s # Testing script 175 1173s ok 41 /unicode/unknown-scripts 1173s # End of unicode tests 1173s TAP version 14 1173s # random seed: R02S1fe3a7fc2a8b1bf37b076900b76b2163 1173s 1..2 1173s # Start of charset tests 1173s # Test 0 1173s # Test 1 1173s # Test 2 1173s # Test 3 1173s ok 1 /charset/language_names_with_category 1173s ok 2 /charset/language_names_with_category_async 1173s # End of charset tests 1173s ok - glib/unicode.test 1173s # Running test: glib/charset.test 1173s ok - glib/charset.test 1173s # Running test: glib/checksum.test 1173s TAP version 14 1173s # random seed: R02Saabfd0c473c8b5e90a43c9008bb3566a 1173s 1..1851 1173s # Start of checksum tests 1173s ok 1 /checksum/unsupported 1173s # Start of MD5 tests 1173s ok 2 /checksum/MD5/0 1173s ok 3 /checksum/MD5/1 1173s ok 4 /checksum/MD5/2 1173s ok 5 /checksum/MD5/3 1173s ok 6 /checksum/MD5/4 1173s ok 7 /checksum/MD5/5 1173s ok 8 /checksum/MD5/6 1173s ok 9 /checksum/MD5/7 1173s ok 10 /checksum/MD5/8 1173s ok 11 /checksum/MD5/9 1173s ok 12 /checksum/MD5/10 1173s ok 13 /checksum/MD5/11 1173s ok 14 /checksum/MD5/12 1173s ok 15 /checksum/MD5/13 1173s ok 16 /checksum/MD5/14 1173s ok 17 /checksum/MD5/15 1173s ok 18 /checksum/MD5/16 1173s ok 19 /checksum/MD5/17 1173s ok 20 /checksum/MD5/18 1173s ok 21 /checksum/MD5/19 1173s ok 22 /checksum/MD5/20 1173s ok 23 /checksum/MD5/21 1173s ok 24 /checksum/MD5/22 1173s ok 25 /checksum/MD5/23 1173s ok 26 /checksum/MD5/24 1173s ok 27 /checksum/MD5/25 1173s ok 28 /checksum/MD5/26 1173s ok 29 /checksum/MD5/27 1173s ok 30 /checksum/MD5/28 1173s ok 31 /checksum/MD5/29 1173s ok 32 /checksum/MD5/30 1173s ok 33 /checksum/MD5/31 1173s ok 34 /checksum/MD5/32 1173s ok 35 /checksum/MD5/33 1173s ok 36 /checksum/MD5/34 1173s ok 37 /checksum/MD5/35 1173s ok 38 /checksum/MD5/36 1173s ok 39 /checksum/MD5/37 1173s ok 40 /checksum/MD5/38 1173s ok 41 /checksum/MD5/39 1173s ok 42 /checksum/MD5/40 1173s ok 43 /checksum/MD5/41 1173s ok 44 /checksum/MD5/42 1173s ok 45 /checksum/MD5/43 1173s ok 46 /checksum/MD5/44 1173s ok 47 /checksum/MD5/45 1173s ok 48 /checksum/MD5/46 1173s ok 49 /checksum/MD5/47 1173s ok 50 /checksum/MD5/48 1173s ok 51 /checksum/MD5/49 1173s ok 52 /checksum/MD5/50 1173s ok 53 /checksum/MD5/51 1173s ok 54 /checksum/MD5/52 1173s ok 55 /checksum/MD5/53 1173s ok 56 /checksum/MD5/54 1173s ok 57 /checksum/MD5/55 1173s ok 58 /checksum/MD5/56 1173s ok 59 /checksum/MD5/57 1173s ok 60 /checksum/MD5/58 1173s ok 61 /checksum/MD5/59 1173s ok 62 /checksum/MD5/60 1173s ok 63 /checksum/MD5/61 1173s ok 64 /checksum/MD5/62 1173s ok 65 /checksum/MD5/63 1173s ok 66 /checksum/MD5/64 1173s ok 67 /checksum/MD5/65 1173s ok 68 /checksum/MD5/66 1173s ok 69 /checksum/MD5/67 1173s ok 70 /checksum/MD5/68 1173s ok 71 /checksum/MD5/69 1173s ok 72 /checksum/MD5/70 1173s ok 73 /checksum/MD5/71 1173s ok 74 /checksum/MD5/72 1173s ok 75 /checksum/MD5/73 1173s ok 76 /checksum/MD5/74 1173s ok 77 /checksum/MD5/75 1173s ok 78 /checksum/MD5/76 1173s ok 79 /checksum/MD5/77 1173s ok 80 /checksum/MD5/78 1173s ok 81 /checksum/MD5/79 1173s ok 82 /checksum/MD5/80 1173s ok 83 /checksum/MD5/81 1173s ok 84 /checksum/MD5/82 1173s ok 85 /checksum/MD5/83 1173s ok 86 /checksum/MD5/84 1173s ok 87 /checksum/MD5/85 1173s ok 88 /checksum/MD5/86 1173s ok 89 /checksum/MD5/87 1173s ok 90 /checksum/MD5/88 1173s ok 91 /checksum/MD5/89 1173s ok 92 /checksum/MD5/90 1173s ok 93 /checksum/MD5/91 1173s ok 94 /checksum/MD5/92 1173s ok 95 /checksum/MD5/93 1173s ok 96 /checksum/MD5/94 1173s ok 97 /checksum/MD5/95 1173s ok 98 /checksum/MD5/96 1173s ok 99 /checksum/MD5/97 1173s ok 100 /checksum/MD5/98 1173s ok 101 /checksum/MD5/99 1173s ok 102 /checksum/MD5/100 1173s ok 103 /checksum/MD5/101 1173s ok 104 /checksum/MD5/102 1173s ok 105 /checksum/MD5/103 1173s ok 106 /checksum/MD5/104 1173s ok 107 /checksum/MD5/105 1173s ok 108 /checksum/MD5/106 1173s ok 109 /checksum/MD5/107 1173s ok 110 /checksum/MD5/108 1173s ok 111 /checksum/MD5/109 1173s ok 112 /checksum/MD5/110 1173s ok 113 /checksum/MD5/111 1173s ok 114 /checksum/MD5/112 1173s ok 115 /checksum/MD5/113 1173s ok 116 /checksum/MD5/114 1173s ok 117 /checksum/MD5/115 1173s ok 118 /checksum/MD5/116 1173s ok 119 /checksum/MD5/117 1173s ok 120 /checksum/MD5/118 1173s ok 121 /checksum/MD5/119 1173s ok 122 /checksum/MD5/120 1173s ok 123 /checksum/MD5/121 1173s ok 124 /checksum/MD5/122 1173s ok 125 /checksum/MD5/123 1173s ok 126 /checksum/MD5/124 1173s ok 127 /checksum/MD5/125 1173s ok 128 /checksum/MD5/126 1173s ok 129 /checksum/MD5/127 1173s ok 130 /checksum/MD5/128 1173s ok 131 /checksum/MD5/129 1173s ok 132 /checksum/MD5/130 1173s ok 133 /checksum/MD5/131 1173s ok 134 /checksum/MD5/132 1173s ok 135 /checksum/MD5/133 1173s ok 136 /checksum/MD5/134 1173s ok 137 /checksum/MD5/135 1173s ok 138 /checksum/MD5/136 1173s ok 139 /checksum/MD5/137 1173s ok 140 /checksum/MD5/138 1173s ok 141 /checksum/MD5/139 1173s ok 142 /checksum/MD5/140 1173s ok 143 /checksum/MD5/141 1173s ok 144 /checksum/MD5/142 1173s ok 145 /checksum/MD5/143 1173s ok 146 /checksum/MD5/144 1173s ok 147 /checksum/MD5/145 1173s ok 148 /checksum/MD5/146 1173s ok 149 /checksum/MD5/147 1173s ok 150 /checksum/MD5/148 1173s ok 151 /checksum/MD5/149 1173s ok 152 /checksum/MD5/150 1173s ok 153 /checksum/MD5/151 1173s ok 154 /checksum/MD5/152 1173s ok 155 /checksum/MD5/153 1173s ok 156 /checksum/MD5/154 1173s ok 157 /checksum/MD5/155 1173s ok 158 /checksum/MD5/156 1173s ok 159 /checksum/MD5/157 1173s ok 160 /checksum/MD5/158 1173s ok 161 /checksum/MD5/159 1173s ok 162 /checksum/MD5/160 1173s ok 163 /checksum/MD5/161 1173s ok 164 /checksum/MD5/162 1173s ok 165 /checksum/MD5/163 1173s ok 166 /checksum/MD5/164 1173s ok 167 /checksum/MD5/165 1173s ok 168 /checksum/MD5/166 1173s ok 169 /checksum/MD5/167 1173s ok 170 /checksum/MD5/168 1173s ok 171 /checksum/MD5/169 1173s ok 172 /checksum/MD5/170 1173s ok 173 /checksum/MD5/171 1173s ok 174 /checksum/MD5/172 1173s ok 175 /checksum/MD5/173 1173s ok 176 /checksum/MD5/174 1173s ok 177 /checksum/MD5/175 1173s ok 178 /checksum/MD5/176 1173s ok 179 /checksum/MD5/177 1173s ok 180 /checksum/MD5/178 1173s ok 181 /checksum/MD5/179 1173s ok 182 /checksum/MD5/180 1173s ok 183 /checksum/MD5/181 1173s ok 184 /checksum/MD5/182 1173s ok 185 /checksum/MD5/183 1173s ok 186 /checksum/MD5/string 1173s ok 187 /checksum/MD5/bytes 1173s # Start of reset tests 1173s ok 188 /checksum/MD5/reset/0 1173s ok 189 /checksum/MD5/reset/1 1173s ok 190 /checksum/MD5/reset/2 1173s ok 191 /checksum/MD5/reset/3 1173s ok 192 /checksum/MD5/reset/4 1173s ok 193 /checksum/MD5/reset/5 1173s ok 194 /checksum/MD5/reset/6 1173s ok 195 /checksum/MD5/reset/7 1173s ok 196 /checksum/MD5/reset/8 1173s ok 197 /checksum/MD5/reset/9 1173s ok 198 /checksum/MD5/reset/10 1173s ok 199 /checksum/MD5/reset/11 1173s ok 200 /checksum/MD5/reset/12 1173s ok 201 /checksum/MD5/reset/13 1173s ok 202 /checksum/MD5/reset/14 1173s ok 203 /checksum/MD5/reset/15 1173s ok 204 /checksum/MD5/reset/16 1173s ok 205 /checksum/MD5/reset/17 1173s ok 206 /checksum/MD5/reset/18 1173s ok 207 /checksum/MD5/reset/19 1173s ok 208 /checksum/MD5/reset/20 1173s ok 209 /checksum/MD5/reset/21 1173s ok 210 /checksum/MD5/reset/22 1173s ok 211 /checksum/MD5/reset/23 1173s ok 212 /checksum/MD5/reset/24 1173s ok 213 /checksum/MD5/reset/25 1173s ok 214 /checksum/MD5/reset/26 1173s ok 215 /checksum/MD5/reset/27 1173s ok 216 /checksum/MD5/reset/28 1173s ok 217 /checksum/MD5/reset/29 1173s ok 218 /checksum/MD5/reset/30 1173s ok 219 /checksum/MD5/reset/31 1173s ok 220 /checksum/MD5/reset/32 1173s ok 221 /checksum/MD5/reset/33 1173s ok 222 /checksum/MD5/reset/34 1173s ok 223 /checksum/MD5/reset/35 1173s ok 224 /checksum/MD5/reset/36 1173s ok 225 /checksum/MD5/reset/37 1173s ok 226 /checksum/MD5/reset/38 1173s ok 227 /checksum/MD5/reset/39 1173s ok 228 /checksum/MD5/reset/40 1173s ok 229 /checksum/MD5/reset/41 1173s ok 230 /checksum/MD5/reset/42 1173s ok 231 /checksum/MD5/reset/43 1173s ok 232 /checksum/MD5/reset/44 1173s ok 233 /checksum/MD5/reset/45 1173s ok 234 /checksum/MD5/reset/46 1173s ok 235 /checksum/MD5/reset/47 1173s ok 236 /checksum/MD5/reset/48 1173s ok 237 /checksum/MD5/reset/49 1173s ok 238 /checksum/MD5/reset/50 1173s ok 239 /checksum/MD5/reset/51 1173s ok 240 /checksum/MD5/reset/52 1173s ok 241 /checksum/MD5/reset/53 1173s ok 242 /checksum/MD5/reset/54 1173s ok 243 /checksum/MD5/reset/55 1173s ok 244 /checksum/MD5/reset/56 1173s ok 245 /checksum/MD5/reset/57 1173s ok 246 /checksum/MD5/reset/58 1173s ok 247 /checksum/MD5/reset/59 1173s ok 248 /checksum/MD5/reset/60 1173s ok 249 /checksum/MD5/reset/61 1173s ok 250 /checksum/MD5/reset/62 1173s ok 251 /checksum/MD5/reset/63 1173s ok 252 /checksum/MD5/reset/64 1173s ok 253 /checksum/MD5/reset/65 1173s ok 254 /checksum/MD5/reset/66 1173s ok 255 /checksum/MD5/reset/67 1173s ok 256 /checksum/MD5/reset/68 1173s ok 257 /checksum/MD5/reset/69 1173s ok 258 /checksum/MD5/reset/70 1173s ok 259 /checksum/MD5/reset/71 1173s ok 260 /checksum/MD5/reset/72 1173s ok 261 /checksum/MD5/reset/73 1173s ok 262 /checksum/MD5/reset/74 1173s ok 263 /checksum/MD5/reset/75 1173s ok 264 /checksum/MD5/reset/76 1173s ok 265 /checksum/MD5/reset/77 1173s ok 266 /checksum/MD5/reset/78 1173s ok 267 /checksum/MD5/reset/79 1173s ok 268 /checksum/MD5/reset/80 1173s ok 269 /checksum/MD5/reset/81 1173s ok 270 /checksum/MD5/reset/82 1173s ok 271 /checksum/MD5/reset/83 1173s ok 272 /checksum/MD5/reset/84 1173s ok 273 /checksum/MD5/reset/85 1173s ok 274 /checksum/MD5/reset/86 1173s ok 275 /checksum/MD5/reset/87 1173s ok 276 /checksum/MD5/reset/88 1173s ok 277 /checksum/MD5/reset/89 1173s ok 278 /checksum/MD5/reset/90 1173s ok 279 /checksum/MD5/reset/91 1173s ok 280 /checksum/MD5/reset/92 1173s ok 281 /checksum/MD5/reset/93 1173s ok 282 /checksum/MD5/reset/94 1173s ok 283 /checksum/MD5/reset/95 1173s ok 284 /checksum/MD5/reset/96 1173s ok 285 /checksum/MD5/reset/97 1173s ok 286 /checksum/MD5/reset/98 1173s ok 287 /checksum/MD5/reset/99 1173s ok 288 /checksum/MD5/reset/100 1173s ok 289 /checksum/MD5/reset/101 1173s ok 290 /checksum/MD5/reset/102 1173s ok 291 /checksum/MD5/reset/103 1173s ok 292 /checksum/MD5/reset/104 1173s ok 293 /checksum/MD5/reset/105 1173s ok 294 /checksum/MD5/reset/106 1173s ok 295 /checksum/MD5/reset/107 1173s ok 296 /checksum/MD5/reset/108 1173s ok 297 /checksum/MD5/reset/109 1173s ok 298 /checksum/MD5/reset/110 1173s ok 299 /checksum/MD5/reset/111 1173s ok 300 /checksum/MD5/reset/112 1173s ok 301 /checksum/MD5/reset/113 1173s ok 302 /checksum/MD5/reset/114 1173s ok 303 /checksum/MD5/reset/115 1173s ok 304 /checksum/MD5/reset/116 1173s ok 305 /checksum/MD5/reset/117 1173s ok 306 /checksum/MD5/reset/118 1173s ok 307 /checksum/MD5/reset/119 1173s ok 308 /checksum/MD5/reset/120 1173s ok 309 /checksum/MD5/reset/121 1173s ok 310 /checksum/MD5/reset/122 1173s ok 311 /checksum/MD5/reset/123 1173s ok 312 /checksum/MD5/reset/124 1173s ok 313 /checksum/MD5/reset/125 1173s ok 314 /checksum/MD5/reset/126 1173s ok 315 /checksum/MD5/reset/127 1173s ok 316 /checksum/MD5/reset/128 1173s ok 317 /checksum/MD5/reset/129 1173s ok 318 /checksum/MD5/reset/130 1173s ok 319 /checksum/MD5/reset/131 1173s ok 320 /checksum/MD5/reset/132 1173s ok 321 /checksum/MD5/reset/133 1173s ok 322 /checksum/MD5/reset/134 1173s ok 323 /checksum/MD5/reset/135 1173s ok 324 /checksum/MD5/reset/136 1173s ok 325 /checksum/MD5/reset/137 1173s ok 326 /checksum/MD5/reset/138 1173s ok 327 /checksum/MD5/reset/139 1173s ok 328 /checksum/MD5/reset/140 1173s ok 329 /checksum/MD5/reset/141 1173s ok 330 /checksum/MD5/reset/142 1173s ok 331 /checksum/MD5/reset/143 1173s ok 332 /checksum/MD5/reset/144 1173s ok 333 /checksum/MD5/reset/145 1173s ok 334 /checksum/MD5/reset/146 1173s ok 335 /checksum/MD5/reset/147 1173s ok 336 /checksum/MD5/reset/148 1173s ok 337 /checksum/MD5/reset/149 1173s ok 338 /checksum/MD5/reset/150 1173s ok 339 /checksum/MD5/reset/151 1173s ok 340 /checksum/MD5/reset/152 1173s ok 341 /checksum/MD5/reset/153 1173s ok 342 /checksum/MD5/reset/154 1173s ok 343 /checksum/MD5/reset/155 1173s ok 344 /checksum/MD5/reset/156 1173s ok 345 /checksum/MD5/reset/157 1173s ok 346 /checksum/MD5/reset/158 1173s ok 347 /checksum/MD5/reset/159 1173s ok 348 /checksum/MD5/reset/160 1173s ok 349 /checksum/MD5/reset/161 1173s ok 350 /checksum/MD5/reset/162 1173s ok 351 /checksum/MD5/reset/163 1173s ok 352 /checksum/MD5/reset/164 1173s ok 353 /checksum/MD5/reset/165 1173s ok 354 /checksum/MD5/reset/166 1173s ok 355 /checksum/MD5/reset/167 1173s ok 356 /checksum/MD5/reset/168 1173s ok 357 /checksum/MD5/reset/169 1173s ok 358 /checksum/MD5/reset/170 1173s ok 359 /checksum/MD5/reset/171 1173s ok 360 /checksum/MD5/reset/172 1173s ok 361 /checksum/MD5/reset/173 1173s ok 362 /checksum/MD5/reset/174 1173s ok 363 /checksum/MD5/reset/175 1173s ok 364 /checksum/MD5/reset/176 1173s ok 365 /checksum/MD5/reset/177 1173s ok 366 /checksum/MD5/reset/178 1173s ok 367 /checksum/MD5/reset/179 1173s ok 368 /checksum/MD5/reset/180 1173s ok 369 /checksum/MD5/reset/181 1173s ok 370 /checksum/MD5/reset/182 1173s ok 371 /checksum/MD5/reset/183 1173s # End of reset tests 1173s # End of MD5 tests 1173s # Start of SHA1 tests 1173s ok 372 /checksum/SHA1/0 1173s ok 373 /checksum/SHA1/1 1173s ok 374 /checksum/SHA1/2 1173s ok 375 /checksum/SHA1/3 1173s ok 376 /checksum/SHA1/4 1173s ok 377 /checksum/SHA1/5 1173s ok 378 /checksum/SHA1/6 1173s ok 379 /checksum/SHA1/7 1173s ok 380 /checksum/SHA1/8 1173s ok 381 /checksum/SHA1/9 1173s ok 382 /checksum/SHA1/10 1173s ok 383 /checksum/SHA1/11 1173s ok 384 /checksum/SHA1/12 1173s ok 385 /checksum/SHA1/13 1173s ok 386 /checksum/SHA1/14 1173s ok 387 /checksum/SHA1/15 1173s ok 388 /checksum/SHA1/16 1173s ok 389 /checksum/SHA1/17 1173s ok 390 /checksum/SHA1/18 1173s ok 391 /checksum/SHA1/19 1173s ok 392 /checksum/SHA1/20 1173s ok 393 /checksum/SHA1/21 1173s ok 394 /checksum/SHA1/22 1173s ok 395 /checksum/SHA1/23 1173s ok 396 /checksum/SHA1/24 1173s ok 397 /checksum/SHA1/25 1173s ok 398 /checksum/SHA1/26 1173s ok 399 /checksum/SHA1/27 1173s ok 400 /checksum/SHA1/28 1173s ok 401 /checksum/SHA1/29 1173s ok 402 /checksum/SHA1/30 1173s ok 403 /checksum/SHA1/31 1173s ok 404 /checksum/SHA1/32 1173s ok 405 /checksum/SHA1/33 1173s ok 406 /checksum/SHA1/34 1173s ok 407 /checksum/SHA1/35 1173s ok 408 /checksum/SHA1/36 1173s ok 409 /checksum/SHA1/37 1173s ok 410 /checksum/SHA1/38 1173s ok 411 /checksum/SHA1/39 1173s ok 412 /checksum/SHA1/40 1173s ok 413 /checksum/SHA1/41 1173s ok 414 /checksum/SHA1/42 1173s ok 415 /checksum/SHA1/43 1173s ok 416 /checksum/SHA1/44 1173s ok 417 /checksum/SHA1/45 1173s ok 418 /checksum/SHA1/46 1173s ok 419 /checksum/SHA1/47 1173s ok 420 /checksum/SHA1/48 1173s ok 421 /checksum/SHA1/49 1173s ok 422 /checksum/SHA1/50 1173s ok 423 /checksum/SHA1/51 1173s ok 424 /checksum/SHA1/52 1173s ok 425 /checksum/SHA1/53 1173s ok 426 /checksum/SHA1/54 1173s ok 427 /checksum/SHA1/55 1173s ok 428 /checksum/SHA1/56 1173s ok 429 /checksum/SHA1/57 1173s ok 430 /checksum/SHA1/58 1173s ok 431 /checksum/SHA1/59 1173s ok 432 /checksum/SHA1/60 1173s ok 433 /checksum/SHA1/61 1173s ok 434 /checksum/SHA1/62 1173s ok 435 /checksum/SHA1/63 1173s ok 436 /checksum/SHA1/64 1173s ok 437 /checksum/SHA1/65 1173s ok 438 /checksum/SHA1/66 1173s ok 439 /checksum/SHA1/67 1173s ok 440 /checksum/SHA1/68 1173s ok 441 /checksum/SHA1/69 1173s ok 442 /checksum/SHA1/70 1173s ok 443 /checksum/SHA1/71 1173s ok 444 /checksum/SHA1/72 1173s ok 445 /checksum/SHA1/73 1173s ok 446 /checksum/SHA1/74 1173s ok 447 /checksum/SHA1/75 1173s ok 448 /checksum/SHA1/76 1173s ok 449 /checksum/SHA1/77 1173s ok 450 /checksum/SHA1/78 1173s ok 451 /checksum/SHA1/79 1173s ok 452 /checksum/SHA1/80 1173s ok 453 /checksum/SHA1/81 1173s ok 454 /checksum/SHA1/82 1173s ok 455 /checksum/SHA1/83 1173s ok 456 /checksum/SHA1/84 1173s ok 457 /checksum/SHA1/85 1173s ok 458 /checksum/SHA1/86 1173s ok 459 /checksum/SHA1/87 1173s ok 460 /checksum/SHA1/88 1173s ok 461 /checksum/SHA1/89 1173s ok 462 /checksum/SHA1/90 1173s ok 463 /checksum/SHA1/91 1173s ok 464 /checksum/SHA1/92 1173s ok 465 /checksum/SHA1/93 1173s ok 466 /checksum/SHA1/94 1173s ok 467 /checksum/SHA1/95 1173s ok 468 /checksum/SHA1/96 1173s ok 469 /checksum/SHA1/97 1173s ok 470 /checksum/SHA1/98 1173s ok 471 /checksum/SHA1/99 1173s ok 472 /checksum/SHA1/100 1173s ok 473 /checksum/SHA1/101 1173s ok 474 /checksum/SHA1/102 1173s ok 475 /checksum/SHA1/103 1173s ok 476 /checksum/SHA1/104 1173s ok 477 /checksum/SHA1/105 1173s ok 478 /checksum/SHA1/106 1173s ok 479 /checksum/SHA1/107 1173s ok 480 /checksum/SHA1/108 1173s ok 481 /checksum/SHA1/109 1173s ok 482 /checksum/SHA1/110 1173s ok 483 /checksum/SHA1/111 1173s ok 484 /checksum/SHA1/112 1173s ok 485 /checksum/SHA1/113 1173s ok 486 /checksum/SHA1/114 1173s ok 487 /checksum/SHA1/115 1173s ok 488 /checksum/SHA1/116 1173s ok 489 /checksum/SHA1/117 1173s ok 490 /checksum/SHA1/118 1173s ok 491 /checksum/SHA1/119 1173s ok 492 /checksum/SHA1/120 1173s ok 493 /checksum/SHA1/121 1173s ok 494 /checksum/SHA1/122 1173s ok 495 /checksum/SHA1/123 1173s ok 496 /checksum/SHA1/124 1173s ok 497 /checksum/SHA1/125 1173s ok 498 /checksum/SHA1/126 1173s ok 499 /checksum/SHA1/127 1173s ok 500 /checksum/SHA1/128 1173s ok 501 /checksum/SHA1/129 1173s ok 502 /checksum/SHA1/130 1173s ok 503 /checksum/SHA1/131 1173s ok 504 /checksum/SHA1/132 1173s ok 505 /checksum/SHA1/133 1173s ok 506 /checksum/SHA1/134 1173s ok 507 /checksum/SHA1/135 1173s ok 508 /checksum/SHA1/136 1173s ok 509 /checksum/SHA1/137 1173s ok 510 /checksum/SHA1/138 1173s ok 511 /checksum/SHA1/139 1173s ok 512 /checksum/SHA1/140 1173s ok 513 /checksum/SHA1/141 1173s ok 514 /checksum/SHA1/142 1173s ok 515 /checksum/SHA1/143 1173s ok 516 /checksum/SHA1/144 1173s ok 517 /checksum/SHA1/145 1173s ok 518 /checksum/SHA1/146 1173s ok 519 /checksum/SHA1/147 1173s ok 520 /checksum/SHA1/148 1173s ok 521 /checksum/SHA1/149 1173s ok 522 /checksum/SHA1/150 1173s ok 523 /checksum/SHA1/151 1173s ok 524 /checksum/SHA1/152 1173s ok 525 /checksum/SHA1/153 1173s ok 526 /checksum/SHA1/154 1173s ok 527 /checksum/SHA1/155 1173s ok 528 /checksum/SHA1/156 1173s ok 529 /checksum/SHA1/157 1173s ok 530 /checksum/SHA1/158 1173s ok 531 /checksum/SHA1/159 1173s ok 532 /checksum/SHA1/160 1173s ok 533 /checksum/SHA1/161 1173s ok 534 /checksum/SHA1/162 1173s ok 535 /checksum/SHA1/163 1173s ok 536 /checksum/SHA1/164 1173s ok 537 /checksum/SHA1/165 1173s ok 538 /checksum/SHA1/166 1173s ok 539 /checksum/SHA1/167 1173s ok 540 /checksum/SHA1/168 1173s ok 541 /checksum/SHA1/169 1173s ok 542 /checksum/SHA1/170 1173s ok 543 /checksum/SHA1/171 1173s ok 544 /checksum/SHA1/172 1173s ok 545 /checksum/SHA1/173 1173s ok 546 /checksum/SHA1/174 1173s ok 547 /checksum/SHA1/175 1173s ok 548 /checksum/SHA1/176 1173s ok 549 /checksum/SHA1/177 1173s ok 550 /checksum/SHA1/178 1173s ok 551 /checksum/SHA1/179 1173s ok 552 /checksum/SHA1/180 1173s ok 553 /checksum/SHA1/181 1173s ok 554 /checksum/SHA1/182 1173s ok 555 /checksum/SHA1/183 1173s ok 556 /checksum/SHA1/string 1173s ok 557 /checksum/SHA1/bytes 1173s # Start of reset tests 1173s ok 558 /checksum/SHA1/reset/0 1173s ok 559 /checksum/SHA1/reset/1 1173s ok 560 /checksum/SHA1/reset/2 1173s ok 561 /checksum/SHA1/reset/3 1173s ok 562 /checksum/SHA1/reset/4 1173s ok 563 /checksum/SHA1/reset/5 1173s ok 564 /checksum/SHA1/reset/6 1173s ok 565 /checksum/SHA1/reset/7 1173s ok 566 /checksum/SHA1/reset/8 1173s ok 567 /checksum/SHA1/reset/9 1173s ok 568 /checksum/SHA1/reset/10 1173s ok 569 /checksum/SHA1/reset/11 1173s ok 570 /checksum/SHA1/reset/12 1173s ok 571 /checksum/SHA1/reset/13 1173s ok 572 /checksum/SHA1/reset/14 1173s ok 573 /checksum/SHA1/reset/15 1173s ok 574 /checksum/SHA1/reset/16 1173s ok 575 /checksum/SHA1/reset/17 1173s ok 576 /checksum/SHA1/reset/18 1173s ok 577 /checksum/SHA1/reset/19 1173s ok 578 /checksum/SHA1/reset/20 1173s ok 579 /checksum/SHA1/reset/21 1173s ok 580 /checksum/SHA1/reset/22 1173s ok 581 /checksum/SHA1/reset/23 1173s ok 582 /checksum/SHA1/reset/24 1173s ok 583 /checksum/SHA1/reset/25 1173s ok 584 /checksum/SHA1/reset/26 1173s ok 585 /checksum/SHA1/reset/27 1173s ok 586 /checksum/SHA1/reset/28 1173s ok 587 /checksum/SHA1/reset/29 1173s ok 588 /checksum/SHA1/reset/30 1173s ok 589 /checksum/SHA1/reset/31 1173s ok 590 /checksum/SHA1/reset/32 1173s ok 591 /checksum/SHA1/reset/33 1173s ok 592 /checksum/SHA1/reset/34 1173s ok 593 /checksum/SHA1/reset/35 1173s ok 594 /checksum/SHA1/reset/36 1173s ok 595 /checksum/SHA1/reset/37 1173s ok 596 /checksum/SHA1/reset/38 1173s ok 597 /checksum/SHA1/reset/39 1173s ok 598 /checksum/SHA1/reset/40 1173s ok 599 /checksum/SHA1/reset/41 1173s ok 600 /checksum/SHA1/reset/42 1173s ok 601 /checksum/SHA1/reset/43 1173s ok 602 /checksum/SHA1/reset/44 1173s ok 603 /checksum/SHA1/reset/45 1173s ok 604 /checksum/SHA1/reset/46 1173s ok 605 /checksum/SHA1/reset/47 1173s ok 606 /checksum/SHA1/reset/48 1173s ok 607 /checksum/SHA1/reset/49 1173s ok 608 /checksum/SHA1/reset/50 1173s ok 609 /checksum/SHA1/reset/51 1173s ok 610 /checksum/SHA1/reset/52 1173s ok 611 /checksum/SHA1/reset/53 1173s ok 612 /checksum/SHA1/reset/54 1173s ok 613 /checksum/SHA1/reset/55 1173s ok 614 /checksum/SHA1/reset/56 1173s ok 615 /checksum/SHA1/reset/57 1173s ok 616 /checksum/SHA1/reset/58 1173s ok 617 /checksum/SHA1/reset/59 1173s ok 618 /checksum/SHA1/reset/60 1173s ok 619 /checksum/SHA1/reset/61 1173s ok 620 /checksum/SHA1/reset/62 1173s ok 621 /checksum/SHA1/reset/63 1173s ok 622 /checksum/SHA1/reset/64 1173s ok 623 /checksum/SHA1/reset/65 1173s ok 624 /checksum/SHA1/reset/66 1173s ok 625 /checksum/SHA1/reset/67 1173s ok 626 /checksum/SHA1/reset/68 1173s ok 627 /checksum/SHA1/reset/69 1173s ok 628 /checksum/SHA1/reset/70 1173s ok 629 /checksum/SHA1/reset/71 1173s ok 630 /checksum/SHA1/reset/72 1173s ok 631 /checksum/SHA1/reset/73 1173s ok 632 /checksum/SHA1/reset/74 1173s ok 633 /checksum/SHA1/reset/75 1173s ok 634 /checksum/SHA1/reset/76 1173s ok 635 /checksum/SHA1/reset/77 1173s ok 636 /checksum/SHA1/reset/78 1173s ok 637 /checksum/SHA1/reset/79 1173s ok 638 /checksum/SHA1/reset/80 1173s ok 639 /checksum/SHA1/reset/81 1173s ok 640 /checksum/SHA1/reset/82 1173s ok 641 /checksum/SHA1/reset/83 1173s ok 642 /checksum/SHA1/reset/84 1173s ok 643 /checksum/SHA1/reset/85 1173s ok 644 /checksum/SHA1/reset/86 1173s ok 645 /checksum/SHA1/reset/87 1173s ok 646 /checksum/SHA1/reset/88 1173s ok 647 /checksum/SHA1/reset/89 1173s ok 648 /checksum/SHA1/reset/90 1173s ok 649 /checksum/SHA1/reset/91 1173s ok 650 /checksum/SHA1/reset/92 1173s ok 651 /checksum/SHA1/reset/93 1173s ok 652 /checksum/SHA1/reset/94 1173s ok 653 /checksum/SHA1/reset/95 1173s ok 654 /checksum/SHA1/reset/96 1173s ok 655 /checksum/SHA1/reset/97 1173s ok 656 /checksum/SHA1/reset/98 1173s ok 657 /checksum/SHA1/reset/99 1173s ok 658 /checksum/SHA1/reset/100 1173s ok 659 /checksum/SHA1/reset/101 1173s ok 660 /checksum/SHA1/reset/102 1173s ok 661 /checksum/SHA1/reset/103 1173s ok 662 /checksum/SHA1/reset/104 1173s ok 663 /checksum/SHA1/reset/105 1173s ok 664 /checksum/SHA1/reset/106 1173s ok 665 /checksum/SHA1/reset/107 1173s ok 666 /checksum/SHA1/reset/108 1173s ok 667 /checksum/SHA1/reset/109 1173s ok 668 /checksum/SHA1/reset/110 1173s ok 669 /checksum/SHA1/reset/111 1173s ok 670 /checksum/SHA1/reset/112 1173s ok 671 /checksum/SHA1/reset/113 1173s ok 672 /checksum/SHA1/reset/114 1173s ok 673 /checksum/SHA1/reset/115 1173s ok 674 /checksum/SHA1/reset/116 1173s ok 675 /checksum/SHA1/reset/117 1173s ok 676 /checksum/SHA1/reset/118 1173s ok 677 /checksum/SHA1/reset/119 1173s ok 678 /checksum/SHA1/reset/120 1173s ok 679 /checksum/SHA1/reset/121 1173s ok 680 /checksum/SHA1/reset/122 1173s ok 681 /checksum/SHA1/reset/123 1173s ok 682 /checksum/SHA1/reset/124 1173s ok 683 /checksum/SHA1/reset/125 1173s ok 684 /checksum/SHA1/reset/126 1173s ok 685 /checksum/SHA1/reset/127 1173s ok 686 /checksum/SHA1/reset/128 1173s ok 687 /checksum/SHA1/reset/129 1173s ok 688 /checksum/SHA1/reset/130 1173s ok 689 /checksum/SHA1/reset/131 1173s ok 690 /checksum/SHA1/reset/132 1173s ok 691 /checksum/SHA1/reset/133 1173s ok 692 /checksum/SHA1/reset/134 1173s ok 693 /checksum/SHA1/reset/135 1173s ok 694 /checksum/SHA1/reset/136 1173s ok 695 /checksum/SHA1/reset/137 1173s ok 696 /checksum/SHA1/reset/138 1173s ok 697 /checksum/SHA1/reset/139 1173s ok 698 /checksum/SHA1/reset/140 1173s ok 699 /checksum/SHA1/reset/141 1173s ok 700 /checksum/SHA1/reset/142 1173s ok 701 /checksum/SHA1/reset/143 1173s ok 702 /checksum/SHA1/reset/144 1173s ok 703 /checksum/SHA1/reset/145 1173s ok 704 /checksum/SHA1/reset/146 1173s ok 705 /checksum/SHA1/reset/147 1173s ok 706 /checksum/SHA1/reset/148 1173s ok 707 /checksum/SHA1/reset/149 1173s ok 708 /checksum/SHA1/reset/150 1173s ok 709 /checksum/SHA1/reset/151 1173s ok 710 /checksum/SHA1/reset/152 1173s ok 711 /checksum/SHA1/reset/153 1173s ok 712 /checksum/SHA1/reset/154 1173s ok 713 /checksum/SHA1/reset/155 1173s ok 714 /checksum/SHA1/reset/156 1173s ok 715 /checksum/SHA1/reset/157 1173s ok 716 /checksum/SHA1/reset/158 1173s ok 717 /checksum/SHA1/reset/159 1173s ok 718 /checksum/SHA1/reset/160 1173s ok 719 /checksum/SHA1/reset/161 1173s ok 720 /checksum/SHA1/reset/162 1173s ok 721 /checksum/SHA1/reset/163 1173s ok 722 /checksum/SHA1/reset/164 1173s ok 723 /checksum/SHA1/reset/165 1173s ok 724 /checksum/SHA1/reset/166 1173s ok 725 /checksum/SHA1/reset/167 1173s ok 726 /checksum/SHA1/reset/168 1173s ok 727 /checksum/SHA1/reset/169 1173s ok 728 /checksum/SHA1/reset/170 1173s ok 729 /checksum/SHA1/reset/171 1173s ok 730 /checksum/SHA1/reset/172 1173s ok 731 /checksum/SHA1/reset/173 1173s ok 732 /checksum/SHA1/reset/174 1173s ok 733 /checksum/SHA1/reset/175 1173s ok 734 /checksum/SHA1/reset/176 1173s ok 735 /checksum/SHA1/reset/177 1173s ok 736 /checksum/SHA1/reset/178 1173s ok 737 /checksum/SHA1/reset/179 1173s ok 738 /checksum/SHA1/reset/180 1173s ok 739 /checksum/SHA1/reset/181 1173s ok 740 /checksum/SHA1/reset/182 1173s ok 741 /checksum/SHA1/reset/183 1173s # End of reset tests 1173s # End of SHA1 tests 1173s # Start of SHA256 tests 1173s ok 742 /checksum/SHA256/0 1173s ok 743 /checksum/SHA256/1 1173s ok 744 /checksum/SHA256/2 1173s ok 745 /checksum/SHA256/3 1173s ok 746 /checksum/SHA256/4 1173s ok 747 /checksum/SHA256/5 1173s ok 748 /checksum/SHA256/6 1173s ok 749 /checksum/SHA256/7 1173s ok 750 /checksum/SHA256/8 1173s ok 751 /checksum/SHA256/9 1173s ok 752 /checksum/SHA256/10 1173s ok 753 /checksum/SHA256/11 1173s ok 754 /checksum/SHA256/12 1173s ok 755 /checksum/SHA256/13 1173s ok 756 /checksum/SHA256/14 1173s ok 757 /checksum/SHA256/15 1173s ok 758 /checksum/SHA256/16 1173s ok 759 /checksum/SHA256/17 1173s ok 760 /checksum/SHA256/18 1173s ok 761 /checksum/SHA256/19 1173s ok 762 /checksum/SHA256/20 1173s ok 763 /checksum/SHA256/21 1173s ok 764 /checksum/SHA256/22 1173s ok 765 /checksum/SHA256/23 1173s ok 766 /checksum/SHA256/24 1173s ok 767 /checksum/SHA256/25 1173s ok 768 /checksum/SHA256/26 1173s ok 769 /checksum/SHA256/27 1173s ok 770 /checksum/SHA256/28 1173s ok 771 /checksum/SHA256/29 1173s ok 772 /checksum/SHA256/30 1173s ok 773 /checksum/SHA256/31 1173s ok 774 /checksum/SHA256/32 1173s ok 775 /checksum/SHA256/33 1173s ok 776 /checksum/SHA256/34 1173s ok 777 /checksum/SHA256/35 1173s ok 778 /checksum/SHA256/36 1173s ok 779 /checksum/SHA256/37 1173s ok 780 /checksum/SHA256/38 1173s ok 781 /checksum/SHA256/39 1173s ok 782 /checksum/SHA256/40 1173s ok 783 /checksum/SHA256/41 1173s ok 784 /checksum/SHA256/42 1173s ok 785 /checksum/SHA256/43 1173s ok 786 /checksum/SHA256/44 1173s ok 787 /checksum/SHA256/45 1173s ok 788 /checksum/SHA256/46 1173s ok 789 /checksum/SHA256/47 1173s ok 790 /checksum/SHA256/48 1173s ok 791 /checksum/SHA256/49 1173s ok 792 /checksum/SHA256/50 1173s ok 793 /checksum/SHA256/51 1173s ok 794 /checksum/SHA256/52 1173s ok 795 /checksum/SHA256/53 1173s ok 796 /checksum/SHA256/54 1173s ok 797 /checksum/SHA256/55 1173s ok 798 /checksum/SHA256/56 1173s ok 799 /checksum/SHA256/57 1173s ok 800 /checksum/SHA256/58 1173s ok 801 /checksum/SHA256/59 1173s ok 802 /checksum/SHA256/60 1173s ok 803 /checksum/SHA256/61 1173s ok 804 /checksum/SHA256/62 1173s ok 805 /checksum/SHA256/63 1173s ok 806 /checksum/SHA256/64 1173s ok 807 /checksum/SHA256/65 1173s ok 808 /checksum/SHA256/66 1173s ok 809 /checksum/SHA256/67 1173s ok 810 /checksum/SHA256/68 1173s ok 811 /checksum/SHA256/69 1173s ok 812 /checksum/SHA256/70 1173s ok 813 /checksum/SHA256/71 1173s ok 814 /checksum/SHA256/72 1173s ok 815 /checksum/SHA256/73 1173s ok 816 /checksum/SHA256/74 1173s ok 817 /checksum/SHA256/75 1173s ok 818 /checksum/SHA256/76 1173s ok 819 /checksum/SHA256/77 1173s ok 820 /checksum/SHA256/78 1173s ok 821 /checksum/SHA256/79 1173s ok 822 /checksum/SHA256/80 1173s ok 823 /checksum/SHA256/81 1173s ok 824 /checksum/SHA256/82 1173s ok 825 /checksum/SHA256/83 1173s ok 826 /checksum/SHA256/84 1173s ok 827 /checksum/SHA256/85 1173s ok 828 /checksum/SHA256/86 1173s ok 829 /checksum/SHA256/87 1173s ok 830 /checksum/SHA256/88 1173s ok 831 /checksum/SHA256/89 1173s ok 832 /checksum/SHA256/90 1173s ok 833 /checksum/SHA256/91 1173s ok 834 /checksum/SHA256/92 1173s ok 835 /checksum/SHA256/93 1173s ok 836 /checksum/SHA256/94 1173s ok 837 /checksum/SHA256/95 1173s ok 838 /checksum/SHA256/96 1173s ok 839 /checksum/SHA256/97 1173s ok 840 /checksum/SHA256/98 1173s ok 841 /checksum/SHA256/99 1173s ok 842 /checksum/SHA256/100 1173s ok 843 /checksum/SHA256/101 1173s ok 844 /checksum/SHA256/102 1173s ok 845 /checksum/SHA256/103 1173s ok 846 /checksum/SHA256/104 1173s ok 847 /checksum/SHA256/105 1173s ok 848 /checksum/SHA256/106 1173s ok 849 /checksum/SHA256/107 1173s ok 850 /checksum/SHA256/108 1173s ok 851 /checksum/SHA256/109 1173s ok 852 /checksum/SHA256/110 1173s ok 853 /checksum/SHA256/111 1173s ok 854 /checksum/SHA256/112 1173s ok 855 /checksum/SHA256/113 1173s ok 856 /checksum/SHA256/114 1173s ok 857 /checksum/SHA256/115 1173s ok 858 /checksum/SHA256/116 1173s ok 859 /checksum/SHA256/117 1173s ok 860 /checksum/SHA256/118 1173s ok 861 /checksum/SHA256/119 1173s ok 862 /checksum/SHA256/120 1173s ok 863 /checksum/SHA256/121 1173s ok 864 /checksum/SHA256/122 1173s ok 865 /checksum/SHA256/123 1173s ok 866 /checksum/SHA256/124 1173s ok 867 /checksum/SHA256/125 1173s ok 868 /checksum/SHA256/126 1173s ok 869 /checksum/SHA256/127 1173s ok 870 /checksum/SHA256/128 1173s ok 871 /checksum/SHA256/129 1173s ok 872 /checksum/SHA256/130 1173s ok 873 /checksum/SHA256/131 1173s ok 874 /checksum/SHA256/132 1173s ok 875 /checksum/SHA256/133 1173s ok 876 /checksum/SHA256/134 1173s ok 877 /checksum/SHA256/135 1173s ok 878 /checksum/SHA256/136 1173s ok 879 /checksum/SHA256/137 1173s ok 880 /checksum/SHA256/138 1173s ok 881 /checksum/SHA256/139 1173s ok 882 /checksum/SHA256/140 1173s ok 883 /checksum/SHA256/141 1173s ok 884 /checksum/SHA256/142 1173s ok 885 /checksum/SHA256/143 1173s ok 886 /checksum/SHA256/144 1173s ok 887 /checksum/SHA256/145 1173s ok 888 /checksum/SHA256/146 1173s ok 889 /checksum/SHA256/147 1173s ok 890 /checksum/SHA256/148 1173s ok 891 /checksum/SHA256/149 1173s ok 892 /checksum/SHA256/150 1173s ok 893 /checksum/SHA256/151 1173s ok 894 /checksum/SHA256/152 1173s ok 895 /checksum/SHA256/153 1173s ok 896 /checksum/SHA256/154 1173s ok 897 /checksum/SHA256/155 1173s ok 898 /checksum/SHA256/156 1173s ok 899 /checksum/SHA256/157 1173s ok 900 /checksum/SHA256/158 1173s ok 901 /checksum/SHA256/159 1173s ok 902 /checksum/SHA256/160 1173s ok 903 /checksum/SHA256/161 1173s ok 904 /checksum/SHA256/162 1173s ok 905 /checksum/SHA256/163 1173s ok 906 /checksum/SHA256/164 1173s ok 907 /checksum/SHA256/165 1173s ok 908 /checksum/SHA256/166 1173s ok 909 /checksum/SHA256/167 1173s ok 910 /checksum/SHA256/168 1173s ok 911 /checksum/SHA256/169 1173s ok 912 /checksum/SHA256/170 1173s ok 913 /checksum/SHA256/171 1173s ok 914 /checksum/SHA256/172 1173s ok 915 /checksum/SHA256/173 1173s ok 916 /checksum/SHA256/174 1173s ok 917 /checksum/SHA256/175 1173s ok 918 /checksum/SHA256/176 1173s ok 919 /checksum/SHA256/177 1173s ok 920 /checksum/SHA256/178 1173s ok 921 /checksum/SHA256/179 1173s ok 922 /checksum/SHA256/180 1173s ok 923 /checksum/SHA256/181 1173s ok 924 /checksum/SHA256/182 1173s ok 925 /checksum/SHA256/183 1173s ok 926 /checksum/SHA256/string 1173s ok 927 /checksum/SHA256/bytes 1173s # Start of reset tests 1173s ok 928 /checksum/SHA256/reset/0 1173s ok 929 /checksum/SHA256/reset/1 1173s ok 930 /checksum/SHA256/reset/2 1173s ok 931 /checksum/SHA256/reset/3 1173s ok 932 /checksum/SHA256/reset/4 1173s ok 933 /checksum/SHA256/reset/5 1173s ok 934 /checksum/SHA256/reset/6 1173s ok 935 /checksum/SHA256/reset/7 1173s ok 936 /checksum/SHA256/reset/8 1173s ok 937 /checksum/SHA256/reset/9 1173s ok 938 /checksum/SHA256/reset/10 1173s ok 939 /checksum/SHA256/reset/11 1173s ok 940 /checksum/SHA256/reset/12 1173s ok 941 /checksum/SHA256/reset/13 1173s ok 942 /checksum/SHA256/reset/14 1173s ok 943 /checksum/SHA256/reset/15 1173s ok 944 /checksum/SHA256/reset/16 1173s ok 945 /checksum/SHA256/reset/17 1173s ok 946 /checksum/SHA256/reset/18 1173s ok 947 /checksum/SHA256/reset/19 1173s ok 948 /checksum/SHA256/reset/20 1173s ok 949 /checksum/SHA256/reset/21 1173s ok 950 /checksum/SHA256/reset/22 1173s ok 951 /checksum/SHA256/reset/23 1173s ok 952 /checksum/SHA256/reset/24 1173s ok 953 /checksum/SHA256/reset/25 1173s ok 954 /checksum/SHA256/reset/26 1173s ok 955 /checksum/SHA256/reset/27 1173s ok 956 /checksum/SHA256/reset/28 1173s ok 957 /checksum/SHA256/reset/29 1173s ok 958 /checksum/SHA256/reset/30 1173s ok 959 /checksum/SHA256/reset/31 1173s ok 960 /checksum/SHA256/reset/32 1173s ok 961 /checksum/SHA256/reset/33 1173s ok 962 /checksum/SHA256/reset/34 1173s ok 963 /checksum/SHA256/reset/35 1173s ok 964 /checksum/SHA256/reset/36 1173s ok 965 /checksum/SHA256/reset/37 1173s ok 966 /checksum/SHA256/reset/38 1173s ok 967 /checksum/SHA256/reset/39 1173s ok 968 /checksum/SHA256/reset/40 1173s ok 969 /checksum/SHA256/reset/41 1173s ok 970 /checksum/SHA256/reset/42 1173s ok 971 /checksum/SHA256/reset/43 1173s ok 972 /checksum/SHA256/reset/44 1173s ok 973 /checksum/SHA256/reset/45 1173s ok 974 /checksum/SHA256/reset/46 1173s ok 975 /checksum/SHA256/reset/47 1173s ok 976 /checksum/SHA256/reset/48 1173s ok 977 /checksum/SHA256/reset/49 1173s ok 978 /checksum/SHA256/reset/50 1173s ok 979 /checksum/SHA256/reset/51 1173s ok 980 /checksum/SHA256/reset/52 1173s ok 981 /checksum/SHA256/reset/53 1173s ok 982 /checksum/SHA256/reset/54 1173s ok 983 /checksum/SHA256/reset/55 1173s ok 984 /checksum/SHA256/reset/56 1173s ok 985 /checksum/SHA256/reset/57 1173s ok 986 /checksum/SHA256/reset/58 1173s ok 987 /checksum/SHA256/reset/59 1173s ok 988 /checksum/SHA256/reset/60 1173s ok 989 /checksum/SHA256/reset/61 1173s ok 990 /checksum/SHA256/reset/62 1173s ok 991 /checksum/SHA256/reset/63 1173s ok 992 /checksum/SHA256/reset/64 1173s ok 993 /checksum/SHA256/reset/65 1173s ok 994 /checksum/SHA256/reset/66 1173s ok 995 /checksum/SHA256/reset/67 1173s ok 996 /checksum/SHA256/reset/68 1173s ok 997 /checksum/SHA256/reset/69 1173s ok 998 /checksum/SHA256/reset/70 1173s ok 999 /checksum/SHA256/reset/71 1173s ok 1000 /checksum/SHA256/reset/72 1173s ok 1001 /checksum/SHA256/reset/73 1173s ok 1002 /checksum/SHA256/reset/74 1173s ok 1003 /checksum/SHA256/reset/75 1173s ok 1004 /checksum/SHA256/reset/76 1173s ok 1005 /checksum/SHA256/reset/77 1173s ok 1006 /checksum/SHA256/reset/78 1173s ok 1007 /checksum/SHA256/reset/79 1173s ok 1008 /checksum/SHA256/reset/80 1173s ok 1009 /checksum/SHA256/reset/81 1173s ok 1010 /checksum/SHA256/reset/82 1173s ok 1011 /checksum/SHA256/reset/83 1173s ok 1012 /checksum/SHA256/reset/84 1173s ok 1013 /checksum/SHA256/reset/85 1173s ok 1014 /checksum/SHA256/reset/86 1173s ok 1015 /checksum/SHA256/reset/87 1173s ok 1016 /checksum/SHA256/reset/88 1173s ok 1017 /checksum/SHA256/reset/89 1173s ok 1018 /checksum/SHA256/reset/90 1173s ok 1019 /checksum/SHA256/reset/91 1173s ok 1020 /checksum/SHA256/reset/92 1173s ok 1021 /checksum/SHA256/reset/93 1173s ok 1022 /checksum/SHA256/reset/94 1173s ok 1023 /checksum/SHA256/reset/95 1173s ok 1024 /checksum/SHA256/reset/96 1173s ok 1025 /checksum/SHA256/reset/97 1173s ok 1026 /checksum/SHA256/reset/98 1173s ok 1027 /checksum/SHA256/reset/99 1173s ok 1028 /checksum/SHA256/reset/100 1173s ok 1029 /checksum/SHA256/reset/101 1173s ok 1030 /checksum/SHA256/reset/102 1173s ok 1031 /checksum/SHA256/reset/103 1173s ok 1032 /checksum/SHA256/reset/104 1173s ok 1033 /checksum/SHA256/reset/105 1173s ok 1034 /checksum/SHA256/reset/106 1173s ok 1035 /checksum/SHA256/reset/107 1173s ok 1036 /checksum/SHA256/reset/108 1173s ok 1037 /checksum/SHA256/reset/109 1173s ok 1038 /checksum/SHA256/reset/110 1173s ok 1039 /checksum/SHA256/reset/111 1173s ok 1040 /checksum/SHA256/reset/112 1173s ok 1041 /checksum/SHA256/reset/113 1173s ok 1042 /checksum/SHA256/reset/114 1173s ok 1043 /checksum/SHA256/reset/115 1173s ok 1044 /checksum/SHA256/reset/116 1173s ok 1045 /checksum/SHA256/reset/117 1173s ok 1046 /checksum/SHA256/reset/118 1173s ok 1047 /checksum/SHA256/reset/119 1173s ok 1048 /checksum/SHA256/reset/120 1173s ok 1049 /checksum/SHA256/reset/121 1173s ok 1050 /checksum/SHA256/reset/122 1173s ok 1051 /checksum/SHA256/reset/123 1173s ok 1052 /checksum/SHA256/reset/124 1173s ok 1053 /checksum/SHA256/reset/125 1173s ok 1054 /checksum/SHA256/reset/126 1173s ok 1055 /checksum/SHA256/reset/127 1173s ok 1056 /checksum/SHA256/reset/128 1173s ok 1057 /checksum/SHA256/reset/129 1173s ok 1058 /checksum/SHA256/reset/130 1173s ok 1059 /checksum/SHA256/reset/131 1173s ok 1060 /checksum/SHA256/reset/132 1173s ok 1061 /checksum/SHA256/reset/133 1173s ok 1062 /checksum/SHA256/reset/134 1173s ok 1063 /checksum/SHA256/reset/135 1173s ok 1064 /checksum/SHA256/reset/136 1173s ok 1065 /checksum/SHA256/reset/137 1173s ok 1066 /checksum/SHA256/reset/138 1173s ok 1067 /checksum/SHA256/reset/139 1173s ok 1068 /checksum/SHA256/reset/140 1173s ok 1069 /checksum/SHA256/reset/141 1173s ok 1070 /checksum/SHA256/reset/142 1173s ok 1071 /checksum/SHA256/reset/143 1173s ok 1072 /checksum/SHA256/reset/144 1173s ok 1073 /checksum/SHA256/reset/145 1173s ok 1074 /checksum/SHA256/reset/146 1173s ok 1075 /checksum/SHA256/reset/147 1173s ok 1076 /checksum/SHA256/reset/148 1173s ok 1077 /checksum/SHA256/reset/149 1173s ok 1078 /checksum/SHA256/reset/150 1173s ok 1079 /checksum/SHA256/reset/151 1173s ok 1080 /checksum/SHA256/reset/152 1173s ok 1081 /checksum/SHA256/reset/153 1173s ok 1082 /checksum/SHA256/reset/154 1173s ok 1083 /checksum/SHA256/reset/155 1173s ok 1084 /checksum/SHA256/reset/156 1173s ok 1085 /checksum/SHA256/reset/157 1173s ok 1086 /checksum/SHA256/reset/158 1173s ok 1087 /checksum/SHA256/reset/159 1173s ok 1088 /checksum/SHA256/reset/160 1173s ok 1089 /checksum/SHA256/reset/161 1173s ok 1090 /checksum/SHA256/reset/162 1173s ok 1091 /checksum/SHA256/reset/163 1173s ok 1092 /checksum/SHA256/reset/164 1173s ok 1093 /checksum/SHA256/reset/165 1173s ok 1094 /checksum/SHA256/reset/166 1173s ok 1095 /checksum/SHA256/reset/167 1173s ok 1096 /checksum/SHA256/reset/168 1173s ok 1097 /checksum/SHA256/reset/169 1173s ok 1098 /checksum/SHA256/reset/170 1173s ok 1099 /checksum/SHA256/reset/171 1173s ok 1100 /checksum/SHA256/reset/172 1173s ok 1101 /checksum/SHA256/reset/173 1173s ok 1102 /checksum/SHA256/reset/174 1173s ok 1103 /checksum/SHA256/reset/175 1173s ok 1104 /checksum/SHA256/reset/176 1173s ok 1105 /checksum/SHA256/reset/177 1173s ok 1106 /checksum/SHA256/reset/178 1173s ok 1107 /checksum/SHA256/reset/179 1173s ok 1108 /checksum/SHA256/reset/180 1173s ok 1109 /checksum/SHA256/reset/181 1173s ok 1110 /checksum/SHA256/reset/182 1173s ok 1111 /checksum/SHA256/reset/183 1173s # End of reset tests 1173s # End of SHA256 tests 1173s # Start of SHA384 tests 1173s ok 1112 /checksum/SHA384/0 1173s ok 1113 /checksum/SHA384/1 1173s ok 1114 /checksum/SHA384/2 1173s ok 1115 /checksum/SHA384/3 1173s ok 1116 /checksum/SHA384/4 1173s ok 1117 /checksum/SHA384/5 1173s ok 1118 /checksum/SHA384/6 1173s ok 1119 /checksum/SHA384/7 1173s ok 1120 /checksum/SHA384/8 1173s ok 1121 /checksum/SHA384/9 1173s ok 1122 /checksum/SHA384/10 1173s ok 1123 /checksum/SHA384/11 1173s ok 1124 /checksum/SHA384/12 1173s ok 1125 /checksum/SHA384/13 1173s ok 1126 /checksum/SHA384/14 1173s ok 1127 /checksum/SHA384/15 1173s ok 1128 /checksum/SHA384/16 1173s ok 1129 /checksum/SHA384/17 1173s ok 1130 /checksum/SHA384/18 1173s ok 1131 /checksum/SHA384/19 1173s ok 1132 /checksum/SHA384/20 1173s ok 1133 /checksum/SHA384/21 1173s ok 1134 /checksum/SHA384/22 1173s ok 1135 /checksum/SHA384/23 1173s ok 1136 /checksum/SHA384/24 1173s ok 1137 /checksum/SHA384/25 1173s ok 1138 /checksum/SHA384/26 1173s ok 1139 /checksum/SHA384/27 1173s ok 1140 /checksum/SHA384/28 1173s ok 1141 /checksum/SHA384/29 1173s ok 1142 /checksum/SHA384/30 1173s ok 1143 /checksum/SHA384/31 1173s ok 1144 /checksum/SHA384/32 1173s ok 1145 /checksum/SHA384/33 1173s ok 1146 /checksum/SHA384/34 1173s ok 1147 /checksum/SHA384/35 1173s ok 1148 /checksum/SHA384/36 1173s ok 1149 /checksum/SHA384/37 1173s ok 1150 /checksum/SHA384/38 1173s ok 1151 /checksum/SHA384/39 1173s ok 1152 /checksum/SHA384/40 1173s ok 1153 /checksum/SHA384/41 1173s ok 1154 /checksum/SHA384/42 1173s ok 1155 /checksum/SHA384/43 1173s ok 1156 /checksum/SHA384/44 1173s ok 1157 /checksum/SHA384/45 1173s ok 1158 /checksum/SHA384/46 1173s ok 1159 /checksum/SHA384/47 1173s ok 1160 /checksum/SHA384/48 1173s ok 1161 /checksum/SHA384/49 1173s ok 1162 /checksum/SHA384/50 1173s ok 1163 /checksum/SHA384/51 1173s ok 1164 /checksum/SHA384/52 1173s ok 1165 /checksum/SHA384/53 1173s ok 1166 /checksum/SHA384/54 1173s ok 1167 /checksum/SHA384/55 1173s ok 1168 /checksum/SHA384/56 1173s ok 1169 /checksum/SHA384/57 1173s ok 1170 /checksum/SHA384/58 1173s ok 1171 /checksum/SHA384/59 1173s ok 1172 /checksum/SHA384/60 1173s ok 1173 /checksum/SHA384/61 1173s ok 1174 /checksum/SHA384/62 1173s ok 1175 /checksum/SHA384/63 1173s ok 1176 /checksum/SHA384/64 1173s ok 1177 /checksum/SHA384/65 1173s ok 1178 /checksum/SHA384/66 1173s ok 1179 /checksum/SHA384/67 1173s ok 1180 /checksum/SHA384/68 1173s ok 1181 /checksum/SHA384/69 1173s ok 1182 /checksum/SHA384/70 1173s ok 1183 /checksum/SHA384/71 1173s ok 1184 /checksum/SHA384/72 1173s ok 1185 /checksum/SHA384/73 1173s ok 1186 /checksum/SHA384/74 1173s ok 1187 /checksum/SHA384/75 1173s ok 1188 /checksum/SHA384/76 1173s ok 1189 /checksum/SHA384/77 1173s ok 1190 /checksum/SHA384/78 1173s ok 1191 /checksum/SHA384/79 1173s ok 1192 /checksum/SHA384/80 1173s ok 1193 /checksum/SHA384/81 1173s ok 1194 /checksum/SHA384/82 1173s ok 1195 /checksum/SHA384/83 1173s ok 1196 /checksum/SHA384/84 1173s ok 1197 /checksum/SHA384/85 1173s ok 1198 /checksum/SHA384/86 1173s ok 1199 /checksum/SHA384/87 1173s ok 1200 /checksum/SHA384/88 1173s ok 1201 /checksum/SHA384/89 1173s ok 1202 /checksum/SHA384/90 1173s ok 1203 /checksum/SHA384/91 1173s ok 1204 /checksum/SHA384/92 1173s ok 1205 /checksum/SHA384/93 1173s ok 1206 /checksum/SHA384/94 1173s ok 1207 /checksum/SHA384/95 1173s ok 1208 /checksum/SHA384/96 1173s ok 1209 /checksum/SHA384/97 1173s ok 1210 /checksum/SHA384/98 1173s ok 1211 /checksum/SHA384/99 1173s ok 1212 /checksum/SHA384/100 1173s ok 1213 /checksum/SHA384/101 1173s ok 1214 /checksum/SHA384/102 1173s ok 1215 /checksum/SHA384/103 1173s ok 1216 /checksum/SHA384/104 1173s ok 1217 /checksum/SHA384/105 1173s ok 1218 /checksum/SHA384/106 1173s ok 1219 /checksum/SHA384/107 1173s ok 1220 /checksum/SHA384/108 1173s ok 1221 /checksum/SHA384/109 1173s ok 1222 /checksum/SHA384/110 1173s ok 1223 /checksum/SHA384/111 1173s ok 1224 /checksum/SHA384/112 1173s ok 1225 /checksum/SHA384/113 1173s ok 1226 /checksum/SHA384/114 1173s ok 1227 /checksum/SHA384/115 1173s ok 1228 /checksum/SHA384/116 1173s ok 1229 /checksum/SHA384/117 1173s ok 1230 /checksum/SHA384/118 1173s ok 1231 /checksum/SHA384/119 1173s ok 1232 /checksum/SHA384/120 1173s ok 1233 /checksum/SHA384/121 1173s ok 1234 /checksum/SHA384/122 1173s ok 1235 /checksum/SHA384/123 1173s ok 1236 /checksum/SHA384/124 1173s ok 1237 /checksum/SHA384/125 1173s ok 1238 /checksum/SHA384/126 1173s ok 1239 /checksum/SHA384/127 1173s ok 1240 /checksum/SHA384/128 1173s ok 1241 /checksum/SHA384/129 1173s ok 1242 /checksum/SHA384/130 1173s ok 1243 /checksum/SHA384/131 1173s ok 1244 /checksum/SHA384/132 1173s ok 1245 /checksum/SHA384/133 1173s ok 1246 /checksum/SHA384/134 1173s ok 1247 /checksum/SHA384/135 1173s ok 1248 /checksum/SHA384/136 1173s ok 1249 /checksum/SHA384/137 1173s ok 1250 /checksum/SHA384/138 1173s ok 1251 /checksum/SHA384/139 1173s ok 1252 /checksum/SHA384/140 1173s ok 1253 /checksum/SHA384/141 1173s ok 1254 /checksum/SHA384/142 1173s ok 1255 /checksum/SHA384/143 1173s ok 1256 /checksum/SHA384/144 1173s ok 1257 /checksum/SHA384/145 1173s ok 1258 /checksum/SHA384/146 1173s ok 1259 /checksum/SHA384/147 1173s ok 1260 /checksum/SHA384/148 1173s ok 1261 /checksum/SHA384/149 1173s ok 1262 /checksum/SHA384/150 1173s ok 1263 /checksum/SHA384/151 1173s ok 1264 /checksum/SHA384/152 1173s ok 1265 /checksum/SHA384/153 1173s ok 1266 /checksum/SHA384/154 1173s ok 1267 /checksum/SHA384/155 1173s ok 1268 /checksum/SHA384/156 1173s ok 1269 /checksum/SHA384/157 1173s ok 1270 /checksum/SHA384/158 1173s ok 1271 /checksum/SHA384/159 1173s ok 1272 /checksum/SHA384/160 1173s ok 1273 /checksum/SHA384/161 1173s ok 1274 /checksum/SHA384/162 1173s ok 1275 /checksum/SHA384/163 1173s ok 1276 /checksum/SHA384/164 1173s ok 1277 /checksum/SHA384/165 1173s ok 1278 /checksum/SHA384/166 1173s ok 1279 /checksum/SHA384/167 1173s ok 1280 /checksum/SHA384/168 1173s ok 1281 /checksum/SHA384/169 1173s ok 1282 /checksum/SHA384/170 1173s ok 1283 /checksum/SHA384/171 1173s ok 1284 /checksum/SHA384/172 1173s ok 1285 /checksum/SHA384/173 1173s ok 1286 /checksum/SHA384/174 1173s ok 1287 /checksum/SHA384/175 1173s ok 1288 /checksum/SHA384/176 1173s ok 1289 /checksum/SHA384/177 1173s ok 1290 /checksum/SHA384/178 1173s ok 1291 /checksum/SHA384/179 1173s ok 1292 /checksum/SHA384/180 1173s ok 1293 /checksum/SHA384/181 1173s ok 1294 /checksum/SHA384/182 1173s ok 1295 /checksum/SHA384/183 1173s ok 1296 /checksum/SHA384/string 1173s ok 1297 /checksum/SHA384/bytes 1173s # Start of reset tests 1173s ok 1298 /checksum/SHA384/reset/0 1173s ok 1299 /checksum/SHA384/reset/1 1173s ok 1300 /checksum/SHA384/reset/2 1173s ok 1301 /checksum/SHA384/reset/3 1173s ok 1302 /checksum/SHA384/reset/4 1173s ok 1303 /checksum/SHA384/reset/5 1173s ok 1304 /checksum/SHA384/reset/6 1173s ok 1305 /checksum/SHA384/reset/7 1173s ok 1306 /checksum/SHA384/reset/8 1173s ok 1307 /checksum/SHA384/reset/9 1173s ok 1308 /checksum/SHA384/reset/10 1173s ok 1309 /checksum/SHA384/reset/11 1173s ok 1310 /checksum/SHA384/reset/12 1173s ok 1311 /checksum/SHA384/reset/13 1173s ok 1312 /checksum/SHA384/reset/14 1173s ok 1313 /checksum/SHA384/reset/15 1173s ok 1314 /checksum/SHA384/reset/16 1173s ok 1315 /checksum/SHA384/reset/17 1173s ok 1316 /checksum/SHA384/reset/18 1173s ok 1317 /checksum/SHA384/reset/19 1173s ok 1318 /checksum/SHA384/reset/20 1173s ok 1319 /checksum/SHA384/reset/21 1173s ok 1320 /checksum/SHA384/reset/22 1173s ok 1321 /checksum/SHA384/reset/23 1173s ok 1322 /checksum/SHA384/reset/24 1173s ok 1323 /checksum/SHA384/reset/25 1173s ok 1324 /checksum/SHA384/reset/26 1173s ok 1325 /checksum/SHA384/reset/27 1173s ok 1326 /checksum/SHA384/reset/28 1173s ok 1327 /checksum/SHA384/reset/29 1173s ok 1328 /checksum/SHA384/reset/30 1173s ok 1329 /checksum/SHA384/reset/31 1173s ok 1330 /checksum/SHA384/reset/32 1173s ok 1331 /checksum/SHA384/reset/33 1173s ok 1332 /checksum/SHA384/reset/34 1173s ok 1333 /checksum/SHA384/reset/35 1173s ok 1334 /checksum/SHA384/reset/36 1173s ok 1335 /checksum/SHA384/reset/37 1173s ok 1336 /checksum/SHA384/reset/38 1173s ok 1337 /checksum/SHA384/reset/39 1173s ok 1338 /checksum/SHA384/reset/40 1173s ok 1339 /checksum/SHA384/reset/41 1173s ok 1340 /checksum/SHA384/reset/42 1173s ok 1341 /checksum/SHA384/reset/43 1173s ok 1342 /checksum/SHA384/reset/44 1173s ok 1343 /checksum/SHA384/reset/45 1173s ok 1344 /checksum/SHA384/reset/46 1173s ok 1345 /checksum/SHA384/reset/47 1173s ok 1346 /checksum/SHA384/reset/48 1173s ok 1347 /checksum/SHA384/reset/49 1173s ok 1348 /checksum/SHA384/reset/50 1173s ok 1349 /checksum/SHA384/reset/51 1173s ok 1350 /checksum/SHA384/reset/52 1173s ok 1351 /checksum/SHA384/reset/53 1173s ok 1352 /checksum/SHA384/reset/54 1173s ok 1353 /checksum/SHA384/reset/55 1173s ok 1354 /checksum/SHA384/reset/56 1173s ok 1355 /checksum/SHA384/reset/57 1173s ok 1356 /checksum/SHA384/reset/58 1173s ok 1357 /checksum/SHA384/reset/59 1173s ok 1358 /checksum/SHA384/reset/60 1173s ok 1359 /checksum/SHA384/reset/61 1173s ok 1360 /checksum/SHA384/reset/62 1173s ok 1361 /checksum/SHA384/reset/63 1173s ok 1362 /checksum/SHA384/reset/64 1173s ok 1363 /checksum/SHA384/reset/65 1173s ok 1364 /checksum/SHA384/reset/66 1173s ok 1365 /checksum/SHA384/reset/67 1173s ok 1366 /checksum/SHA384/reset/68 1173s ok 1367 /checksum/SHA384/reset/69 1173s ok 1368 /checksum/SHA384/reset/70 1173s ok 1369 /checksum/SHA384/reset/71 1173s ok 1370 /checksum/SHA384/reset/72 1173s ok 1371 /checksum/SHA384/reset/73 1173s ok 1372 /checksum/SHA384/reset/74 1173s ok 1373 /checksum/SHA384/reset/75 1173s ok 1374 /checksum/SHA384/reset/76 1173s ok 1375 /checksum/SHA384/reset/77 1173s ok 1376 /checksum/SHA384/reset/78 1173s ok 1377 /checksum/SHA384/reset/79 1173s ok 1378 /checksum/SHA384/reset/80 1173s ok 1379 /checksum/SHA384/reset/81 1173s ok 1380 /checksum/SHA384/reset/82 1173s ok 1381 /checksum/SHA384/reset/83 1173s ok 1382 /checksum/SHA384/reset/84 1173s ok 1383 /checksum/SHA384/reset/85 1173s ok 1384 /checksum/SHA384/reset/86 1173s ok 1385 /checksum/SHA384/reset/87 1173s ok 1386 /checksum/SHA384/reset/88 1173s ok 1387 /checksum/SHA384/reset/89 1173s ok 1388 /checksum/SHA384/reset/90 1173s ok 1389 /checksum/SHA384/reset/91 1173s ok 1390 /checksum/SHA384/reset/92 1173s ok 1391 /checksum/SHA384/reset/93 1173s ok 1392 /checksum/SHA384/reset/94 1173s ok 1393 /checksum/SHA384/reset/95 1173s ok 1394 /checksum/SHA384/reset/96 1173s ok 1395 /checksum/SHA384/reset/97 1173s ok 1396 /checksum/SHA384/reset/98 1173s ok 1397 /checksum/SHA384/reset/99 1173s ok 1398 /checksum/SHA384/reset/100 1173s ok 1399 /checksum/SHA384/reset/101 1173s ok 1400 /checksum/SHA384/reset/102 1173s ok 1401 /checksum/SHA384/reset/103 1173s ok 1402 /checksum/SHA384/reset/104 1173s ok 1403 /checksum/SHA384/reset/105 1173s ok 1404 /checksum/SHA384/reset/106 1173s ok 1405 /checksum/SHA384/reset/107 1173s ok 1406 /checksum/SHA384/reset/108 1173s ok 1407 /checksum/SHA384/reset/109 1173s ok 1408 /checksum/SHA384/reset/110 1173s ok 1409 /checksum/SHA384/reset/111 1173s ok 1410 /checksum/SHA384/reset/112 1173s ok 1411 /checksum/SHA384/reset/113 1173s ok 1412 /checksum/SHA384/reset/114 1173s ok 1413 /checksum/SHA384/reset/115 1173s ok 1414 /checksum/SHA384/reset/116 1173s ok 1415 /checksum/SHA384/reset/117 1173s ok 1416 /checksum/SHA384/reset/118 1173s ok 1417 /checksum/SHA384/reset/119 1173s ok 1418 /checksum/SHA384/reset/120 1173s ok 1419 /checksum/SHA384/reset/121 1173s ok 1420 /checksum/SHA384/reset/122 1173s ok 1421 /checksum/SHA384/reset/123 1173s ok 1422 /checksum/SHA384/reset/124 1173s ok 1423 /checksum/SHA384/reset/125 1173s ok 1424 /checksum/SHA384/reset/126 1173s ok 1425 /checksum/SHA384/reset/127 1173s ok 1426 /checksum/SHA384/reset/128 1173s ok 1427 /checksum/SHA384/reset/129 1173s ok 1428 /checksum/SHA384/reset/130 1173s ok 1429 /checksum/SHA384/reset/131 1173s ok 1430 /checksum/SHA384/reset/132 1173s ok 1431 /checksum/SHA384/reset/133 1173s ok 1432 /checksum/SHA384/reset/134 1173s ok 1433 /checksum/SHA384/reset/135 1173s ok 1434 /checksum/SHA384/reset/136 1173s ok 1435 /checksum/SHA384/reset/137 1173s ok 1436 /checksum/SHA384/reset/138 1173s ok 1437 /checksum/SHA384/reset/139 1173s ok 1438 /checksum/SHA384/reset/140 1173s ok 1439 /checksum/SHA384/reset/141 1173s ok 1440 /checksum/SHA384/reset/142 1173s ok 1441 /checksum/SHA384/reset/143 1173s ok 1442 /checksum/SHA384/reset/144 1173s ok 1443 /checksum/SHA384/reset/145 1173s ok 1444 /checksum/SHA384/reset/146 1173s ok 1445 /checksum/SHA384/reset/147 1173s ok 1446 /checksum/SHA384/reset/148 1173s ok 1447 /checksum/SHA384/reset/149 1173s ok 1448 /checksum/SHA384/reset/150 1173s ok 1449 /checksum/SHA384/reset/151 1173s ok 1450 /checksum/SHA384/reset/152 1173s ok 1451 /checksum/SHA384/reset/153 1173s ok 1452 /checksum/SHA384/reset/154 1173s ok 1453 /checksum/SHA384/reset/155 1173s ok 1454 /checksum/SHA384/reset/156 1173s ok 1455 /checksum/SHA384/reset/157 1173s ok 1456 /checksum/SHA384/reset/158 1173s ok 1457 /checksum/SHA384/reset/159 1173s ok 1458 /checksum/SHA384/reset/160 1173s ok 1459 /checksum/SHA384/reset/161 1173s ok 1460 /checksum/SHA384/reset/162 1173s ok 1461 /checksum/SHA384/reset/163 1173s ok 1462 /checksum/SHA384/reset/164 1173s ok 1463 /checksum/SHA384/reset/165 1173s ok 1464 /checksum/SHA384/reset/166 1173s ok 1465 /checksum/SHA384/reset/167 1173s ok 1466 /checksum/SHA384/reset/168 1173s ok 1467 /checksum/SHA384/reset/169 1173s ok 1468 /checksum/SHA384/reset/170 1173s ok 1469 /checksum/SHA384/reset/171 1173s ok 1470 /checksum/SHA384/reset/172 1173s ok 1471 /checksum/SHA384/reset/173 1173s ok 1472 /checksum/SHA384/reset/174 1173s ok 1473 /checksum/SHA384/reset/175 1173s ok 1474 /checksum/SHA384/reset/176 1173s ok 1475 /checksum/SHA384/reset/177 1173s ok 1476 /checksum/SHA384/reset/178 1173s ok 1477 /checksum/SHA384/reset/179 1173s ok 1478 /checksum/SHA384/reset/180 1173s ok 1479 /checksum/SHA384/reset/181 1173s ok 1480 /checksum/SHA384/reset/182 1173s ok 1481 /checksum/SHA384/reset/183 1173s # End of reset tests 1173s # End of SHA384 tests 1173s # Start of SHA512 tests 1173s ok 1482 /checksum/SHA512/0 1173s ok 1483 /checksum/SHA512/1 1173s ok 1484 /checksum/SHA512/2 1173s ok 1485 /checksum/SHA512/3 1173s ok 1486 /checksum/SHA512/4 1173s ok 1487 /checksum/SHA512/5 1173s ok 1488 /checksum/SHA512/6 1173s ok 1489 /checksum/SHA512/7 1173s ok 1490 /checksum/SHA512/8 1173s ok 1491 /checksum/SHA512/9 1173s ok 1492 /checksum/SHA512/10 1173s ok 1493 /checksum/SHA512/11 1173s ok 1494 /checksum/SHA512/12 1173s ok 1495 /checksum/SHA512/13 1173s ok 1496 /checksum/SHA512/14 1173s ok 1497 /checksum/SHA512/15 1173s ok 1498 /checksum/SHA512/16 1173s ok 1499 /checksum/SHA512/17 1173s ok 1500 /checksum/SHA512/18 1173s ok 1501 /checksum/SHA512/19 1173s ok 1502 /checksum/SHA512/20 1173s ok 1503 /checksum/SHA512/21 1173s ok 1504 /checksum/SHA512/22 1173s ok 1505 /checksum/SHA512/23 1173s ok 1506 /checksum/SHA512/24 1173s ok 1507 /checksum/SHA512/25 1173s ok 1508 /checksum/SHA512/26 1173s ok 1509 /checksum/SHA512/27 1173s ok 1510 /checksum/SHA512/28 1173s ok 1511 /checksum/SHA512/29 1173s ok 1512 /checksum/SHA512/30 1173s ok 1513 /checksum/SHA512/31 1173s ok 1514 /checksum/SHA512/32 1173s ok 1515 /checksum/SHA512/33 1173s ok 1516 /checksum/SHA512/34 1173s ok 1517 /checksum/SHA512/35 1173s ok 1518 /checksum/SHA512/36 1173s ok 1519 /checksum/SHA512/37 1173s ok 1520 /checksum/SHA512/38 1173s ok 1521 /checksum/SHA512/39 1173s ok 1522 /checksum/SHA512/40 1173s ok 1523 /checksum/SHA512/41 1173s ok 1524 /checksum/SHA512/42 1173s ok 1525 /checksum/SHA512/43 1173s ok 1526 /checksum/SHA512/44 1173s ok 1527 /checksum/SHA512/45 1173s ok 1528 /checksum/SHA512/46 1173s ok 1529 /checksum/SHA512/47 1173s ok 1530 /checksum/SHA512/48 1173s ok 1531 /checksum/SHA512/49 1173s ok 1532 /checksum/SHA512/50 1173s ok 1533 /checksum/SHA512/51 1173s ok 1534 /checksum/SHA512/52 1173s ok 1535 /checksum/SHA512/53 1173s ok 1536 /checksum/SHA512/54 1173s ok 1537 /checksum/SHA512/55 1173s ok 1538 /checksum/SHA512/56 1173s ok 1539 /checksum/SHA512/57 1173s ok 1540 /checksum/SHA512/58 1173s ok 1541 /checksum/SHA512/59 1173s ok 1542 /checksum/SHA512/60 1173s ok 1543 /checksum/SHA512/61 1173s ok 1544 /checksum/SHA512/62 1173s ok 1545 /checksum/SHA512/63 1173s ok 1546 /checksum/SHA512/64 1173s ok 1547 /checksum/SHA512/65 1173s ok 1548 /checksum/SHA512/66 1173s ok 1549 /checksum/SHA512/67 1173s ok 1550 /checksum/SHA512/68 1173s ok 1551 /checksum/SHA512/69 1173s ok 1552 /checksum/SHA512/70 1173s ok 1553 /checksum/SHA512/71 1173s ok 1554 /checksum/SHA512/72 1173s ok 1555 /checksum/SHA512/73 1173s ok 1556 /checksum/SHA512/74 1173s ok 1557 /checksum/SHA512/75 1173s ok 1558 /checksum/SHA512/76 1173s ok 1559 /checksum/SHA512/77 1173s ok 1560 /checksum/SHA512/78 1173s ok 1561 /checksum/SHA512/79 1173s ok 1562 /checksum/SHA512/80 1173s ok 1563 /checksum/SHA512/81 1173s ok 1564 /checksum/SHA512/82 1173s ok 1565 /checksum/SHA512/83 1173s ok 1566 /checksum/SHA512/84 1173s ok 1567 /checksum/SHA512/85 1173s ok 1568 /checksum/SHA512/86 1173s ok 1569 /checksum/SHA512/87 1173s ok 1570 /checksum/SHA512/88 1173s ok 1571 /checksum/SHA512/89 1173s ok 1572 /checksum/SHA512/90 1173s ok 1573 /checksum/SHA512/91 1173s ok 1574 /checksum/SHA512/92 1173s ok 1575 /checksum/SHA512/93 1173s ok 1576 /checksum/SHA512/94 1173s ok 1577 /checksum/SHA512/95 1173s ok 1578 /checksum/SHA512/96 1173s ok 1579 /checksum/SHA512/97 1173s ok 1580 /checksum/SHA512/98 1173s ok 1581 /checksum/SHA512/99 1173s ok 1582 /checksum/SHA512/100 1173s ok 1583 /checksum/SHA512/101 1173s ok 1584 /checksum/SHA512/102 1173s ok 1585 /checksum/SHA512/103 1173s ok 1586 /checksum/SHA512/104 1173s ok 1587 /checksum/SHA512/105 1173s ok 1588 /checksum/SHA512/106 1173s ok 1589 /checksum/SHA512/107 1173s ok 1590 /checksum/SHA512/108 1173s ok 1591 /checksum/SHA512/109 1173s ok 1592 /checksum/SHA512/110 1173s ok 1593 /checksum/SHA512/111 1173s ok 1594 /checksum/SHA512/112 1173s ok 1595 /checksum/SHA512/113 1173s ok 1596 /checksum/SHA512/114 1173s ok 1597 /checksum/SHA512/115 1173s ok 1598 /checksum/SHA512/116 1173s ok 1599 /checksum/SHA512/117 1173s ok 1600 /checksum/SHA512/118 1173s ok 1601 /checksum/SHA512/119 1173s ok 1602 /checksum/SHA512/120 1173s ok 1603 /checksum/SHA512/121 1173s ok 1604 /checksum/SHA512/122 1173s ok 1605 /checksum/SHA512/123 1173s ok 1606 /checksum/SHA512/124 1173s ok 1607 /checksum/SHA512/125 1173s ok 1608 /checksum/SHA512/126 1173s ok 1609 /checksum/SHA512/127 1173s ok 1610 /checksum/SHA512/128 1173s ok 1611 /checksum/SHA512/129 1173s ok 1612 /checksum/SHA512/130 1173s ok 1613 /checksum/SHA512/131 1173s ok 1614 /checksum/SHA512/132 1173s ok 1615 /checksum/SHA512/133 1173s ok 1616 /checksum/SHA512/134 1173s ok 1617 /checksum/SHA512/135 1173s ok 1618 /checksum/SHA512/136 1173s ok 1619 /checksum/SHA512/137 1173s ok 1620 /checksum/SHA512/138 1173s ok 1621 /checksum/SHA512/139 1173s ok 1622 /checksum/SHA512/140 1173s ok 1623 /checksum/SHA512/141 1173s ok 1624 /checksum/SHA512/142 1173s ok 1625 /checksum/SHA512/143 1173s ok 1626 /checksum/SHA512/144 1173s ok 1627 /checksum/SHA512/145 1173s ok 1628 /checksum/SHA512/146 1173s ok 1629 /checksum/SHA512/147 1173s ok 1630 /checksum/SHA512/148 1173s ok 1631 /checksum/SHA512/149 1173s ok 1632 /checksum/SHA512/150 1173s ok 1633 /checksum/SHA512/151 1173s ok 1634 /checksum/SHA512/152 1173s ok 1635 /checksum/SHA512/153 1173s ok 1636 /checksum/SHA512/154 1173s ok 1637 /checksum/SHA512/155 1173s ok 1638 /checksum/SHA512/156 1173s ok 1639 /checksum/SHA512/157 1173s ok 1640 /checksum/SHA512/158 1173s ok 1641 /checksum/SHA512/159 1173s ok 1642 /checksum/SHA512/160 1173s ok 1643 /checksum/SHA512/161 1173s ok 1644 /checksum/SHA512/162 1173s ok 1645 /checksum/SHA512/163 1173s ok 1646 /checksum/SHA512/164 1173s ok 1647 /checksum/SHA512/165 1173s ok 1648 /checksum/SHA512/166 1173s ok 1649 /checksum/SHA512/167 1173s ok 1650 /checksum/SHA512/168 1173s ok 1651 /checksum/SHA512/169 1173s ok 1652 /checksum/SHA512/170 1173s ok 1653 /checksum/SHA512/171 1173s ok 1654 /checksum/SHA512/172 1173s ok 1655 /checksum/SHA512/173 1173s ok 1656 /checksum/SHA512/174 1173s ok 1657 /checksum/SHA512/175 1173s ok 1658 /checksum/SHA512/176 1173s ok 1659 /checksum/SHA512/177 1173s ok 1660 /checksum/SHA512/178 1173s ok 1661 /checksum/SHA512/179 1173s ok 1662 /checksum/SHA512/180 1173s ok 1663 /checksum/SHA512/181 1173s ok 1664 /checksum/SHA512/182 1173s ok 1665 /checksum/SHA512/183 1173s ok 1666 /checksum/SHA512/string 1173s ok 1667 /checksum/SHA512/bytes 1173s # Start of reset tests 1173s ok 1668 /checksum/SHA512/reset/0 1173s ok 1669 /checksum/SHA512/reset/1 1173s ok 1670 /checksum/SHA512/reset/2 1173s ok 1671 /checksum/SHA512/reset/3 1173s ok 1672 /checksum/SHA512/reset/4 1173s ok 1673 /checksum/SHA512/reset/5 1173s ok 1674 /checksum/SHA512/reset/6 1173s ok 1675 /checksum/SHA512/reset/7 1173s ok 1676 /checksum/SHA512/reset/8 1173s ok 1677 /checksum/SHA512/reset/9 1173s ok 1678 /checksum/SHA512/reset/10 1173s ok 1679 /checksum/SHA512/reset/11 1173s ok 1680 /checksum/SHA512/reset/12 1173s ok 1681 /checksum/SHA512/reset/13 1173s ok 1682 /checksum/SHA512/reset/14 1173s ok 1683 /checksum/SHA512/reset/15 1173s ok 1684 /checksum/SHA512/reset/16 1173s ok 1685 /checksum/SHA512/reset/17 1173s ok 1686 /checksum/SHA512/reset/18 1173s ok 1687 /checksum/SHA512/reset/19 1173s ok 1688 /checksum/SHA512/reset/20 1173s ok 1689 /checksum/SHA512/reset/21 1173s ok 1690 /checksum/SHA512/reset/22 1173s ok 1691 /checksum/SHA512/reset/23 1173s ok 1692 /checksum/SHA512/reset/24 1173s ok 1693 /checksum/SHA512/reset/25 1173s ok 1694 /checksum/SHA512/reset/26 1173s ok 1695 /checksum/SHA512/reset/27 1173s ok 1696 /checksum/SHA512/reset/28 1173s ok 1697 /checksum/SHA512/reset/29 1173s ok 1698 /checksum/SHA512/reset/30 1173s ok 1699 /checksum/SHA512/reset/31 1173s ok 1700 /checksum/SHA512/reset/32 1173s ok 1701 /checksum/SHA512/reset/33 1173s ok 1702 /checksum/SHA512/reset/34 1173s ok 1703 /checksum/SHA512/reset/35 1173s ok 1704 /checksum/SHA512/reset/36 1173s ok 1705 /checksum/SHA512/reset/37 1173s ok 1706 /checksum/SHA512/reset/38 1173s ok 1707 /checksum/SHA512/reset/39 1173s ok 1708 /checksum/SHA512/reset/40 1173s ok 1709 /checksum/SHA512/reset/41 1173s ok 1710 /checksum/SHA512/reset/42 1173s ok 1711 /checksum/SHA512/reset/43 1173s ok 1712 /checksum/SHA512/reset/44 1173s ok 1713 /checksum/SHA512/reset/45 1173s ok 1714 /checksum/SHA512/reset/46 1173s ok 1715 /checksum/SHA512/reset/47 1173s ok 1716 /checksum/SHA512/reset/48 1173s ok 1717 /checksum/SHA512/reset/49 1173s ok 1718 /checksum/SHA512/reset/50 1173s ok 1719 /checksum/SHA512/reset/51 1173s ok 1720 /checksum/SHA512/reset/52 1173s ok 1721 /checksum/SHA512/reset/53 1173s ok 1722 /checksum/SHA512/reset/54 1173s ok 1723 /checksum/SHA512/reset/55 1173s ok 1724 /checksum/SHA512/reset/56 1173s ok 1725 /checksum/SHA512/reset/57 1173s ok 1726 /checksum/SHA512/reset/58 1173s ok 1727 /checksum/SHA512/reset/59 1173s ok 1728 /checksum/SHA512/reset/60 1173s ok 1729 /checksum/SHA512/reset/61 1173s ok 1730 /checksum/SHA512/reset/62 1173s ok 1731 /checksum/SHA512/reset/63 1173s ok 1732 /checksum/SHA512/reset/64 1173s ok 1733 /checksum/SHA512/reset/65 1173s ok 1734 /checksum/SHA512/reset/66 1173s ok 1735 /checksum/SHA512/reset/67 1173s ok 1736 /checksum/SHA512/reset/68 1173s ok 1737 /checksum/SHA512/reset/69 1173s ok 1738 /checksum/SHA512/reset/70 1173s ok 1739 /checksum/SHA512/reset/71 1173s ok 1740 /checksum/SHA512/reset/72 1173s ok 1741 /checksum/SHA512/reset/73 1173s ok 1742 /checksum/SHA512/reset/74 1173s ok 1743 /checksum/SHA512/reset/75 1173s ok 1744 /checksum/SHA512/reset/76 1173s ok 1745 /checksum/SHA512/reset/77 1173s ok 1746 /checksum/SHA512/reset/78 1173s ok 1747 /checksum/SHA512/reset/79 1173s ok 1748 /checksum/SHA512/reset/80 1173s ok 1749 /checksum/SHA512/reset/81 1173s ok 1750 /checksum/SHA512/reset/82 1173s ok 1751 /checksum/SHA512/reset/83 1173s ok 1752 /checksum/SHA512/reset/84 1173s ok 1753 /checksum/SHA512/reset/85 1173s ok 1754 /checksum/SHA512/reset/86 1173s ok 1755 /checksum/SHA512/reset/87 1173s ok 1756 /checksum/SHA512/reset/88 1173s ok 1757 /checksum/SHA512/reset/89 1173s ok 1758 /checksum/SHA512/reset/90 1173s ok 1759 /checksum/SHA512/reset/91 1173s ok 1760 /checksum/SHA512/reset/92 1173s ok 1761 /checksum/SHA512/reset/93 1173s ok 1762 /checksum/SHA512/reset/94 1173s ok 1763 /checksum/SHA512/reset/95 1173s ok 1764 /checksum/SHA512/reset/96 1173s ok 1765 /checksum/SHA512/reset/97 1173s ok 1766 /checksum/SHA512/reset/98 1173s ok 1767 /checksum/SHA512/reset/99 1173s ok 1768 /checksum/SHA512/reset/100 1173s ok 1769 /checksum/SHA512/reset/101 1173s ok 1770 /checksum/SHA512/reset/102 1173s ok 1771 /checksum/SHA512/reset/103 1173s ok 1772 /checksum/SHA512/reset/104 1173s ok 1773 /checksum/SHA512/reset/105 1173s ok 1774 /checksum/SHA512/reset/106 1173s ok 1775 /checksum/SHA512/reset/107 1173s ok 1776 /checksum/SHA512/reset/108 1173s ok 1777 /checksum/SHA512/reset/109 1173s ok 1778 /checksum/SHA512/reset/110 1173s ok 1779 /checksum/SHA512/reset/111 1173s ok 1780 /checksum/SHA512/reset/112 1173s ok 1781 /checksum/SHA512/reset/113 1173s ok 1782 /checksum/SHA512/reset/114 1173s ok 1783 /checksum/SHA512/reset/115 1173s ok 1784 /checksum/SHA512/reset/116 1173s ok 1785 /checksum/SHA512/reset/117 1173s ok 1786 /checksum/SHA512/reset/118 1173s ok 1787 /checksum/SHA512/reset/119 1173s ok 1788 /checksum/SHA512/reset/120 1173s ok 1789 /checksum/SHA512/reset/121 1173s ok 1790 /checksum/SHA512/reset/122 1173s ok 1791 /checksum/SHA512/reset/123 1173s ok 1792 /checksum/SHA512/reset/124 1173s ok 1793 /checksum/SHA512/reset/125 1173s ok 1794 /checksum/SHA512/reset/126 1173s ok 1795 /checksum/SHA512/reset/127 1173s ok 1796 /checksum/SHA512/reset/128 1173s ok 1797 /checksum/SHA512/reset/129 1173s ok 1798 /checksum/SHA512/reset/130 1173s ok 1799 /checksum/SHA512/reset/131 1173s ok 1800 /checksum/SHA512/reset/132 1173s ok 1801 /checksum/SHA512/reset/133 1173s ok 1802 /checksum/SHA512/reset/134 1173s ok 1803 /checksum/SHA512/reset/135 1173s ok 1804 /checksum/SHA512/reset/136 1173s ok 1805 /checksum/SHA512/reset/137 1173s ok 1806 /checksum/SHA512/reset/138 1173s ok 1807 /checksum/SHA512/reset/139 1173s ok 1808 /checksum/SHA512/reset/140 1173s ok 1809 /checksum/SHA512/reset/141 1173s ok 1810 /checksum/SHA512/reset/142 1173s ok 1811 /checksum/SHA512/reset/143 1173s ok 1812 /checksum/SHA512/reset/144 1173s ok 1813 /checksum/SHA512/reset/145 1173s ok 1814 /checksum/SHA512/reset/146 1173s ok 1815 /checksum/SHA512/reset/147 1173s ok 1816 /checksum/SHA512/reset/148 1173s ok 1817 /checksum/SHA512/reset/149 1173s ok 1818 /checksum/SHA512/reset/150 1173s ok 1819 /checksum/SHA512/reset/151 1173s ok 1820 /checksum/SHA512/reset/152 1173s ok 1821 /checksum/SHA512/reset/153 1173s ok 1822 /checksum/SHA512/reset/154 1173s ok 1823 /checksum/SHA512/reset/155 1173s ok 1824 /checksum/SHA512/reset/156 1173s ok 1825 /checksum/SHA512/reset/157 1173s ok 1826 /checksum/SHA512/reset/158 1173s ok 1827 /checksum/SHA512/reset/159 1173s ok 1828 /checksum/SHA512/reset/160 1173s ok 1829 /checksum/SHA512/reset/161 1173s ok 1830 /checksum/SHA512/reset/162 1173s ok 1831 /checksum/SHA512/reset/163 1173s ok 1832 /checksum/SHA512/reset/164 1173s ok 1833 /checksum/SHA512/reset/165 1173s ok 1834 /checksum/SHA512/reset/166 1173s ok 1835 /checksum/SHA512/reset/167 1173s ok 1836 /checksum/SHA512/reset/168 1173s ok 1837 /checksum/SHA512/reset/169 1173s ok 1838 /checksum/SHA512/reset/170 1173s ok 1839 /checksum/SHA512/reset/171 1173s ok 1840 /checksum/SHA512/reset/172 1173s ok 1841 /checksum/SHA512/reset/173 1173s ok 1842 /checksum/SHA512/reset/174 1173s ok 1843 /checksum/SHA512/reset/175 1173s ok 1844 /checksum/SHA512/reset/176 1173s ok 1845 /checksum/SHA512/reset/177 1173s ok 1846 /checksum/SHA512/reset/178 1173s ok 1847 /checksum/SHA512/reset/179 1173s ok 1848 /checksum/SHA512/reset/180 1173s ok 1849 /checksum/SHA512/reset/181 1173s ok 1850 /checksum/SHA512/reset/182 1173s ok 1851 /checksum/SHA512/reset/183 1173s # End of reset tests 1173s # End of SHA512 tests 1173s # End of checksum tests 1173s TAP version 14 1173s # random seed: R02Sf55b23e0712a76a02794ef806285807d 1173s 1..3 1173s # Start of pathbuf tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_97AAK3/pathbuf/init/.dirs/runtime 1173s # Initializing empty path buf 1173s # Initializing with empty path 1173s # Initializing with full path 1173s # Initializing with no path 1173s # Allocating GPathBuf on the heap 1173s ok 1 /pathbuf/init 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_97AAK3/pathbuf/push-pop/.dirs/runtime 1173s # Pushing relative path component 1173s # Pushing absolute path component 1173s # Popping a path component 1173s # Can't pop the last element of a path buffer 1173s ok 2 /pathbuf/push-pop 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_97AAK3/pathbuf/filename-extension/.dirs/runtime 1173s ok 3 /pathbuf/filename-extension 1173s # End of pathbuf tests 1173s TAP version 14 1173s # random seed: R02S45da00c9d90557e9a479196c499e8381 1173s 1..9 1173s # Start of glib tests 1173s # Start of testing tests 1173s # Start of protocol tests 1173s ok 1 /glib/testing/protocol/debug 1173s ok 2 /glib/testing/protocol/info 1173s ok 3 /glib/testing/protocol/message 1173s ok 4 /glib/testing/protocol/warning 1173s ok 5 /glib/testing/protocol/critical 1173s ok 6 /glib/testing/protocol/error 1173s ok 7 /glib/testing/protocol/gtest-message 1173s ok 8 /glib/testing/protocol/test-message 1173s ok - glib/checksum.test 1173s # Running test: glib/pathbuf.test 1173s ok - glib/pathbuf.test 1173s # Running test: glib/protocol.test 1173s ok 9 /glib/testing/protocol/test-error 1173s # End of protocol tests 1173s # End of testing tests 1173s # End of glib tests 1173s TAP version 14 1173s # random seed: R02Se20f47ce0fba10be3dbd46df2be2f3d0 1173s 1..41 1173s # Start of utils tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/language-names/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/language-names/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/language-names/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/language-names/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/language-names/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/language-names/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/language-names/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/language-names/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/language-names/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/language-names/.dirs/runtime 1173s ok 1 /utils/language-names 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/locale-variants/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/locale-variants/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/locale-variants/.dirs/runtime 1173s # Testing locale ‘en’ 1173s # Testing locale ‘sr@latin’ 1173s # Testing locale ‘fr_BE’ 1173s # Testing locale ‘sr_SR@latin’ 1173s # Testing locale ‘sr_SR@latin.UTF-8’ 1173s # Testing locale ‘sr@latin_invalid’ 1173s # Testing locale ‘sr.UTF-8@latin’ 1173s # Testing locale ‘sr.UTF-8_latin’ 1173s # Testing locale ‘sr.UTF-8@latin_invalid’ 1173s ok 2 /utils/locale-variants 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/version/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/version/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/version/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/version/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/version/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/version/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/version/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/version/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/version/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/version/.dirs/runtime 1173s ok 3 /utils/version 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/appname/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/appname/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/appname/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/appname/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/appname/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/appname/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/appname/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/appname/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/appname/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/appname/.dirs/runtime 1173s ok 4 /utils/appname 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/prgname-thread-safety/.dirs/runtime 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1173s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1173s ok - glib/protocol.test 1173s # Running test: glib/utils.test 1173s ok 5 /utils/prgname-thread-safety 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/tmpdir/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/tmpdir/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/tmpdir/.dirs/runtime 1173s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1173s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/tmpdir: No such file or directory 1173s ok 6 /utils/tmpdir 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/basic_bits/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/basic_bits/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/basic_bits/.dirs/runtime 1173s ok 7 /utils/basic_bits 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/bits/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/bits/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/bits/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/bits/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/bits/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/bits/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/bits/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/bits/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/bits/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/bits/.dirs/runtime 1173s ok 8 /utils/bits 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/swap/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/swap/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/swap/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/swap/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/swap/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/swap/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/swap/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/swap/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/swap/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/swap/.dirs/runtime 1173s ok 9 /utils/swap 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/find-program/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/find-program/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/find-program/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/find-program/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/find-program/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/find-program/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/find-program/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/find-program/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/find-program/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/find-program/.dirs/runtime 1173s ok 10 /utils/find-program 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/find-program-for-path/.dirs/runtime 1173s ok 11 /utils/find-program-for-path 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/debug/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/debug/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/debug/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/debug/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/debug/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/debug/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/debug/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/debug/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/debug/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/debug/.dirs/runtime 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/debug: No such file or directory 1173s ok 12 /utils/debug 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/codeset/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/codeset/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/codeset/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/codeset/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/codeset/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/codeset/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/codeset/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/codeset/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/codeset/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/codeset/.dirs/runtime 1173s ok 13 /utils/codeset 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/codeset2/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/codeset2/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/codeset2/.dirs/runtime 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/codeset2: No such file or directory 1173s ok 14 /utils/codeset2 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/console-charset/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/console-charset/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/console-charset/.dirs/runtime 1173s ok 15 /utils/console-charset 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/gettext/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/gettext/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/gettext/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/gettext/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/gettext/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/gettext/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/gettext/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/gettext/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/gettext/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/gettext/.dirs/runtime 1173s ok 16 /utils/gettext 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/username/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/username/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/username/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/username/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/username/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/username/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/username/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/username/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/username/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/username/.dirs/runtime 1173s ok 17 /utils/username 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/realname/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/realname/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/realname/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/realname/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/realname/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/realname/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/realname/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/realname/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/realname/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/realname/.dirs/runtime 1173s ok 18 /utils/realname 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/hostname/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/hostname/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/hostname/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/hostname/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/hostname/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/hostname/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/hostname/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/hostname/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/hostname/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/hostname/.dirs/runtime 1173s ok 19 /utils/hostname 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/os-info/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/os-info/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/os-info/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/os-info/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/os-info/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/os-info/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/os-info/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/os-info/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/os-info/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/os-info/.dirs/runtime 1173s # NAME: Ubuntu 1173s ok 20 /utils/os-info 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-pointer/.dirs/runtime 1173s ok 21 /utils/clear-pointer 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-pointer-cast/.dirs/runtime 1173s ok 22 /utils/clear-pointer-cast 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/take-pointer/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/take-pointer/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/take-pointer/.dirs/runtime 1173s ok 23 /utils/take-pointer 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-source/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-source/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-source/.dirs/runtime 1173s ok 24 /utils/clear-source 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/misc-mem/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/misc-mem/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/misc-mem/.dirs/runtime 1173s ok 25 /utils/misc-mem 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/aligned-mem/.dirs/runtime 1173s # /utils/aligned-mem summary: Aligned memory allocator 1173s # Alignment must not be zero 1173s # Alignment must be a power of two 1173s # Alignment must be a multiple of sizeof(void*) 1173s ok 26 /utils/aligned-mem 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/free-sized/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/free-sized/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/free-sized/.dirs/runtime 1173s # /utils/free-sized summary: Check that g_free_sized() works 1173s ok 27 /utils/free-sized 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/nullify/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/nullify/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/nullify/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/nullify/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/nullify/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/nullify/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/nullify/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/nullify/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/nullify/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/nullify/.dirs/runtime 1173s ok 28 /utils/nullify 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/atexit/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/atexit/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/atexit/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/atexit/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/atexit/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/atexit/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/atexit/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/atexit/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/atexit/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/atexit/.dirs/runtime 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/atexit: No such file or directory 1173s ok 29 /utils/atexit 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/check-setuid/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/check-setuid/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/check-setuid/.dirs/runtime 1173s ok 30 /utils/check-setuid 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/int-limits/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/int-limits/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/int-limits/.dirs/runtime 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1173s ok 31 /utils/int-limits 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-list/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-list/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-list/.dirs/runtime 1173s ok 32 /utils/clear-list 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-slist/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-slist/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-slist/.dirs/runtime 1173s ok 33 /utils/clear-slist 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/steal-handle-id/.dirs/runtime 1173s ok 34 /utils/steal-handle-id 1173s # Start of user-special-dirs tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/user-special-dirs/desktop/.dirs/runtime 1173s ok 35 /utils/user-special-dirs/desktop 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1173s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/user-special-dirs/load-unlocked: No such file or directory 1173s ok 36 /utils/user-special-dirs/load-unlocked 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1173s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1173s Unable to clean up temporary directory /tmp/test_utils_8X69J3/utils/user-special-dirs/reload-leaks: No such file or directory 1173s ok 37 /utils/user-special-dirs/reload-leaks 1173s # End of user-special-dirs tests 1173s # Start of clear-pointer tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/clear-pointer/side-effects/.dirs/runtime 1173s ok 38 /utils/clear-pointer/side-effects 1173s # End of clear-pointer tests 1173s # Start of aligned-mem tests 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/aligned-mem/alignment/.dirs/runtime 1173s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1173s ok 39 /utils/aligned-mem/alignment 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/aligned-mem/zeroed/.dirs/runtime 1173s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1173s ok 40 /utils/aligned-mem/zeroed 1173s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/home 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/cache 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/system-config2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/config 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/system-data2 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/data 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/state 1173s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_8X69J3/utils/aligned-mem/free-sized/.dirs/runtime 1173s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1173s ok 41 /utils/aligned-mem/free-sized 1173s # Start of subprocess tests 1173s # End of subprocess tests 1173s # End of aligned-mem tests 1173s # End of utils tests 1173s ok - glib/utils.test 1173s # Running test: glib/tree.test 1173s TAP version 14 1173s # random seed: R02S4792320734e8e5b2225f59b969f9a25f 1173s 1..7 1173s # Start of tree tests 1173s ok 1 /tree/search 1173s ok 2 /tree/remove 1173s ok 3 /tree/destroy 1173s ok 4 /tree/traverse 1173s ok 5 /tree/insert 1173s ok 6 /tree/bounds 1173s ok 7 /tree/remove-all 1173s # End of tree tests 1173s ok - glib/tree.test 1173s # Running test: glib/socket-listener.test 1173s TAP version 14 1173s # random seed: R02S2727642c495f15bd87aced51291b53ef 1173s 1..4 1173s # Start of socket-listener tests 1173s ok 1 /socket-listener/event-signal 1173s # Start of accept tests 1173s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1173s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1173s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1480a20aa510 and GSocketClientAsyncConnectData 0x1480a20a5970 1173s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1173s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1480a20acb60 and GSocketClientAsyncConnectData 0x1480a20ac9b0 1173s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1173s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1480a20ad380 and GSocketClientAsyncConnectData 0x1480a20ad100 1173s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1173s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1480a20adc00 and GSocketClientAsyncConnectData 0x1480a20ad980 1173s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1173s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1480a20ae420 and GSocketClientAsyncConnectData 0x1480a20ae1a0 1173s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1173s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1173s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1480a20b0970 for GSocketClientAsyncConnectData 0x1480a20a5970 1173s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1173s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1173s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1480a20b2ae0 for GSocketClientAsyncConnectData 0x1480a20ac9b0 1173s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1173s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1173s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1480a20b3290 for GSocketClientAsyncConnectData 0x1480a20ad100 1173s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1173s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1173s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1480a20b3930 for GSocketClientAsyncConnectData 0x1480a20ad980 1173s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1173s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1173s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1480a20b3e50 for GSocketClientAsyncConnectData 0x1480a20ae1a0 1173s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1173s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1173s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1173s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1173s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1173s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1173s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1173s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1173s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1173s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1173s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1173s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1173s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1173s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1173s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1173s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1173s ok 2 /socket-listener/accept/multi-simultaneously 1173s # End of accept tests 1173s # Start of add-any-inet-port tests 1173s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1173s # Test 0 1173s # Test 1 1173s # Test 2 1173s # Test 3 1173s # Test 4 1173s # Test 5 1173s # Test 6 1173s # Test 7 1173s # Test 8 1173s # Test 9 1173s # Test 10 1173s ok 3 /socket-listener/add-any-inet-port/listen-failures 1173s # End of add-any-inet-port tests 1173s # Start of add-inet-port tests 1173s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1173s # Test 0 1173s # Test 1 1173s # Test 2 1173s # Test 3 1173s # Test 4 1173s # Test 5 1173s # Test 6 1173s # Test 7 1173s # Test 8 1173s # Test 9 1173s # Test 10 1173s ok 4 /socket-listener/add-inet-port/listen-failures 1173s # End of add-inet-port tests 1173s # End of socket-listener tests 1173s TAP version 14 1173s # random seed: R02S52e779fa02064bf89bc35e084fda6424 1173s 1..18 1173s # Start of cancellable tests 1173s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1173s ok 2 /cancellable/null 1173s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1173s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1173s ok 4 /cancellable/connect-to-disposing-callback 1173s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 1 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 0 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 1 1173s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1173s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1173s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1173s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 1 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 0 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 1 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 0 1173s # Toggle reference callback for GCancellable (0x1ac7ba46ec00), last: 1 1173s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1173s # /cancellable/disconnect-on-cancelled-callback-hangs summary: Tests that trying to disconnect a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1173s ok - glib/socket-listener.test 1173s # Running test: glib/cancellable.test 1173s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1173s # /cancellable/resets-on-cancel-callback-hangs summary: Tests that trying to reset a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1173s ok 11 /cancellable/resets-on-cancel-callback-hangs 1173s ok 12 /cancellable/poll-fd 1173s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1173s ok 13 /cancellable/poll-fd-cancelled 1173s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1173s ok 14 /cancellable/poll-fd-cancelled-threaded 1173s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1173s ok 15 /cancellable/cancel-reset-races 1173s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1173s ok 16 /cancellable/cancel-reset-connect-races 1173s # End of cancellable tests 1173s # Start of cancellable-source tests 1173s # /cancellable-source/threaded-dispose summary: Test a thread race between disposing of a GCancellableSource (in one thread) and cancelling the GCancellable it refers to (in another thread) 1173s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1174s ok 17 /cancellable-source/threaded-dispose 1174s # slow test /cancellable-source/threaded-dispose executed in 0.85 secs 1174s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1174s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1174s ok 18 /cancellable-source/can-be-fired-multiple-times 1174s # End of cancellable-source tests 1174s TAP version 14 1174s # random seed: R02S9150e9ee7d3bb3557648c2a5a6d4f1d0 1174s 1..1 1174s # Start of gobject tests 1174s # Start of refcount tests 1174s # init 0xac53d2cdb90 1174s # 1174s ok - glib/cancellable.test 1174s # Running test: glib/objects-refcount2.test 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # Executing: glib/objects-refcount2.test 1177s # . 1177s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1180s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1181s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # . 1182s # Executing: glib/objects-refcount2.test 1182s # . 1182s # . 1182s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1183s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1184s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1185s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1186s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # . 1187s # Executing: glib/objects-refcount2.test 1187s # . 1187s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1188s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1190s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1191s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # . 1192s # Executing: glib/objects-refcount2.test 1192s # . 1192s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1193s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1194s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1195s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1196s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # . 1197s # Executing: glib/objects-refcount2.test 1197s # . 1197s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1198s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1199s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1200s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1201s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # . 1202s # Executing: glib/objects-refcount2.test 1202s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1203s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1204s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1205s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1206s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # . 1207s # Executing: glib/objects-refcount2.test 1207s # . 1207s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1208s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1209s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1210s # . 1211s # . 1211s ok - glib/objects-refcount2.test 1211s # Running test: glib/gdbus-address-get-session.test 1211s # . 1211s # dispose 0xac53d2cdb90! 1211s # 1211s ok 1 /gobject/refcount/object-advanced 1211s # slow test /gobject/refcount/object-advanced executed in 36.25 secs 1211s # End of refcount tests 1211s # End of gobject tests 1211s TAP version 14 1211s # random seed: R02S160db73819bb0669de1d727fa1e1c696 1211s 1..2 1211s # Start of gdbus tests 1211s ok 1 /gdbus/x11-autolaunch 1211s ok - glib/gdbus-address-get-session.test 1211s ok 2 /gdbus/xdg-runtime 1211s # End of gdbus tests 1211s # Running test: glib/g-icon.test 1211s TAP version 14 1211s # random seed: R02Sf73c41ff98c724307f0f3bbc59e97bf6 1211s 1..7 1211s # Start of icons tests 1211s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1211s ok 1 /icons/to-string 1211s ok 2 /icons/serialize 1211s ok - glib/g-icon.test 1211s # Running test: glib/dataset.test 1211s ok - glib/dataset.test 1211s # Running test: glib/markup.test 1211s ok - glib/markup.test 1211s # Running test: glib/autoptr.test 1211s ok - glib/autoptr.test 1211s # Running test: glib/gsubprocess.test 1211s ok 3 /icons/themed 1211s ok 4 /icons/emblemed 1211s ok 5 /icons/file 1211s ok 6 /icons/bytes 1211s # Start of emblem tests 1211s ok 7 /icons/emblem/parsing 1211s # End of emblem tests 1211s # End of icons tests 1211s TAP version 14 1211s # random seed: R02Se113a6625f324db745f339fd23ef63a1 1211s 1..15 1211s # Start of quark tests 1211s ok 1 /quark/basic 1211s ok 2 /quark/string 1211s # End of quark tests 1211s # Start of dataset tests 1211s ok 3 /dataset/basic 1211s ok 4 /dataset/id 1211s ok 5 /dataset/full 1211s ok 6 /dataset/foreach 1211s ok 7 /dataset/destroy 1211s # End of dataset tests 1211s # Start of datalist tests 1211s ok 8 /datalist/id 1211s ok 9 /datalist/recursive-clear 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1211s ok 10 /datalist/id-remove-multiple 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1211s ok 11 /datalist/id-remove-multiple-destroy-order 1211s ok 12 /datalist/update-atomic 1211s # Start of basic tests 1211s ok 13 /datalist/basic/few 1211s ok 14 /datalist/basic/many 1211s # End of basic tests 1211s # Start of id-remove-multiple tests 1211s ok 15 /datalist/id-remove-multiple/resize 1211s # End of id-remove-multiple tests 1211s # End of datalist tests 1211s TAP version 14 1211s # random seed: R02S75985193d4662dff443edb569452aca5 1211s 1..1 1211s # Start of markup tests 1211s ok 1 /markup/stack 1211s # End of markup tests 1211s TAP version 14 1211s # random seed: R02Sb58a468c7d241f6e193061e4878e7bdb 1211s 1..6 1211s # Start of autoptr tests 1211s ok 1 /autoptr/autoptr 1211s ok 2 /autoptr/autoptr_steal 1211s ok 3 /autoptr/autolist 1211s ok 4 /autoptr/autoslist 1211s ok 5 /autoptr/autoqueue 1211s ok 6 /autoptr/autoclass 1211s # End of autoptr tests 1211s TAP version 14 1211s # random seed: R02S777d90a7cdc7140399850f741834f0ef 1211s 1..84 1211s # Start of gsubprocess tests 1211s ok 1 /gsubprocess/noop 1211s ok 2 /gsubprocess/noop-all-to-null 1211s ok 3 /gsubprocess/noop-no-wait 1211s ok 4 /gsubprocess/noop-stdin-inherit 1211s ok 5 /gsubprocess/search-path 1211s ok 6 /gsubprocess/search-path-from-envp 1212s # Executing: glib/gsubprocess.test 1213s ok 7 /gsubprocess/signal 1213s # slow test /gsubprocess/signal executed in 2.84 secs 1213s ok 8 /gsubprocess/exit1 1213s ok 9 /gsubprocess/echo1 1213s ok 10 /gsubprocess/echo-merged 1213s ok 11 /gsubprocess/cat-utf8 1214s ok 12 /gsubprocess/cat-eof 1214s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1217s # Executing: glib/gsubprocess.test 1217s ok 13 /gsubprocess/multi1 1217s # slow test /gsubprocess/multi1 executed in 3.01 secs 1217s ok 14 /gsubprocess/communicate 1220s ok 15 /gsubprocess/terminate 1220s # slow test /gsubprocess/terminate executed in 2.97 secs 1220s ok 16 /gsubprocess/fail-initialization 1220s ok 17 /gsubprocess/env 1220s ok 18 /gsubprocess/cwd 1220s ok 19 /gsubprocess/launcher-close 1220s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1220s ok 20 /gsubprocess/stdout-file 1220s ok 21 /gsubprocess/stdout-fd 1220s ok 22 /gsubprocess/child-setup 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s ok 23 /gsubprocess/launcher-environment 1220s # Start of exit1 tests 1220s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1220s ok 24 /gsubprocess/exit1/cancel 1220s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1220s ok 25 /gsubprocess/exit1/cancel_in_cb 1220s # End of exit1 tests 1220s # Start of communicate tests 1220s ok 26 /gsubprocess/communicate/cancelled 1220s ok 27 /gsubprocess/communicate/async 1220s ok 28 /gsubprocess/communicate/utf8 1220s # hello world 1220s ok 29 /gsubprocess/communicate/no-pipes 1220s ok 30 /gsubprocess/communicate/separate-stderr 1220s ok 31 /gsubprocess/communicate/stdout-only 1220s # hello world 1220s ok 32 /gsubprocess/communicate/stderr-only 1220s ok 33 /gsubprocess/communicate/stdout-silence 1220s ok 34 /gsubprocess/communicate/nothing 1220s # Start of async tests 1220s ok 35 /gsubprocess/communicate/async/cancelled 1220s # hello world 1220s ok 36 /gsubprocess/communicate/async/no-pipes 1220s ok 37 /gsubprocess/communicate/async/separate-stderr 1220s ok 38 /gsubprocess/communicate/async/stdout-only 1220s # hello world 1220s ok 39 /gsubprocess/communicate/async/stderr-only 1220s ok 40 /gsubprocess/communicate/async/stdout-silence 1220s # Start of cancelled tests 1220s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1220s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1220s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1220s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1220s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1220s # End of cancelled tests 1220s # End of async tests 1220s # Start of utf8 tests 1220s ok 46 /gsubprocess/communicate/utf8/cancelled 1220s ok 47 /gsubprocess/communicate/utf8/async 1220s # hello world 1220s ok 48 /gsubprocess/communicate/utf8/no-pipes 1220s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1220s ok 50 /gsubprocess/communicate/utf8/stdout-only 1220s # hello world 1220s ok 51 /gsubprocess/communicate/utf8/stderr-only 1220s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1221s ok 53 /gsubprocess/communicate/utf8/invalid 1221s # Start of async tests 1221s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1221s # hello world 1221s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1221s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1221s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1221s # hello world 1221s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1221s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1221s ok 60 /gsubprocess/communicate/utf8/async/invalid 1221s # Start of cancelled tests 1221s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1221s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1221s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1221s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1221s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1221s # End of cancelled tests 1221s # End of async tests 1221s # Start of cancelled tests 1221s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1221s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1221s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1221s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1221s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1221s # End of cancelled tests 1221s # End of utf8 tests 1221s # Start of cancelled tests 1221s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1221s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1221s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1221s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1221s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1221s # End of cancelled tests 1221s # End of communicate tests 1221s # Start of env tests 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s ok 76 /gsubprocess/env/inherit 1221s # End of env tests 1221s # Start of pass-fd tests 1221s ok 77 /gsubprocess/pass-fd/basic 1221s ok 78 /gsubprocess/pass-fd/empty-child-setup 1221s ok 79 /gsubprocess/pass-fd/inherit-fds 1221s # End of pass-fd tests 1221s # Start of fd-conflation tests 1221s ok 80 /gsubprocess/fd-conflation/basic 1221s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1221s ok 82 /gsubprocess/fd-conflation/inherit-fds 1221s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1221s # End of fd-conflation tests 1221s # Start of exit-status tests 1221s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1221s ok 84 /gsubprocess/exit-status/trapped 1221s # End of exit-status tests 1221s # End of gsubprocess tests 1221s ok - glib/gsubprocess.test 1221s # Running test: glib/error.test 1221s ok - glib/error.test 1221s # Running test: glib/macros-c-23.test 1221s ok - glib/macros-c-23.test 1221s # Running test: glib/memory-monitor-psi.test 1221s ok - glib/memory-monitor-psi.test 1221s TAP version 14 1221s # random seed: R02S623e4906c39e792b99de6b08eaa4f5ec 1221s 1..3 1221s # Start of error tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V82MK3/error/from-errno/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V82MK3/error/from-errno/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V82MK3/error/from-errno/.dirs/system-config1:/tmp/test_error_V82MK3/error/from-errno/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V82MK3/error/from-errno/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V82MK3/error/from-errno/.dirs/system-data1:/tmp/test_error_V82MK3/error/from-errno/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V82MK3/error/from-errno/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V82MK3/error/from-errno/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V82MK3/error/from-errno/.dirs/runtime 1221s ok 1 /error/from-errno 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V82MK3/error/from-file-error/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V82MK3/error/from-file-error/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V82MK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_V82MK3/error/from-file-error/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V82MK3/error/from-file-error/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V82MK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_V82MK3/error/from-file-error/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V82MK3/error/from-file-error/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V82MK3/error/from-file-error/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V82MK3/error/from-file-error/.dirs/runtime 1221s ok 2 /error/from-file-error 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_V82MK3/error/from-win32-error/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_V82MK3/error/from-win32-error/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V82MK3/error/from-win32-error/.dirs/runtime 1221s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1221s # End of error tests 1221s TAP version 14 1221s # random seed: R02Sffa9c7eec4d1976d647b459c714b5f36 1221s 1..4 1221s # Start of C tests 1221s # G_C_STD_VERSION is 202311 1221s ok 1 /C/standard-23 1221s # End of C tests 1221s # Start of alignof tests 1221s ok 2 /alignof/fallback 1221s # End of alignof tests 1221s # Start of assert tests 1221s ok 3 /assert/static 1221s # End of assert tests 1221s # Start of struct tests 1221s ok 4 /struct/sizeof_member 1221s # End of struct tests 1221s TAP version 14 1221s # random seed: R02S81d26abc8d8c7b412aea1c70272f1e5f 1221s 1..1 1221s # Start of memory-monitor-psi tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_GAVMK3/memory-monitor-psi/receive-signal/.dirs/runtime 1221s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1221s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1221s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1221s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1221s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1221s ok 1 /memory-monitor-psi/receive-signal 1221s # End of memory-monitor-psi tests 1221s # Running test: glib/singleton.test 1221s TAP version 14 1221s # random seed: R02S1abb48ad579b14e9c82b5dda41683a9b 1221s 1..2 1221s # Start of gobject tests 1221s # Start of singleton tests 1221s ok 1 /gobject/singleton/construction 1221s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1221s ok 2 /gobject/singleton/construct-property 1221s # End of singleton tests 1221s # End of gobject tests 1221s ok - glib/singleton.test 1221s # Running test: glib/stream-rw_all.test 1221s TAP version 14 1221s # random seed: R02S5897d0c3340b701ad5aeb9a96143da80 1221s 1..3 1221s # Start of stream tests 1221s # Start of read_all_async tests 1221s ok 1 /stream/read_all_async/memory 1221s # End of read_all_async tests 1221s # Start of write_all_async tests 1221s ok 2 /stream/write_all_async/memory 1221s # End of write_all_async tests 1221s # Start of read_write_all_async tests 1221s ok 3 /stream/read_write_all_async/pipe 1221s # End of read_write_all_async tests 1221s # End of stream tests 1221s ok - glib/stream-rw_all.test 1221s # Running test: glib/file-thumbnail.test 1221s TAP version 14 1221s # random seed: R02S9e78355957aaedc8de1647e747496edb 1221s 1..7 1221s # Start of file-thumbnail tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/runtime 1221s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 1 /file-thumbnail/fail 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 2 /file-thumbnail/size-priority 1221s # Start of valid tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 3 /file-thumbnail/valid/normal 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 4 /file-thumbnail/valid/large 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 5 /file-thumbnail/valid/x-large 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 6 /file-thumbnail/valid/xx-large 1221s # End of valid tests 1221s # Start of unknown tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/config 1221s ok - glib/file-thumbnail.test 1221s # Running test: glib/utils-c-17.test 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/runtime 1221s # Created test thumbnail at /tmp/test_file-thumbnail_HGWNK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1221s ok 7 /file-thumbnail/unknown/super-large 1221s # End of unknown tests 1221s # End of file-thumbnail tests 1221s TAP version 14 1221s # random seed: R02S00a8860c2be7a40d5c1caaacfb234294 1221s 1..41 1221s # Start of utils tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/language-names/.dirs/runtime 1221s ok 1 /utils/language-names 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/locale-variants/.dirs/runtime 1221s # Testing locale ‘en’ 1221s # Testing locale ‘sr@latin’ 1221s # Testing locale ‘fr_BE’ 1221s # Testing locale ‘sr_SR@latin’ 1221s # Testing locale ‘sr_SR@latin.UTF-8’ 1221s # Testing locale ‘sr@latin_invalid’ 1221s # Testing locale ‘sr.UTF-8@latin’ 1221s # Testing locale ‘sr.UTF-8_latin’ 1221s # Testing locale ‘sr.UTF-8@latin_invalid’ 1221s ok 2 /utils/locale-variants 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/version/.dirs/runtime 1221s ok 3 /utils/version 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/appname/.dirs/runtime 1221s ok 4 /utils/appname 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/prgname-thread-safety/.dirs/runtime 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1221s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1221s ok 5 /utils/prgname-thread-safety 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/tmpdir/.dirs/runtime 1221s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1221s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/tmpdir: No such file or directory 1221s ok 6 /utils/tmpdir 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/basic_bits/.dirs/runtime 1221s ok 7 /utils/basic_bits 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/bits/.dirs/runtime 1221s ok 8 /utils/bits 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/swap/.dirs/runtime 1221s ok 9 /utils/swap 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/find-program/.dirs/runtime 1221s ok 10 /utils/find-program 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/find-program-for-path/.dirs/runtime 1221s ok 11 /utils/find-program-for-path 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/debug/.dirs/runtime 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/debug: No such file or directory 1221s ok 12 /utils/debug 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/codeset/.dirs/runtime 1221s ok 13 /utils/codeset 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/codeset2/.dirs/runtime 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/codeset2: No such file or directory 1221s ok 14 /utils/codeset2 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/console-charset/.dirs/runtime 1221s ok 15 /utils/console-charset 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/gettext/.dirs/runtime 1221s ok 16 /utils/gettext 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/username/.dirs/runtime 1221s ok 17 /utils/username 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/realname/.dirs/runtime 1221s ok 18 /utils/realname 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/hostname/.dirs/runtime 1221s ok 19 /utils/hostname 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/os-info/.dirs/runtime 1221s # NAME: Ubuntu 1221s ok 20 /utils/os-info 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/.dirs/runtime 1221s ok 21 /utils/clear-pointer 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer-cast/.dirs/runtime 1221s ok 22 /utils/clear-pointer-cast 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/take-pointer/.dirs/runtime 1221s ok 23 /utils/take-pointer 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-source/.dirs/runtime 1221s ok 24 /utils/clear-source 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/misc-mem/.dirs/runtime 1221s ok 25 /utils/misc-mem 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/.dirs/runtime 1221s # /utils/aligned-mem summary: Aligned memory allocator 1221s # Alignment must not be zero 1221s # Alignment must be a power of two 1221s # Alignment must be a multiple of sizeof(void*) 1221s ok 26 /utils/aligned-mem 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/free-sized/.dirs/runtime 1221s # /utils/free-sized summary: Check that g_free_sized() works 1221s ok 27 /utils/free-sized 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/nullify/.dirs/runtime 1221s ok 28 /utils/nullify 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/atexit/.dirs/runtime 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/atexit: No such file or directory 1221s ok 29 /utils/atexit 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/system-config2 1221s ok - glib/utils-c-17.test 1221s # Running test: glib/hmac.test 1221s ok - glib/hmac.test 1221s # Running test: glib/file-enumerator.test 1221s ok - glib/file-enumerator.test 1221s # Running test: glib/utf8-pointer.test 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/check-setuid/.dirs/runtime 1221s ok 30 /utils/check-setuid 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/int-limits/.dirs/runtime 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1221s ok 31 /utils/int-limits 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-list/.dirs/runtime 1221s ok 32 /utils/clear-list 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-slist/.dirs/runtime 1221s ok 33 /utils/clear-slist 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/steal-handle-id/.dirs/runtime 1221s ok 34 /utils/steal-handle-id 1221s # Start of user-special-dirs tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/desktop/.dirs/runtime 1221s ok 35 /utils/user-special-dirs/desktop 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1221s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/load-unlocked: No such file or directory 1221s ok 36 /utils/user-special-dirs/load-unlocked 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1221s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1221s Unable to clean up temporary directory /tmp/test_utils-c-17_B7BOK3/utils/user-special-dirs/reload-leaks: No such file or directory 1221s ok 37 /utils/user-special-dirs/reload-leaks 1221s # End of user-special-dirs tests 1221s # Start of clear-pointer tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/clear-pointer/side-effects/.dirs/runtime 1221s ok 38 /utils/clear-pointer/side-effects 1221s # End of clear-pointer tests 1221s # Start of aligned-mem tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/alignment/.dirs/runtime 1221s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1221s ok 39 /utils/aligned-mem/alignment 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/zeroed/.dirs/runtime 1221s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1221s ok 40 /utils/aligned-mem/zeroed 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_B7BOK3/utils/aligned-mem/free-sized/.dirs/runtime 1221s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1221s ok 41 /utils/aligned-mem/free-sized 1221s # Start of subprocess tests 1221s # End of subprocess tests 1221s # End of aligned-mem tests 1221s # End of utils tests 1221s TAP version 14 1221s # random seed: R02S499fbb665a2e22ee2cac9763e2b1f26a 1221s 1..37 1221s # Start of hmac tests 1221s ok 1 /hmac/sha1-1 1221s ok 2 /hmac/sha1-2 1221s ok 3 /hmac/sha1-3 1221s ok 4 /hmac/sha1-4 1221s ok 5 /hmac/sha1-5 1221s ok 6 /hmac/sha1-6 1221s ok 7 /hmac/sha1-7 1221s ok 8 /hmac/sha256-1 1221s ok 9 /hmac/sha256-2 1221s ok 10 /hmac/sha256-3 1221s ok 11 /hmac/sha256-4 1221s ok 12 /hmac/sha256-5 1221s ok 13 /hmac/sha256-6 1221s ok 14 /hmac/sha384-1 1221s ok 15 /hmac/sha384-2 1221s ok 16 /hmac/sha384-3 1221s ok 17 /hmac/sha384-4 1221s ok 18 /hmac/sha384-5 1221s ok 19 /hmac/sha384-6 1221s ok 20 /hmac/sha512-1 1221s ok 21 /hmac/sha512-2 1221s ok 22 /hmac/sha512-3 1221s ok 23 /hmac/sha512-4 1221s ok 24 /hmac/sha512-5 1221s ok 25 /hmac/sha512-6 1221s ok 26 /hmac/md5-1 1221s ok 27 /hmac/md5-2 1221s ok 28 /hmac/md5-3 1221s ok 29 /hmac/md5-4 1221s ok 30 /hmac/md5-5 1221s ok 31 /hmac/md5-6 1221s ok 32 /hmac/md5-7 1221s ok 33 /hmac/ref-unref 1221s ok 34 /hmac/copy 1221s ok 35 /hmac/for-data 1221s ok 36 /hmac/for-string 1221s ok 37 /hmac/for-bytes 1221s # End of hmac tests 1221s TAP version 14 1221s # random seed: R02Sf8969a470a51e4e8e778c3bfed839c50 1221s 1..1 1221s # Start of file-enumerator tests 1221s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1221s ok 1 /file-enumerator/close-on-dispose 1221s # End of file-enumerator tests 1221s TAP version 14 1221s # random seed: R02S426ea276ff93be7c8927272e42680552 1221s 1..3 1221s # Start of utf8 tests 1221s ok - glib/utf8-pointer.test 1221s # Running test: glib/gapplication.test 1221s ok 1 /utf8/offsets 1221s # slow test /utf8/offsets executed in 0.77 secs 1221s ok 2 /utf8/lengths 1221s ok 3 /utf8/find 1221s # End of utf8 tests 1221s TAP version 14 1221s # random seed: R02S11fcdf0f4fb5c0f7a62e6ed6c40e2cdc 1221s 1..25 1221s # Start of gapplication tests 1221s ok 1 /gapplication/no-dbus 1221s ok 2 /gapplication/no-appid 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s ok 3 /gapplication/properties 1221s ok 4 /gapplication/app-id 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s ok 5 /gapplication/quit 1221s ok 6 /gapplication/registered 1221s ok 7 /gapplication/local-actions 1221s ok 8 /gapplication/local-command-line 1221s ok 9 /gapplication/resource-path 1221s ok 10 /gapplication/test-help 1221s ok 11 /gapplication/command-line-done 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 12 /gapplication/test-busy 1222s ok 13 /gapplication/test-handle-local-options1 1222s ok 14 /gapplication/test-handle-local-options2 1222s ok 15 /gapplication/test-handle-local-options3 1222s ok 16 /gapplication/api 1222s ok 17 /gapplication/version 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # launching subprocess 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 18 /gapplication/replace 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # launching subprocess 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 19 /gapplication/no-replace 1222s # slow test /gapplication/no-replace executed in 0.51 secs 1222s # Start of command-line tests 1222s # /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 1222s ok 20 /gapplication/command-line/arguments 1222s # End of command-line tests 1222s # Start of dbus tests 1222s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # Message 0 1222s # Message 1 1222s # Message 2 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 21 /gapplication/dbus/activate 1222s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # Message 0 1222s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1222s # Message 1 1222s # Message 2 1222s # Message 3 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 22 /gapplication/dbus/open 1222s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # Message 0 1222s # Message 1 1222s # Message 2 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 23 /gapplication/dbus/command-line 1222s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 24 /gapplication/dbus/command-line-done 1222s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # Message 0 1222s # Activating action 'undo' with no parameter 1222s # Message 1 1222s # Activating action 'lang' with parameter: 'spanish' 1222s # Message 2 1222s # Message 3 1222s # Message 4 1222s # Message 5 1222s # Message 6 1222s # Activating action 'multi' with parameter: ('first', 'second') 1222s # Message 7 1222s # Message 8 1222s # Activating action 'multi' with parameter: ('first', 'second') 1222s # Message 9 1222s # Message 10 1222s # Activating action 'single' with parameter: ('first',) 1222s # Message 11 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok - glib/gapplication.test 1222s # Running test: glib/sort.test 1222s ok - glib/sort.test 1222s # Running test: glib/mem-overflow.test 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 25 /gapplication/dbus/activate-action 1222s # End of dbus tests 1222s # End of gapplication tests 1222s TAP version 14 1222s # random seed: R02S0c81bcbd9bbaa24e2d00ff0f9ba46ae0 1222s 1..5 1222s # Start of sort tests 1222s ok 1 /sort/basic 1222s ok 2 /sort/zero-elements 1222s ok 3 /sort/stable 1222s ok 4 /sort/big 1222s ok 5 /sort/deprecated 1222s # End of sort tests 1222s TAP version 14 1222s # random seed: R02S6cc0d723db85f50e9f09527418fe1df8 1222s 1..2 1222s # Start of mem tests 1222s ok - glib/mem-overflow.test 1222s # Running test: glib/module-test-library.test 1222s ok - glib/module-test-library.test 1222s ok 1 /mem/overflow 1222s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1222s ok 2 /mem/empty-alloc 1222s # Start of overflow tests 1222s # Start of subprocess tests 1222s # End of subprocess tests 1222s # End of overflow tests 1222s # Start of empty-alloc tests 1222s # End of empty-alloc tests 1222s # End of mem tests 1222s TAP version 14 1222s # random seed: R02S303f5cb0620b3a470da642ed12c43223 1222s 1..3 1222s # Start of module tests 1222s ok 1 /module/basics 1222s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1222s ok 2 /module/invalid-libtool-archive 1222s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1222s ok 3 /module/local-binding 1222s # End of module tests 1222s # Running test: glib/fileutils.test 1222s TAP version 14 1222s # random seed: R02S1e5d580cc2b71642730e9d87284ff367 1222s 1..27 1222s # Start of fileutils tests 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/paths/.dirs/runtime 1222s ok 1 /fileutils/paths 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/build-path/.dirs/runtime 1222s ok 2 /fileutils/build-path 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/build-pathv/.dirs/runtime 1222s ok 3 /fileutils/build-pathv 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/build-filename/.dirs/runtime 1222s ok 4 /fileutils/build-filename 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/build-filenamev/.dirs/runtime 1222s ok 5 /fileutils/build-filenamev 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents/.dirs/runtime 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Checking g_mkdir_with_parents() in subdir ./hum/ 1222s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1222s ok 6 /fileutils/mkdir-with-parents 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s ok 7 /fileutils/mkdir-with-parents-permission 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/format-size-for-display/.dirs/runtime 1222s ok 8 /fileutils/format-size-for-display 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/errors/.dirs/runtime 1222s ok 9 /fileutils/errors 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/basename/.dirs/runtime 1222s ok 10 /fileutils/basename 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/get-basename/.dirs/runtime 1222s ok 11 /fileutils/get-basename 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/dirname/.dirs/runtime 1222s ok 12 /fileutils/dirname 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/dir-make-tmp/.dirs/runtime 1222s ok 13 /fileutils/dir-make-tmp 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/file-open-tmp/.dirs/runtime 1222s ok 14 /fileutils/file-open-tmp 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/file-test/.dirs/runtime 1222s ok 15 /fileutils/file-test 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/mkstemp/.dirs/runtime 1222s ok 16 /fileutils/mkstemp 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/mkdtemp/.dirs/runtime 1222s ok 17 /fileutils/mkdtemp 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/get-contents/.dirs/runtime 1222s ok 18 /fileutils/get-contents 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/get-contents-large-file/.dirs/runtime 1222s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/set-contents/.dirs/runtime 1222s ok 20 /fileutils/set-contents 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/.dirs/runtime 1222s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1222s # Flags 0 and test 0 1222s # Flags 0 and test 1 1222s # Flags 0 and test 2 1222s # Flags 0 and test 3 1222s # Flags 0 and test 4 1222s # Flags 0 and test 5 1222s # Flags 0 and test 6 1222s # Flags 1 and test 0 1222s # Flags 1 and test 1 1222s # Flags 1 and test 2 1222s # Flags 1 and test 3 1222s # Flags 1 and test 4 1222s # Flags 1 and test 5 1222s # Flags 1 and test 6 1222s # Flags 2 and test 0 1222s # Flags 2 and test 1 1222s # Flags 2 and test 2 1222s # Flags 2 and test 3 1222s # Flags 2 and test 4 1222s # Flags 2 and test 5 1222s # Flags 2 and test 6 1222s # Flags 3 and test 0 1222s # Flags 3 and test 1 1222s # Flags 3 and test 2 1222s # Flags 3 and test 3 1222s # Flags 3 and test 4 1222s # Flags 3 and test 5 1222s # Flags 3 and test 6 1222s # Flags 4 and test 0 1222s # Flags 4 and test 1 1222s # Flags 4 and test 2 1222s # Flags 4 and test 3 1222s # Flags 4 and test 4 1222s # Flags 4 and test 5 1222s # Flags 4 and test 6 1222s # Flags 5 and test 0 1222s # Flags 5 and test 1 1222s # Flags 5 and test 2 1222s # Flags 5 and test 3 1222s # Flags 5 and test 4 1222s # Flags 5 and test 5 1222s # Flags 5 and test 6 1222s # Flags 6 and test 0 1222s # Flags 6 and test 1 1222s # Flags 6 and test 2 1222s # Flags 6 and test 3 1222s # Flags 6 and test 4 1222s # Flags 6 and test 5 1222s # Flags 6 and test 6 1222s ok 21 /fileutils/set-contents-full 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/read-link/.dirs/runtime 1222s ok 22 /fileutils/read-link 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/stdio-wrappers/.dirs/runtime 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s ok 23 /fileutils/stdio-wrappers 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/fopen-modes/.dirs/runtime 1222s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1222s # Testing fopen() mode 'w' 1222s # Testing fopen() mode 'r' 1222s # Testing fopen() mode 'a' 1222s # Testing fopen() mode 'w+' 1222s # Testing fopen() mode 'r+' 1222s # Testing fopen() mode 'a+' 1222s # Testing fopen() mode 'wb' 1222s # Testing fopen() mode 'rb' 1222s # Testing fopen() mode 'ab' 1222s # Testing fopen() mode 'w+b' 1222s # Testing fopen() mode 'r+b' 1222s # Testing fopen() mode 'a+b' 1222s # Testing fopen() mode 'wb+' 1222s # Testing fopen() mode 'rb+' 1222s # Testing fopen() mode 'ab+' 1222s # Testing fopen() mode 'we' 1222s # Testing fopen() mode 're' 1222s # Testing fopen() mode 'ae' 1222s # Testing fopen() mode 'w+e' 1222s # Testing fopen() mode 'r+e' 1222s # Testing fopen() mode 'a+e' 1222s # Testing fopen() mode 'wbe' 1222s # Testing fopen() mode 'rbe' 1222s # Testing fopen() mode 'abe' 1222s # Testing fopen() mode 'w+be' 1222s # Testing fopen() mode 'r+be' 1222s # Testing fopen() mode 'a+be' 1222s # Testing fopen() mode 'wb+e' 1222s # Testing fopen() mode 'rb+e' 1222s # Testing fopen() mode 'ab+e' 1222s # Testing fopen() mode 'web' 1222s # Testing fopen() mode 'reb' 1222s # Testing fopen() mode 'aeb' 1222s # Testing fopen() mode 'w+eb' 1222s # Testing fopen() mode 'r+eb' 1222s # Testing fopen() mode 'a+eb' 1222s # Testing fopen() mode 'web+' 1222s # Testing fopen() mode 'reb+' 1222s # Testing fopen() mode 'aeb+' 1222s ok 24 /fileutils/fopen-modes 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/clear-fd/.dirs/runtime 1222s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1222s # Will be closed by autocleanup: 3, -42 1222s # Testing error handling 1222s ok 25 /fileutils/clear-fd 1222s # Start of set-contents-full tests 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1222s ok 26 /fileutils/set-contents-full/read-only-file 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_3IJBK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1222s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1222s # Flags 0 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Flags 1 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Executing: glib/fileutils.test 1222s # Flags 2 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Flags 3 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Flags 4 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Flags 5 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s # Flags 6 1222s # We do not have CAP_DAC_OVERRIDE or equivalent 1222s ok - glib/fileutils.test 1222s # Running test: glib/debugcontroller.test 1222s ok 27 /fileutils/set-contents-full/read-only-directory 1222s # End of set-contents-full tests 1222s # Start of clear-fd tests 1222s # Start of subprocess tests 1222s # End of subprocess tests 1222s # End of clear-fd tests 1222s # End of fileutils tests 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-N3WHK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-82WJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-KTQJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-Q9XJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-V3PJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-B0RJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3/glib-file-set-contents-full-rodir-JHMJK3: Directory not empty 1222s Unable to clean up temporary directory /tmp/test_fileutils_3IJBK3: Directory not empty 1222s TAP version 14 1222s # random seed: R02S31c2227d57a9990ba14993a96699549e 1222s 1..3 1222s # Start of debug-controller tests 1222s # Start of dbus tests 1222s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1222s # GLib-GIO-DEBUG: Debug output enabled 1222s # GLib-GIO-DEBUG: Debug output disabled 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 1 /debug-controller/dbus/basic 1222s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 2 /debug-controller/dbus/duplicate 1222s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1222s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1222s # End of dbus tests 1222s # End of debug-controller tests 1222s ok - glib/debugcontroller.test 1222s # Running test: glib/gdbus-proxy-unique-name.test 1222s TAP version 14 1222s # random seed: R02S29d8cbb89c22df1ea7bbda89edf25378 1222s 1..1 1222s # Start of gdbus tests 1222s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/home 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/cache 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/system-config2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/config 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/system-data2 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/data 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/state 1222s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_NJYJK3/gdbus/proxy-unique-name/.dirs/runtime 1222s ok - glib/gdbus-proxy-unique-name.test 1222s # Running test: glib/gthash.test 1222s ok - glib/gthash.test 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1222s ok 1 /gdbus/proxy-unique-name 1222s # End of gdbus tests 1222s TAP version 14 1222s # random seed: R02Sb5f32d52d72205589a37b016bb0f4f5d 1222s 1..1 1222s # Start of gthash tests 1222s ok 1 /gthash/build-retrieve 1222s # End of gthash tests 1222s # Running test: glib/markup-parse.test 1222s TAP version 14 1222s # random seed: R02S3d2e64e7272463901e98a86f99b40ac0 1222s 1..71 1222s # Start of markup tests 1222s # Start of parse tests 1222s ok 1 /markup/parse/valid-4.gmarkup 1222s ok 2 /markup/parse/fail-47.gmarkup 1222s ok 3 /markup/parse/fail-22.gmarkup 1222s ok 4 /markup/parse/fail-20.gmarkup 1222s ok 5 /markup/parse/fail-33.gmarkup 1222s ok 6 /markup/parse/valid-6.gmarkup 1222s ok 7 /markup/parse/fail-15.gmarkup 1222s ok 8 /markup/parse/fail-6.gmarkup 1222s ok 9 /markup/parse/valid-17.gmarkup 1222s ok 10 /markup/parse/fail-50.gmarkup 1222s ok 11 /markup/parse/fail-48.gmarkup 1222s ok 12 /markup/parse/fail-9.gmarkup 1222s ok 13 /markup/parse/valid-1.gmarkup 1222s ok 14 /markup/parse/valid-16.gmarkup 1222s ok 15 /markup/parse/fail-37.gmarkup 1222s ok 16 /markup/parse/fail-11.gmarkup 1222s ok 17 /markup/parse/valid-5.gmarkup 1222s ok - glib/markup-parse.test 1222s # Running test: glib/markup-escape.test 1222s ok - glib/markup-escape.test 1222s # Running test: glib/reference.test 1222s ok 18 /markup/parse/fail-54.gmarkup 1222s ok 19 /markup/parse/fail-53.gmarkup 1222s ok 20 /markup/parse/fail-46.gmarkup 1222s ok 21 /markup/parse/fail-36.gmarkup 1222s ok 22 /markup/parse/fail-14.gmarkup 1222s ok 23 /markup/parse/fail-13.gmarkup 1222s ok 24 /markup/parse/fail-3.gmarkup 1222s ok 25 /markup/parse/fail-16.gmarkup 1222s ok 26 /markup/parse/valid-3.gmarkup 1222s ok 27 /markup/parse/fail-45.gmarkup 1222s ok 28 /markup/parse/valid-9.gmarkup 1222s ok 29 /markup/parse/fail-26.gmarkup 1222s ok 30 /markup/parse/fail-7.gmarkup 1222s ok 31 /markup/parse/fail-2.gmarkup 1222s ok 32 /markup/parse/fail-42.gmarkup 1222s ok 33 /markup/parse/fail-29.gmarkup 1222s ok 34 /markup/parse/fail-52.gmarkup 1222s ok 35 /markup/parse/fail-28.gmarkup 1222s ok 36 /markup/parse/valid-8.gmarkup 1222s ok 37 /markup/parse/fail-17.gmarkup 1222s ok 38 /markup/parse/fail-25.gmarkup 1222s ok 39 /markup/parse/valid-12.gmarkup 1222s ok 40 /markup/parse/valid-10.gmarkup 1222s ok 41 /markup/parse/valid-2.gmarkup 1222s ok 42 /markup/parse/fail-10.gmarkup 1222s ok 43 /markup/parse/valid-13.gmarkup 1222s ok 44 /markup/parse/fail-40.gmarkup 1222s ok 45 /markup/parse/valid-15.gmarkup 1222s ok 46 /markup/parse/fail-5.gmarkup 1222s ok 47 /markup/parse/valid-7.gmarkup 1222s ok 48 /markup/parse/valid-14.gmarkup 1222s ok 49 /markup/parse/fail-21.gmarkup 1222s ok 50 /markup/parse/fail-44.gmarkup 1222s ok 51 /markup/parse/fail-1.gmarkup 1222s ok 52 /markup/parse/fail-30.gmarkup 1222s ok 53 /markup/parse/fail-32.gmarkup 1222s ok 54 /markup/parse/fail-8.gmarkup 1222s ok 55 /markup/parse/fail-27.gmarkup 1222s ok 56 /markup/parse/fail-51.gmarkup 1222s ok 57 /markup/parse/fail-38.gmarkup 1222s ok 58 /markup/parse/fail-41.gmarkup 1222s ok 59 /markup/parse/fail-24.gmarkup 1222s ok 60 /markup/parse/fail-35.gmarkup 1222s ok 61 /markup/parse/fail-12.gmarkup 1222s ok 62 /markup/parse/fail-43.gmarkup 1222s ok 63 /markup/parse/fail-23.gmarkup 1222s ok 64 /markup/parse/fail-31.gmarkup 1222s ok 65 /markup/parse/fail-49.gmarkup 1222s ok 66 /markup/parse/fail-4.gmarkup 1222s ok 67 /markup/parse/fail-18.gmarkup 1222s ok 68 /markup/parse/fail-34.gmarkup 1222s ok 69 /markup/parse/fail-39.gmarkup 1222s ok 70 /markup/parse/fail-19.gmarkup 1222s ok 71 /markup/parse/valid-11.gmarkup 1222s # End of parse tests 1222s # End of markup tests 1222s TAP version 14 1222s # random seed: R02S41f5def1421f3b3304a4537e36da4328 1222s 1..41 1222s # Start of markup tests 1222s ok 1 /markup/format 1222s # Start of escape-text tests 1222s ok 2 /markup/escape-text/0 1222s ok 3 /markup/escape-text/1 1222s ok 4 /markup/escape-text/2 1222s ok 5 /markup/escape-text/3 1222s ok 6 /markup/escape-text/4 1222s ok 7 /markup/escape-text/5 1222s ok 8 /markup/escape-text/6 1222s ok 9 /markup/escape-text/7 1222s ok 10 /markup/escape-text/8 1222s ok 11 /markup/escape-text/9 1222s ok 12 /markup/escape-text/10 1222s ok 13 /markup/escape-text/11 1222s ok 14 /markup/escape-text/12 1222s ok 15 /markup/escape-text/13 1222s ok 16 /markup/escape-text/14 1222s ok 17 /markup/escape-text/15 1222s ok 18 /markup/escape-text/16 1222s ok 19 /markup/escape-text/17 1222s ok 20 /markup/escape-text/18 1222s ok 21 /markup/escape-text/19 1222s ok 22 /markup/escape-text/20 1222s ok 23 /markup/escape-text/21 1222s ok 24 /markup/escape-text/22 1222s # End of escape-text tests 1222s # Start of escape-unichar tests 1222s ok 25 /markup/escape-unichar/0 1222s ok 26 /markup/escape-unichar/1 1222s ok 27 /markup/escape-unichar/2 1222s ok 28 /markup/escape-unichar/3 1222s ok 29 /markup/escape-unichar/4 1222s ok 30 /markup/escape-unichar/5 1222s ok 31 /markup/escape-unichar/6 1222s ok 32 /markup/escape-unichar/7 1222s ok 33 /markup/escape-unichar/8 1222s ok 34 /markup/escape-unichar/9 1222s ok 35 /markup/escape-unichar/10 1222s ok 36 /markup/escape-unichar/11 1222s ok 37 /markup/escape-unichar/12 1222s ok 38 /markup/escape-unichar/13 1222s ok 39 /markup/escape-unichar/14 1222s ok 40 /markup/escape-unichar/15 1222s ok 41 /markup/escape-unichar/16 1222s # End of escape-unichar tests 1222s # End of markup tests 1222s TAP version 14 1222s # random seed: R02Sbf89970adf7dec7aa7b3ae8d1d0c36d3 1222s 1..29 1222s # Start of type tests 1222s ok 1 /type/fundamentals 1222s ok 2 /type/qdata 1222s ok 3 /type/query 1222s ok 4 /type/class-private 1222s # End of type tests 1222s # Start of object tests 1222s ok 5 /object/clear 1222s ok 6 /object/clear-function 1222s ok 7 /object/set 1222s ok 8 /object/set-function 1222s ok 9 /object/value 1222s ok 10 /object/initially-unowned 1222s ok 11 /object/weak-pointer 1222s ok 12 /object/weak-ref 1222s ok 13 /object/toggle-ref 1222s ok 14 /object/qdata 1222s ok 15 /object/qdata2 1222s # Start of set tests 1222s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1222s ok 16 /object/set/derived-type 1222s # End of set tests 1222s # Start of weak-pointer tests 1222s ok 17 /object/weak-pointer/clear 1222s ok 18 /object/weak-pointer/clear-function 1222s ok 19 /object/weak-pointer/set 1222s ok 20 /object/weak-pointer/set-function 1222s # End of weak-pointer tests 1222s # Start of weak-ref tests 1222s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1222s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1222s ok 21 /object/weak-ref/on-dispose 1222s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1222s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1222s ok 22 /object/weak-ref/on-run-dispose 1222s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1222s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1222s ok 23 /object/weak-ref/on-toggle-notify 1222s ok 24 /object/weak-ref/in-toggle-notify 1222s ok 25 /object/weak-ref/many 1222s # Start of concurrent tests 1222s ok 26 /object/weak-ref/concurrent/0 1223s ok - glib/reference.test 1223s ok 27 /object/weak-ref/concurrent/1 1223s # End of concurrent tests 1223s # End of weak-ref tests 1223s # Start of toggle-ref tests 1223s ok 28 /object/toggle-ref/ref-on-dispose 1223s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1223s # End of toggle-ref tests 1223s # End of object tests 1223s # Running test: glib/sequence.test 1223s TAP version 14 1223s # random seed: R02Sae0ff25fc6a0e8812d8bdf0f4af07395 1223s 1..16 1223s # Start of sequence tests 1223s ok 1 /sequence/out-of-range-jump 1223s ok 2 /sequence/iter-move 1223s ok 3 /sequence/insert-sorted-non-pointer 1223s ok 4 /sequence/stable-sort 1223s ok 5 /sequence/is_empty 1223s # Start of random tests 1223s ok 6 /sequence/random/seed:825541564 1223s # slow test /sequence/random/seed:825541564 executed in 0.72 secs 1224s ok 7 /sequence/random/seed:801678400 1224s # slow test /sequence/random/seed:801678400 executed in 0.67 secs 1225s ok 8 /sequence/random/seed:1477639090 1225s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs 1225s ok 9 /sequence/random/seed:3369132895 1225s # slow test /sequence/random/seed:3369132895 executed in 0.65 secs 1226s ok 10 /sequence/random/seed:1192944867 1226s # slow test /sequence/random/seed:1192944867 executed in 0.68 secs 1227s ok 11 /sequence/random/seed:770458294 1227s # slow test /sequence/random/seed:770458294 executed in 0.72 secs 1227s # Executing: glib/sequence.test 1227s ok 12 /sequence/random/seed:1099575817 1227s # slow test /sequence/random/seed:1099575817 executed in 0.69 secs 1228s ok 13 /sequence/random/seed:590523467 1228s # slow test /sequence/random/seed:590523467 executed in 0.72 secs 1229s ok 14 /sequence/random/seed:3583571454 1229s # slow test /sequence/random/seed:3583571454 executed in 0.71 secs 1230s ok 15 /sequence/random/seed:579241222 1230s # slow test /sequence/random/seed:579241222 executed in 0.71 secs 1230s ok 16 /sequence/random/seed:55091370 1230s # slow test /sequence/random/seed:55091370 executed in 0.72 secs 1230s # End of random tests 1230s # End of sequence tests 1230s ok - glib/sequence.test 1230s # Running test: glib/autoptr-gio.test 1230s TAP version 14 1230s # random seed: R02S4c8698abe8df1ce314f3323198483677 1230s 1..1 1230s # Start of autoptr tests 1230s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1230s ok 1 /autoptr/autoptr 1230s # End of autoptr tests 1230s ok - glib/autoptr-gio.test 1230s # Running test: glib/param.test 1230s TAP version 14 1230s # random seed: R02Se181d3f1a5d4a10cd32cb3608b60828b 1230s 1..32 1230s # Start of param tests 1230s ok 1 /param/value 1230s ok 2 /param/strings 1230s ok 3 /param/qdata 1230s ok 4 /param/validate 1230s ok 5 /param/convert 1230s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1230s ok 7 /param/default 1230s ok 8 /param/is-valid-name 1230s # Start of invalid-name tests 1230s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1230s ok 9 /param/invalid-name/colon 1230s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1230s ok 10 /param/invalid-name/first-char 1230s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1231s ok 11 /param/invalid-name/empty 1231s # End of invalid-name tests 1231s # Start of implement tests 1231s # Start of subprocess tests 1231s # End of subprocess tests 1231s # End of implement tests 1231s # End of param tests 1231s # Start of value tests 1231s ok 12 /value/transform 1231s # End of value tests 1231s # Start of paramspec tests 1231s ok 13 /paramspec/char 1231s ok 14 /paramspec/uchar 1231s ok 15 /paramspec/int 1231s ok 16 /paramspec/uint 1231s ok 17 /paramspec/long 1231s ok 18 /paramspec/ulong 1231s ok 19 /paramspec/int64 1231s ok 20 /paramspec/uint64 1231s ok 21 /paramspec/float 1231s ok 22 /paramspec/double 1231s ok 23 /paramspec/unichar 1231s ok 24 /paramspec/param 1231s ok 25 /paramspec/null-param 1231s ok 26 /paramspec/string 1231s ok 27 /paramspec/override 1231s ok 28 /paramspec/gtype 1231s ok 29 /paramspec/variant 1231s ok 30 /paramspec/custom 1231s ok 31 /paramspec/pool 1231s # Start of variant tests 1231s ok 32 /paramspec/variant/cmp 1231s # End of variant tests 1231s # End of paramspec tests 1231s ok - glib/param.test 1231s # Running test: glib/simple-async-result.test 1231s TAP version 14 1231s # random seed: R02S2fcafdee97b49c67575a025478f2d2b9 1231s 1..2 1231s # Start of gio tests 1231s # Start of simple-async-result tests 1231s ok 1 /gio/simple-async-result/test 1231s # GLib-GIO-DEBUG: GTask 0x8df52cd5b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1231s ok 2 /gio/simple-async-result/valid 1231s # End of simple-async-result tests 1231s # End of gio tests 1231s ok - glib/simple-async-result.test 1231s # Running test: glib/guuid.test 1231s TAP version 14 1231s # random seed: R02Sd2d46f0eebe8bd39492974ac427f33aa 1231s 1..2 1231s # Start of uuid tests 1231s ok 1 /uuid/string 1231s ok 2 /uuid/random 1231s ok - glib/guuid.test 1231s # End of uuid tests 1231s # Running test: glib/rwlock.test 1231s TAP version 14 1231s # random seed: R02S0fd528664d3dc0ec2ad02ac14faac3e6 1231s 1..8 1231s # Start of thread tests 1231s ok 1 /thread/rwlock1 1231s ok 2 /thread/rwlock2 1231s ok 3 /thread/rwlock3 1231s ok 4 /thread/rwlock4 1231s ok 5 /thread/rwlock5 1231s ok 6 /thread/rwlock6 1232s # Executing: glib/rwlock.test 1236s ok 7 /thread/rwlock7 1236s # slow test /thread/rwlock7 executed in 5.00 secs 1236s ok 8 /thread/rwlock8 1236s # End of thread tests 1236s TAP version 14 1236s # random seed: R02S1e66177f7a59c9e690ab6b94f2dbb39c 1236s 1..1 1236s # Start of assert tests 1236s ok 1 /assert/finalize_object 1236s # Start of finalize_object tests 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of finalize_object tests 1236s # End of assert tests 1236s ok - glib/rwlock.test 1236s # Running test: glib/testing.test 1236s ok - glib/testing.test 1236s # Running test: glib/appmonitor.test 1236s ok - glib/appmonitor.test 1236s # Running test: glib/null-settings-backend.test 1236s ok - glib/null-settings-backend.test 1236s # Running test: glib/readwrite.test 1236s ok - glib/readwrite.test 1236s # Running test: glib/atomic-c-17.test 1236s TAP version 14 1236s # random seed: R02S5e7497547ab3926b11fd5f44404d4519 1236s 1..1 1236s # Start of monitor tests 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/runtime 1236s # Using data directory: /tmp/test_appmonitor_NK5OK3/monitor/app/.dirs/data 1236s ok 1 /monitor/app 1236s # End of monitor tests 1236s TAP version 14 1236s # random seed: R02S87b05f7bc8c9a3196e2f2d53f13516f1 1236s 1..1 1236s # Start of null-settings-backend tests 1236s ok 1 /null-settings-backend/extension-point-registered 1236s # End of null-settings-backend tests 1236s TAP version 14 1236s # random seed: R02S90eaaaa6fe2f7a147b6426b419149f5b 1236s 1..3 1236s # Start of readwrite tests 1236s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1236s ok 1 /readwrite/test_g_file_open_readwrite 1236s ok 2 /readwrite/test_g_file_create_readwrite 1236s ok 3 /readwrite/test_g_file_replace_readwrite 1236s # End of readwrite tests 1236s TAP version 14 1236s # random seed: R02S9b1d02063faae5f495c84ba9faefe340 1236s 1..2 1236s # Start of atomic tests 1236s ok 1 /atomic/types 1236s ok - glib/atomic-c-17.test 1236s ok 2 /atomic/threaded 1236s # End of atomic tests 1236s # Running test: glib/dir.test 1236s ok - glib/dir.test 1236s TAP version 14 1236s # random seed: R02Se59f388b071b03c831429906a969d0fb 1236s 1..3 1236s # Start of dir tests 1236s ok 1 /dir/read 1236s ok 2 /dir/nonexisting 1236s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1236s ok 3 /dir/refcounting 1236s # End of dir tests 1236s # Running test: glib/gi-compile-repository.py.test 1236s TAP version 13 1236s ok 1 __main__.TestGICompileRepository.test_open_failure 1236s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1236s # gi-compile-repository: /usr/bin/gi-compile-repository 1236s # tmpdir: /tmp/tmp26sm7kag 1236s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp26sm7kag/invalid.typelib'] 1236s # Return code: 1 1236s # Output: 1236s # 1236s # Error: 1236s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1236s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1236s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1236s # gi-compile-repository: /usr/bin/gi-compile-repository 1236s # tmpdir: /tmp/tmpmey2bd9z 1236s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpmey2bd9z/GLib-2.typelib'] 1236s # Return code: 0 1236s # Output: 1236s # 1236s # Error: 1236s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1236s # gi-compile-repository: /usr/bin/gi-compile-repository 1236s # tmpdir: /tmp/tmpfbk9lcvb 1236s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1236s # Return code: 1 1236s # Output: 1236s # 1236s # Error: 1236s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1236s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1236s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1236s # gi-compile-repository: /usr/bin/gi-compile-repository 1236s # tmpdir: /tmp/tmp4opm31dg 1236s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp4opm31dg/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1236s # Return code: 0 1236s # Output: 1236s # 1236s # Error: 1237s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1237s # gi-compile-repository: /usr/bin/gi-compile-repository 1237s # tmpdir: /tmp/tmpf8xjtx1f 1237s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1237s # Return code: 1 1237s # Output: 1237s # 1237s # Error: 1237s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1237s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1237s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1237s # gi-compile-repository: /usr/bin/gi-compile-repository 1237s # tmpdir: /tmp/tmp4bbli8az 1237s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp4bbli8az/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1237s # Return code: 0 1237s # Output: 1237s # 1237s # Error: 1237s # Executing: glib/gi-compile-repository.py.test 1238s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1238s # gi-compile-repository: /usr/bin/gi-compile-repository 1238s # tmpdir: /tmp/tmp0sewyo_a 1238s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1238s # Return code: 1 1238s # Output: 1238s # 1238s # Error: 1238s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1238s 1..7 1238s ok - glib/gi-compile-repository.py.test 1238s # Running test: glib/portal-support-none.test 1238s TAP version 14 1238s # random seed: R02S33c815d1baefdf9225b0a41f9eb3085c 1238s 1..1 1238s # Start of portal-support tests 1238s ok 1 /portal-support/none 1238s ok - glib/portal-support-none.test 1238s # Running test: glib/giomodule.test 1238s ok - glib/giomodule.test 1238s # Running test: glib/signals-refcount4.test 1238s # End of portal-support tests 1238s TAP version 14 1238s # random seed: R02S5a29e62b96bd626e2e764d5759120ae8 1238s 1..3 1238s # Start of giomodule tests 1238s ok 1 /giomodule/extension-point 1238s ok 2 /giomodule/module-scan-all 1238s ok 3 /giomodule/module-scan-all-with-scope 1238s # End of giomodule tests 1238s TAP version 14 1238s # random seed: R02S10127c956594aefea99266e9ab90e340 1238s 1..1 1238s # Start of gobject tests 1238s # Start of refcount tests 1238s # init 0xaaf5e3bd2c0 1238s # 1238s # init 0xaaf5e3b5580 1238s # 1242s # Executing: glib/signals-refcount4.test 1243s ok - glib/signals-refcount4.test 1243s # Running test: glib/repository.test 1243s # dispose 0xaaf5e3bd2c0! 1243s # 1243s # dispose 0xaaf5e3b5580! 1243s # 1243s ok 1 /gobject/refcount/signals 1243s # slow test /gobject/refcount/signals executed in 5.00 secs 1243s # End of refcount tests 1243s # End of gobject tests 1243s TAP version 14 1243s # random seed: R02S656c030a8303a1a667a29e6365fdf58d 1243s 1..24 1243s # Start of repository tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/basic/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/basic/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/basic/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/basic/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/basic/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/basic/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/basic/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/basic/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/basic/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/basic/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1243s ok 1 /repository/basic 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/info/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/info/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1243s ok 2 /repository/info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/dependencies/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/dependencies/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/dependencies/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1243s ok 3 /repository/dependencies 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/arg-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/arg-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/arg-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1243s ok 4 /repository/arg-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/callable-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/callable-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/callable-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1243s ok 5 /repository/callable-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/callback-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/callback-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/callback-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1243s ok 6 /repository/callback-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/char-types/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/char-types/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/char-types/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/char-types/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/char-types/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/char-types/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/char-types/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/char-types/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/char-types/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/char-types/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1243s ok 7 /repository/char-types 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/constructor-return-type/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1243s ok 8 /repository/constructor-return-type 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/enum-info-c-identifier/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1243s ok 9 /repository/enum-info-c-identifier 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/enum-info-static-methods/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/enum-info-static-methods summary: Test an enum with methods 1243s ok 10 /repository/enum-info-static-methods 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/error-quark/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/error-quark/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/error-quark/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/error-quark summary: Test finding an error quark by error domain 1243s ok 11 /repository/error-quark 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/flags-info-c-identifier/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1243s ok 12 /repository/flags-info-c-identifier 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/fundamental-ref-func/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1243s ok 13 /repository/fundamental-ref-func 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/instance-method-ownership-transfer/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1243s ok 14 /repository/instance-method-ownership-transfer 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/object-gtype-interfaces/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1243s ok 15 /repository/object-gtype-interfaces 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/signal-info-with-array-length-arg/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1243s ok 16 /repository/signal-info-with-array-length-arg 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/type-info-name/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/type-info-name/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/type-info-name/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1243s ok 17 /repository/type-info-name 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1243s ok 18 /repository/vfunc-info-with-no-invoker 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1243s ok 19 /repository/vfunc-info-with-invoker-on-interface 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1243s ok 20 /repository/vfunc-info-with-invoker-on-object 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/find-by-gtype/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/find-by-gtype summary: Test finding a GType 1243s ok 21 /repository/find-by-gtype 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/loaded-namespaces/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1243s ok 22 /repository/loaded-namespaces 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/dup_default/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/dup_default/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/state 1243s ok - glib/repository.test 1243s # Running test: glib/hash.test 1243s ok - glib/hash.test 1243s # Running test: glib/utils-unisolated.test 1243s ok - glib/utils-unisolated.test 1243s # Running test: glib/field-info.test 1243s ok - glib/field-info.test 1243s # Running test: glib/memory-monitor.test 1243s ok - glib/memory-monitor.test 1243s # Running test: glib/cxx-20.test 1243s ok - glib/cxx-20.test 1243s # Running test: glib/assert-msg-test.py.test 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/dup_default/.dirs/runtime 1243s ok 23 /repository/dup_default 1243s # Start of base-info tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SA14J3/repository/base-info/clear/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1243s ok 24 /repository/base-info/clear 1243s # End of base-info tests 1243s # End of repository tests 1243s TAP version 14 1243s # random seed: R02S560a4a2e19dff9ce6432eaf894f86708 1243s 1..34 1243s # Start of hash tests 1243s ok 1 /hash/misc 1243s ok 2 /hash/one 1243s ok 3 /hash/honeyman 1243s ok 4 /hash/direct 1243s ok 5 /hash/direct2 1243s ok 6 /hash/int 1243s ok 7 /hash/int64 1243s ok 8 /hash/double 1243s ok 9 /hash/string 1243s ok 10 /hash/set 1243s ok 11 /hash/set-ref 1243s ok 12 /hash/ref 1243s ok 13 /hash/remove-all 1243s ok 14 /hash/recursive-remove-all 1243s ok 15 /hash/find 1243s ok 16 /hash/foreach 1243s ok 17 /hash/foreach-steal 1243s ok 18 /hash/steal-extended 1243s ok 19 /hash/steal-all-keys 1243s ok 20 /hash/steal-all-values 1243s ok 21 /hash/lookup-extended 1243s ok 22 /hash/new-similar 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1243s ok 23 /hash/lookup-null-key 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1243s ok 24 /hash/destroy-modify 1243s ok 25 /hash/consistency 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1243s ok 26 /hash/iter-replace 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1243s ok 27 /hash/set-insert-corruption 1243s ok 28 /hash/set-to-strv 1243s ok 29 /hash/get-keys-as-ptr-array 1243s ok 30 /hash/get-values-as-ptr-array 1243s ok 31 /hash/primes 1243s # Start of int64 tests 1243s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1243s ok 32 /hash/int64/collisions 1243s # End of int64 tests 1243s # Start of double tests 1243s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1243s ok 33 /hash/double/collisions 1243s # End of double tests 1243s # Start of recursive-remove-all tests 1243s # End of recursive-remove-all tests 1243s # Start of steal-extended tests 1243s ok 34 /hash/steal-extended/optional 1243s # End of steal-extended tests 1243s # End of hash tests 1243s TAP version 14 1243s # random seed: R02S10ab5de07d03a4dbeed6768c05c68356 1243s 1..1 1243s # Start of utils tests 1243s ok 1 /utils/xdgdirs 1243s # End of utils tests 1243s TAP version 14 1243s # random seed: R02Scc96b689e1b7975ff409e3d3ae4a725d 1243s 1..4 1243s # Start of field-info tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_Q484J3/field-info/basic-struct-field/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1243s ok 1 /field-info/basic-struct-field 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_Q484J3/field-info/basic-union-field/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1243s ok 2 /field-info/basic-union-field 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_Q484J3/field-info/read-write-struct-field/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1243s ok 3 /field-info/read-write-struct-field 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_Q484J3/field-info/read-write-union-field/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1243s ok 4 /field-info/read-write-union-field 1243s # End of field-info tests 1243s TAP version 14 1243s # random seed: R02Sd81af7828edc164f687d63a706d6295f 1243s 1..1 1243s # Start of memory-monitor tests 1243s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1243s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1243s ok 1 /memory-monitor/default 1243s # End of memory-monitor tests 1243s TAP version 14 1243s # random seed: R02S8068fc85a2567a9b8d1c6c58c81168d2 1243s 1..2 1243s # Start of gtask tests 1243s # 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. 1243s ok 1 /gtask/name 1243s # Start of name tests 1243s # 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. 1243s ok 2 /gtask/name/macro-wrapper 1243s # End of name tests 1243s # End of gtask tests 1243s TAP version 13 1243s ok 1 __main__.TestAssertMessage.test_gassert 1243s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1243s # tmpdir: /tmp/tmpz9vybdv6 1243s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1243s # Return code: -6 1243s # Output: 1243s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1243s # Error: 1243s # ** 1243s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1243s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1243s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1243s # tmpdir: /tmp/tmpafmx7t0u 1243s 1..2 1243s ok - glib/assert-msg-test.py.test 1243s # Running test: glib/refstring.test 1243s TAP version 14 1243s # random seed: R02S63052a3cefad450363644d83473edd51 1243s 1..8 1243s # Start of refstring tests 1243s # s = 'hello, world' (0x1ea112f080e0) 1243s ok 1 /refstring/base 1243s ok 2 /refstring/length 1243s ok 3 /refstring/length-auto 1243s ok 4 /refstring/length-nuls 1243s # s = 'hello, world' (0x1ea112f07f80) 1243s # p = s = 'hello, world' (0x1ea112f07f80) 1243s # releasing p[0x1ea112f07f80] ('hello, world') 1243s # p = 'goodbye, world' (0x1ea112f080e0) 1243s # releasing p[0x1ea112f080e0] ('goodbye, world') 1243s # releasing s[0x1ea112f07f80] ('hello, world') 1243s ok 5 /refstring/intern 1243s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1243s ok 6 /refstring/hash_equal 1243s # /refstring/equal summary: Test g_ref_string_equal() standalone 1243s ok 7 /refstring/equal 1245s ok - glib/refstring.test 1245s ok 8 /refstring/intern-thread-safety 1245s # slow test /refstring/intern-thread-safety executed in 1.68 secs 1245s # End of refstring tests 1245s # Running test: glib/tls-database.test 1245s ok - glib/tls-database.test 1245s # Running test: glib/gdbus-sasl.test 1245s TAP version 14 1245s # random seed: R02S044a40e4e0dd6cef9335af55ee85ea3d 1245s 1..1 1245s # Start of tls-backend tests 1245s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1245s ok 1 /tls-backend/set-default-database 1245s # End of tls-backend tests 1245s ok - glib/gdbus-sasl.test 1245s # Running test: glib/macros-c-89.test 1245s ok - glib/macros-c-89.test 1245s # Running test: glib/references.test 1245s TAP version 14 1245s # random seed: R02Sa30320365806019a5c8203f8f792cf23 1245s 1..1 1245s # Start of gdbus tests 1245s # Start of sasl tests 1245s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/home 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/cache 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/system-config2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/config 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/system-data2 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/data 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/state 1245s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_53FOK3/gdbus/sasl/server/.dirs/runtime 1245s # New handshake: EXTERNAL with incorrect initial response 1245s # C:“AUTH EXTERNAL 30” 1245s # Expect: /^REJECTED.*$/ 1245s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1245s # New handshake: EXTERNAL without initial response, failing to authenticate 1245s # C:“AUTH EXTERNAL” 1245s # Expect: /^DATA$/ 1245s # S:“DATA” 1245s # C:“DATA 30” 1245s # Expect: /^REJECTED.*$/ 1245s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1245s # New handshake: EXTERNAL with initial response 1245s # C:“AUTH EXTERNAL 31303030” 1245s # Expect: /^OK [0-9a-f]+$/ 1245s # S:“OK d20ef0e85bb3e124ef2e39dd6988b79f” 1245s # New handshake: EXTERNAL without initial response 1245s # C:“AUTH EXTERNAL” 1245s # Expect: /^DATA$/ 1245s # S:“DATA” 1245s # C:“DATA 31303030” 1245s # Expect: /^OK [0-9a-f]+$/ 1245s # S:“OK d20ef0e85bb3e124ef2e39dd6988b79f” 1245s # New handshake: EXTERNAL with empty authorization identity 1245s # C:“AUTH EXTERNAL” 1245s # Expect: /^DATA$/ 1245s # S:“DATA” 1245s # C:“DATA” 1245s # Expect: /^OK [0-9a-f]+$/ 1245s # S:“OK d20ef0e85bb3e124ef2e39dd6988b79f” 1245s # New handshake: EXTERNAL with empty authorization identity and whitespace 1245s # C:“AUTH EXTERNAL” 1245s # Expect: /^DATA$/ 1245s # S:“DATA” 1245s # C:“DATA ” 1245s # Expect: /^OK [0-9a-f]+$/ 1245s # S:“OK d20ef0e85bb3e124ef2e39dd6988b79f” 1245s ok 1 /gdbus/sasl/server 1245s # End of sasl tests 1245s # End of gdbus tests 1245s TAP version 14 1245s # random seed: R02S33786a1f433b070e9d8cf650c1777e6b 1245s 1..4 1245s # Start of C tests 1245s # G_C_STD_VERSION is 199000 1245s ok 1 /C/standard-89 1245s # End of C tests 1245s # Start of alignof tests 1245s ok 2 /alignof/fallback 1245s # End of alignof tests 1245s # Start of assert tests 1245s ok 3 /assert/static 1245s # End of assert tests 1245s # Start of struct tests 1245s ok 4 /struct/sizeof_member 1245s # End of struct tests 1245s TAP version 14 1245s # random seed: R02S599c6958c521a865d4c6735a6bb0ffc6 1245s 1..4 1245s # Start of gobject tests 1245s ok 1 /gobject/references 1245s ok 2 /gobject/references-many 1245s ok 3 /gobject/references_two 1245s ok - glib/references.test 1245s # Running test: glib/utf8-performance.test 1245s ok 4 /gobject/references_run_dispose 1245s # End of gobject tests 1245s TAP version 14 1245s # random seed: R02S1ba21adb130bd4ba8ff29ccabf7d12ea 1245s 1..36 1245s # Start of utf8 tests 1245s # Start of perf tests 1245s # Start of get_char tests 1245s # max perf: 21.5 MB/s 1245s ok 1 /utf8/perf/get_char/ascii 1245s # max perf: 67.0 MB/s 1245s ok 2 /utf8/perf/get_char/latin1 1245s # max perf: inf MB/s 1245s ok 3 /utf8/perf/get_char/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 4 /utf8/perf/get_char/han 1245s # End of get_char tests 1245s ok - glib/utf8-performance.test 1245s # Running test: glib/power-profile-monitor-dbus.test 1245s # Start of get_char-backwards tests 1245s # max perf: inf MB/s 1245s ok 5 /utf8/perf/get_char-backwards/ascii 1245s # max perf: inf MB/s 1245s ok 6 /utf8/perf/get_char-backwards/latin1 1245s # max perf: 160.0 MB/s 1245s ok 7 /utf8/perf/get_char-backwards/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 8 /utf8/perf/get_char-backwards/han 1245s # End of get_char-backwards tests 1245s # Start of get_char_validated tests 1245s # max perf: 43.0 MB/s 1245s ok 9 /utf8/perf/get_char_validated/ascii 1245s # max perf: 67.0 MB/s 1245s ok 10 /utf8/perf/get_char_validated/latin1 1245s # max perf: 160.0 MB/s 1245s ok 11 /utf8/perf/get_char_validated/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 12 /utf8/perf/get_char_validated/han 1245s # End of get_char_validated tests 1245s # Start of utf8_to_ucs4 tests 1245s # max perf: 43.0 MB/s 1245s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1245s # max perf: 67.0 MB/s 1245s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1245s # max perf: 160.0 MB/s 1245s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 16 /utf8/perf/utf8_to_ucs4/han 1245s # End of utf8_to_ucs4 tests 1245s # Start of utf8_to_ucs4-sized tests 1245s # max perf: 43.0 MB/s 1245s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1245s # max perf: 67.0 MB/s 1245s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1245s # max perf: 160.0 MB/s 1245s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1245s # End of utf8_to_ucs4-sized tests 1245s # Start of utf8_to_ucs4_fast tests 1245s # max perf: inf MB/s 1245s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1245s # max perf: 67.0 MB/s 1245s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1245s # max perf: 160.0 MB/s 1245s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1245s # max perf: inf MB/s 1245s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1245s # End of utf8_to_ucs4_fast tests 1245s # Start of utf8_to_ucs4_fast-sized tests 1245s # max perf: 43.0 MB/s 1245s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1245s # max perf: 67.0 MB/s 1245s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1245s # max perf: 160.0 MB/s 1245s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1245s # End of utf8_to_ucs4_fast-sized tests 1245s # Start of utf8_validate tests 1245s # max perf: 43.0 MB/s 1245s ok 29 /utf8/perf/utf8_validate/ascii 1245s # max perf: 67.0 MB/s 1245s ok 30 /utf8/perf/utf8_validate/latin1 1245s # max perf: 160.0 MB/s 1245s ok 31 /utf8/perf/utf8_validate/cyrillic 1245s # max perf: 156.0 MB/s 1245s ok 32 /utf8/perf/utf8_validate/han 1245s # End of utf8_validate tests 1245s # Start of utf8_validate-sized tests 1245s # max perf: inf MB/s 1245s ok 33 /utf8/perf/utf8_validate-sized/ascii 1245s # max perf: inf MB/s 1245s ok 34 /utf8/perf/utf8_validate-sized/latin1 1245s # max perf: inf MB/s 1245s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1245s # max perf: inf MB/s 1245s ok 36 /utf8/perf/utf8_validate-sized/han 1245s # End of utf8_validate-sized tests 1245s # End of perf tests 1245s # End of utf8 tests 1245s TAP version 13 1245s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1245s 1..1 1245s ok - glib/power-profile-monitor-dbus.test 1245s # Running test: glib/unix.test 1245s TAP version 14 1245s # random seed: R02S7fbe6a8cd31256a6f0ed4be6fb1fb496 1245s 1..22 1245s # Start of glib-unix tests 1245s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1245s ok 1 /glib-unix/closefrom 1245s ok 2 /glib-unix/pipe 1245s # /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 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1245s ok 3 /glib-unix/pipe-stdio-overwrite 1245s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1245s ok 4 /glib-unix/pipe-struct 1245s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1245s ok 5 /glib-unix/pipe-struct-auto 1245s ok 6 /glib-unix/error 1245s ok 7 /glib-unix/nonblocking 1246s ok 8 /glib-unix/sighup 1246s # slow test /glib-unix/sighup executed in 0.50 secs 1246s ok 9 /glib-unix/sigterm 1246s # slow test /glib-unix/sigterm executed in 0.50 secs 1247s ok 10 /glib-unix/sighup_again 1247s # slow test /glib-unix/sighup_again executed in 0.50 secs 1247s ok 11 /glib-unix/sighup_add_remove 1247s ok 12 /glib-unix/sighup_nested 1247s # Executing: glib/unix.test 1248s ok 13 /glib-unix/callback_after_signal 1248s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1249s ok 14 /glib-unix/child-wait 1249s # Checking FD 5 for /dev/null 1249s ok 15 /glib-unix/fd-query-path 1249s ok 16 /glib-unix/fd-query-path-error 1249s # Start of closefrom tests 1249s # Start of subprocess tests 1249s # End of subprocess tests 1249s # End of closefrom tests 1249s # Start of pipe tests 1249s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1249s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1249s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1249s ok 17 /glib-unix/pipe/fd-cloexec 1249s # End of pipe tests 1249s # Start of sighup tests 1250s ok 18 /glib-unix/sighup/alternate-stack 1250s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1250s # End of sighup tests 1250s # Start of sigterm tests 1251s ok 19 /glib-unix/sigterm/alternate-stack 1251s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1251s # End of sigterm tests 1251s # Start of sighup_again tests 1252s ok 20 /glib-unix/sighup_again/alternate-stack 1252s ok - glib/unix.test 1252s # Running test: glib/memory-output-stream.test 1252s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1252s # End of sighup_again tests 1252s # Start of get-passwd-entry tests 1252s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1252s ok 21 /glib-unix/get-passwd-entry/root 1252s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1252s ok 22 /glib-unix/get-passwd-entry/nonexistent 1252s # End of get-passwd-entry tests 1252s # End of glib-unix tests 1252s TAP version 14 1252s # random seed: R02S9d9dcc65aeb89f3ee7dabb7d99fa40e9 1252s 1..10 1252s # Start of memory-output-stream tests 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1252s ok 1 /memory-output-stream/truncate 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1252s ok - glib/memory-output-stream.test 1252s # Running test: glib/permission.test 1252s ok - glib/permission.test 1252s # Running test: glib/memory-monitor-dbus.test 1252s ok 2 /memory-output-stream/get-data-size 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1252s ok 3 /memory-output-stream/properties 1252s ok 4 /memory-output-stream/write-bytes 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1252s ok 5 /memory-output-stream/write-null 1252s ok 6 /memory-output-stream/writev 1252s ok 7 /memory-output-stream/writev_nonblocking 1252s ok 8 /memory-output-stream/steal_as_bytes 1252s # Start of seek tests 1252s ok 9 /memory-output-stream/seek/fixed 1252s ok 10 /memory-output-stream/seek/resizable 1252s # End of seek tests 1252s # End of memory-output-stream tests 1252s TAP version 14 1252s # random seed: R02S5c2db76f358b9ef3a978ab466a19523b 1252s 1..1 1252s # Start of permission tests 1252s ok 1 /permission/simple 1252s # End of permission tests 1252s TAP version 13 1252s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1252s 1..1 1252s ok - glib/memory-monitor-dbus.test 1252s # Running test: glib/gutils-user-database.test 1252s TAP version 14 1252s ok - glib/gutils-user-database.test 1252s # Running test: glib/documentportal.test 1252s # random seed: R02Sb7f0c56767479f3256280945be5d3057 1252s 1..1 1252s # Start of gutils tests 1252s ok 1 /gutils/get_user_database_entry 1252s # End of gutils tests 1252s TAP version 14 1252s # random seed: R02S21d05739be82129d04692b7b38046108 1252s 1..6 1252s # Start of document-portal tests 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-uri/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-X6QLOK3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1252s # Creating Document ID document-id-0 folder 1252s # Creating Document ID document-id-0 mapped to FD 13 (/tmp/test_documentportal_EMNOK3/test_document_portal_add_uri_TS5OK3) 1252s # fake-document-portal cancelled 1252s ok 1 /document-portal/add-uri 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-not-existent-uri/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-XPM2OK3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # fake-document-portal cancelled 1252s ok 2 /document-portal/add-not-existent-uri 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-existent-and-not-existent-uri/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-X02YOK3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # Creating Document ID document-id-0 folder 1252s # Creating Document ID document-id-0 mapped to FD 20 (/tmp/test_documentportal_EMNOK3/test_document_portal_add_existent_and_not_existent_uris_OB1OK3) 1252s # Creating Document ID document-id-1 folder 1252s # Creating Document ID document-id-1 mapped to FD 21 (/tmp/test_documentportal_EMNOK3/test_document_portal_add_existent_and_not_existent_uris_OB1OK3) 1252s # fake-document-portal cancelled 1252s ok 3 /document-portal/add-existent-and-not-existent-uri 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-symlink-uri/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-XTRXOK3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # Creating Document ID document-id-0 folder 1252s # Creating Document ID document-id-0 mapped to FD 24 (/tmp/test_documentportal_EMNOK3/test_document_portal_add_symlink_uri_4CG4J3) 1252s # Creating Document ID document-id-1 folder 1252s # Creating Document ID document-id-1 mapped to FD 25 (/tmp/test_documentportal_EMNOK3/test_document_portal_add_symlink_uri_4CG4J3) 1252s # fake-document-portal cancelled 1252s ok 4 /document-portal/add-symlink-uri 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/cache 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-id-path/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-X7ZC4J3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # fake-document-portal cancelled 1252s ok 5 /document-portal/add-uri-with-missing-doc-id-path 1252s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/home 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/cache 1252s ok - glib/documentportal.test 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-config2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/config 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data1:/tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/system-data2 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/data 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/state 1252s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_documentportal_EMNOK3/document-portal/add-uri-with-missing-doc-file/.dirs/runtime 1252s # Created mount point /tmp/test_documentportal_EMNOK3/fake-document-portal-X1W83J3/documents 1252s # Acquired a message bus connection 1252s # Acquired the name org.freedesktop.portal.Documents 1252s # Creating Document ID document-id-0 folder 1252s # fake-document-portal cancelled 1252s ok 6 /document-portal/add-uri-with-missing-doc-file 1252s # End of document-portal tests 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # Running test: glib/base64.test 1252s ok - glib/base64.test 1252s # Running test: glib/gdatetime.test 1252s TAP version 14 1252s # random seed: R02S7a6cbf0d859a747eafd1174eb0542742 1252s 1..28 1252s # Start of base64 tests 1252s ok 1 /base64/encode 1252s ok 2 /base64/decode 1252s ok 3 /base64/decode-inplace 1252s ok 4 /base64/encode-decode 1252s # Start of full tests 1252s ok 5 /base64/full/1 1252s ok 6 /base64/full/2 1252s ok 7 /base64/full/3 1252s ok 8 /base64/full/4 1252s # End of full tests 1252s # Start of encode tests 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1252s ok 9 /base64/encode/empty 1252s # Start of incremental tests 1252s # Start of small-block tests 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1252s ok 10 /base64/encode/incremental/small-block/1 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1252s ok 11 /base64/encode/incremental/small-block/2 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1252s ok 12 /base64/encode/incremental/small-block/3 1252s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1252s ok 13 /base64/encode/incremental/small-block/4 1252s # End of small-block tests 1252s # End of incremental tests 1252s # End of encode tests 1252s # Start of incremental tests 1252s # Start of nobreak tests 1252s ok 14 /base64/incremental/nobreak/1 1252s ok 15 /base64/incremental/nobreak/2 1252s ok 16 /base64/incremental/nobreak/3 1252s ok 17 /base64/incremental/nobreak/4-a 1252s ok 18 /base64/incremental/nobreak/4-b 1252s ok 19 /base64/incremental/nobreak/4-c 1252s # End of nobreak tests 1252s # Start of break tests 1252s ok 20 /base64/incremental/break/1 1252s ok 21 /base64/incremental/break/2 1252s ok 22 /base64/incremental/break/3 1252s # End of break tests 1252s # Start of smallblock tests 1252s ok 23 /base64/incremental/smallblock/1 1252s ok 24 /base64/incremental/smallblock/2 1252s ok 25 /base64/incremental/smallblock/3 1252s ok 26 /base64/incremental/smallblock/4 1252s # End of smallblock tests 1252s # End of incremental tests 1252s # Start of decode tests 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1252s ok 27 /base64/decode/empty 1252s # End of decode tests 1252s # Start of encode-decode tests 1252s # Vector 0: 1252s # Vector 1: f 1252s # Vector 2: fo 1252s # Vector 3: foo 1252s # Vector 4: foob 1252s # Vector 5: fooba 1252s # Vector 6: foobar 1252s ok 28 /base64/encode-decode/rfc4648 1252s # End of encode-decode tests 1252s # End of base64 tests 1252s TAP version 14 1252s # random seed: R02S67effa17fb301ef058da11bc825c8715 1252s 1..68 1252s # Start of GDateTime tests 1252s # Bug Reference: http://bugzilla.gnome.org/702674 1252s ok 1 /GDateTime/invalid 1252s ok 2 /GDateTime/add_days 1252s ok 3 /GDateTime/add_full 1252s ok 4 /GDateTime/add_hours 1252s ok 5 /GDateTime/add_minutes 1252s ok 6 /GDateTime/add_months 1252s ok 7 /GDateTime/add_seconds 1252s ok 8 /GDateTime/add_weeks 1252s ok 9 /GDateTime/add_years 1252s ok 10 /GDateTime/compare 1252s ok 11 /GDateTime/diff 1252s ok 12 /GDateTime/equal 1252s ok 13 /GDateTime/get_day_of_week 1252s ok 14 /GDateTime/get_day_of_month 1252s ok 15 /GDateTime/get_day_of_year 1252s ok 16 /GDateTime/get_hour 1252s ok 17 /GDateTime/get_microsecond 1252s ok 18 /GDateTime/get_minute 1252s ok 19 /GDateTime/get_month 1252s ok 20 /GDateTime/get_second 1252s ok 21 /GDateTime/get_utc_offset 1252s ok 22 /GDateTime/get_year 1252s ok 23 /GDateTime/hash 1252s ok 24 /GDateTime/new_from_unix 1252s ok 25 /GDateTime/new_from_unix_utc 1252s ok 26 /GDateTime/new_from_timeval 1252s ok 27 /GDateTime/new_from_timeval_utc 1252s ok 28 /GDateTime/new_from_iso8601 1252s ok 29 /GDateTime/new_full 1252s ok 30 /GDateTime/now 1252s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1252s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1252s # %a -> expected: Sat 1252s # %a -> actual: Sat 1252s # %A -> expected: Saturday 1252s # %A -> actual: Saturday 1252s # %b -> expected: Oct 1252s # %b -> actual: Oct 1252s # %B -> expected: October 1252s # %B -> actual: October 1252s # %d -> expected: 24 1252s # %d -> actual: 24 1252s # %d -> expected: 01 1252s # %d -> actual: 01 1252s # %e -> expected: 24 1252s # %e -> actual: 24 1252s # %e -> expected:  1 1252s # %e -> actual:  1 1252s # %f -> expected: 001000 1252s # %f -> actual: 001000 1252s # %h -> expected: Oct 1252s # %h -> actual: Oct 1252s # %H -> expected: 00 1252s # %H -> actual: 00 1252s # %H -> expected: 15 1252s # %H -> actual: 15 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %I -> expected: 03 1252s # %I -> actual: 03 1252s # %j -> expected: 297 1252s # %j -> actual: 297 1252s # %k -> expected:  0 1252s # %k -> actual:  0 1252s # %k -> expected: 13 1252s # %k -> actual: 13 1252s # %l -> expected: 12 1252s # %l -> actual: 12 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %l -> expected:  1 1252s # %l -> actual:  1 1252s # %l -> expected: 10 1252s # %l -> actual: 10 1252s # %m -> expected: 10 1252s # %m -> actual: 10 1252s # %M -> expected: 00 1252s # %M -> actual: 00 1252s # %p -> expected: AM 1252s # %p -> actual: AM 1252s # %p -> expected: PM 1252s # %p -> actual: PM 1252s # %P -> expected: am 1252s # %P -> actual: am 1252s # %P -> expected: pm 1252s # %P -> actual: pm 1252s # %r -> expected: 12:00:00 AM 1252s # %r -> actual: 12:00:00 AM 1252s # %r -> expected: 01:13:13 PM 1252s # %r -> actual: 01:13:13 PM 1252s # %R -> expected: 00:00 1252s # %R -> actual: 00:00 1252s # %R -> expected: 13:13 1252s # %R -> actual: 13:13 1252s # %S -> expected: 00 1252s # %S -> actual: 00 1252s # %t -> expected: 1252s # %t -> actual: 1252s # %u -> expected: 6 1252s # %u -> actual: 6 1252s # %x -> expected: 10/24/09 1252s # %x -> actual: 10/24/09 1252s # %X -> expected: 00:00:00 1252s # %X -> actual: 00:00:00 1252s # %X -> expected: 13:14:15 1252s # %X -> actual: 13:14:15 1252s # %y -> expected: 09 1252s # %y -> actual: 09 1252s # %Y -> expected: 2009 1252s # %Y -> actual: 2009 1252s # %% -> expected: % 1252s # %% -> actual: % 1252s # % -> expected: 1252s # % -> actual: 1252s # %9 -> expected: (null) 1252s # %9 -> actual: (null) 1252s # %Z -> expected: UTC 1252s # %Z -> actual: UTC 1252s # %#Z %Z -> expected: utc UTC 1252s # %#Z %Z -> actual: utc UTC 1252s ok 32 /GDateTime/printf 1252s # %a -> expected: 土 1252s # %a -> actual: 土 1252s # %A -> expected: 土曜日 1252s # %A -> actual: 土曜日 1252s # %b -> expected: 10月 1252s # %b -> actual: 10月 1252s # %B -> expected: 10月 1252s # %B -> actual: 10月 1252s # %c -> expected: 2009年10月24日 00時00分00秒 1252s # %c -> actual: 2009年10月24日 00時00分00秒 1252s # %C -> expected: 20 1252s # %C -> actual: 20 1252s # %d -> expected: 24 1252s # %d -> actual: 24 1252s # %d -> expected: 01 1252s # %d -> actual: 01 1252s # %e -> expected: 24 1252s # %e -> actual: 24 1252s # %h -> expected: 10月 1252s # %h -> actual: 10月 1252s # %H -> expected: 00 1252s # %H -> actual: 00 1252s # %H -> expected: 15 1252s # %H -> actual: 15 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %I -> expected: 03 1252s # %I -> actual: 03 1252s # %j -> expected: 297 1252s # %j -> actual: 297 1252s # %k -> expected:  0 1252s # %k -> actual:  0 1252s # %k -> expected: 13 1252s # %k -> actual: 13 1252s # %l -> expected: 12 1252s # %l -> actual: 12 1252s # %I -> expected: 12 1252s # %I -> actual: 12 1252s # %l -> expected:  1 1252s # %l -> actual:  1 1252s # %l -> expected: 10 1252s # %l -> actual: 10 1252s # %m -> expected: 10 1252s # %m -> actual: 10 1252s # %M -> expected: 00 1252s # %M -> actual: 00 1252s # %p -> expected: 午前 1252s # %p -> actual: 午前 1252s # %p -> expected: 午後 1252s # %p -> actual: 午後 1252s # %P -> expected: 午前 1252s # %P -> actual: 午前 1252s # %P -> expected: 午後 1252s # %P -> actual: 午後 1252s # %r -> expected: 午前12時00分00秒 1252s # %r -> actual: 午前12時00分00秒 1252s # %r -> expected: 午後01時13分13秒 1252s # %r -> actual: 午後01時13分13秒 1252s # %R -> expected: 00:00 1252s # %R -> actual: 00:00 1252s # %R -> expected: 13:13 1252s # %R -> actual: 13:13 1252s # %S -> expected: 00 1252s # %S -> actual: 00 1252s # %t -> expected: 1252s # %t -> actual: 1252s # %u -> expected: 6 1252s # %u -> actual: 6 1252s # %x -> expected: 2009年10月24日 1252s # %x -> actual: 2009年10月24日 1252s # %X -> expected: 00時00分00秒 1252s # %X -> actual: 00時00分00秒 1252s # %X -> expected: 13時14分15秒 1252s # %X -> actual: 13時14分15秒 1252s # %y -> expected: 09 1252s # %y -> actual: 09 1252s # %Y -> expected: 2009 1252s # %Y -> actual: 2009 1252s # %% -> expected: % 1252s # %% -> actual: % 1252s # % -> expected: 1252s # % -> actual: 1252s # %9 -> expected: (null) 1252s # %9 -> actual: (null) 1252s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1252s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1252s # %EC -> expected: 平成 1252s # %EC -> actual: 平成 1252s # %Ex -> expected: 平成21年10月24日 1252s # %Ex -> actual: 平成21年10月24日 1252s # %EX -> expected: 00時00分00秒 1252s # %EX -> actual: 00時00分00秒 1252s # %Ey -> expected: 21 1252s # %Ey -> actual: 21 1252s # %EY -> expected: 平成21年 1252s # %EY -> actual: 平成21年 1252s ok 33 /GDateTime/non_utf8_printf 1252s # ąśćł -> expected: ąśćł 1252s # ąśćł -> actual: ąśćł 1252s # %H∶%M -> expected: 23∶15 1252s # %H∶%M -> actual: 23∶15 1252s # %H∶%M -> expected: 23∶15 1252s # %H∶%M -> actual: 23∶15 1252s ok 34 /GDateTime/format_unrepresentable 1252s ok 35 /GDateTime/format_iso8601 1252s ok 36 /GDateTime/strftime 1252s # %d -> expected: 01 1252s # %d -> actual: 01 1252s # %_d -> expected: 1 1252s # %_d -> actual: 1 1252s # %-d -> expected: 1 1252s # %-d -> actual: 1 1252s # %0d -> expected: 01 1252s # %0d -> actual: 01 1252s # %d -> expected: 21 1252s # %d -> actual: 21 1252s # %_d -> expected: 21 1252s # %_d -> actual: 21 1252s # %-d -> expected: 21 1252s # %-d -> actual: 21 1252s # %0d -> expected: 21 1252s # %0d -> actual: 21 1252s # %e -> expected:  1 1252s # %e -> actual:  1 1252s # %_e -> expected: 1 1252s # %_e -> actual: 1 1252s # %-e -> expected: 1 1252s # %-e -> actual: 1 1252s # %0e -> expected: 01 1252s # %0e -> actual: 01 1252s # %e -> expected: 21 1252s # %e -> actual: 21 1252s # %_e -> expected: 21 1252s # %_e -> actual: 21 1252s # %-e -> expected: 21 1252s # %-e -> actual: 21 1252s # %0e -> expected: 21 1252s # %0e -> actual: 21 1252s # %a -> expected: Thu 1252s # %a -> actual: Thu 1252s # %^a -> expected: THU 1252s # %^a -> actual: THU 1252s # %#a -> expected: THU 1252s # %#a -> actual: THU 1252s # %A -> expected: Thursday 1252s # %A -> actual: Thursday 1252s # %^A -> expected: THURSDAY 1252s # %^A -> actual: THURSDAY 1252s # %#A -> expected: THURSDAY 1252s # %#A -> actual: THURSDAY 1252s # %b -> expected: Jan 1252s # %b -> actual: Jan 1252s # %^b -> expected: JAN 1252s # %^b -> actual: JAN 1252s # %#b -> expected: JAN 1252s # %#b -> actual: JAN 1252s # %B -> expected: January 1252s # %B -> actual: January 1252s # %^B -> expected: JANUARY 1252s # %^B -> actual: JANUARY 1252s # %#B -> expected: JANUARY 1252s # %#B -> actual: JANUARY 1252s # %h -> expected: Jan 1252s # %h -> actual: Jan 1252s # %^h -> expected: JAN 1252s # %^h -> actual: JAN 1252s # %#h -> expected: JAN 1252s # %#h -> actual: JAN 1252s # %Z -> expected: UTC 1252s # %Z -> actual: UTC 1252s # %^Z -> expected: UTC 1252s # %^Z -> actual: UTC 1252s # %#Z -> expected: utc 1252s # %#Z -> actual: utc 1252s # %H -> expected: 01 1252s # %H -> actual: 01 1252s # %_H -> expected: 1 1252s # %_H -> actual: 1 1252s # %-H -> expected: 1 1252s # %-H -> actual: 1 1252s # %0H -> expected: 01 1252s # %0H -> actual: 01 1252s # %H -> expected: 21 1252s # %H -> actual: 21 1252s # %_H -> expected: 21 1252s # %_H -> actual: 21 1252s # %-H -> expected: 21 1252s # %-H -> actual: 21 1252s # %0H -> expected: 21 1252s # %0H -> actual: 21 1252s # %I -> expected: 01 1252s # %I -> actual: 01 1252s # %_I -> expected: 1 1252s # %_I -> actual: 1 1252s # %-I -> expected: 1 1252s # %-I -> actual: 1 1252s # %0I -> expected: 01 1252s # %0I -> actual: 01 1252s # %I -> expected: 11 1252s # %I -> actual: 11 1252s # %_I -> expected: 11 1252s # %_I -> actual: 11 1252s # %-I -> expected: 11 1252s # %-I -> actual: 11 1252s # %0I -> expected: 11 1252s # %0I -> actual: 11 1252s # %k -> expected:  1 1252s # %k -> actual:  1 1252s # %_k -> expected: 1 1252s # %_k -> actual: 1 1252s # %-k -> expected: 1 1252s # %-k -> actual: 1 1252s # %0k -> expected: 01 1252s # %0k -> actual: 01 1252s # %l -> expected:  1 1252s # %l -> actual:  1 1252s # %_l -> expected: 1 1252s # %_l -> actual: 1 1252s # %-l -> expected: 1 1252s # %-l -> actual: 1 1252s # %0l -> expected: 01 1252s # %0l -> actual: 01 1252s # %l -> expected: 11 1252s # %l -> actual: 11 1252s # %_l -> expected: 11 1252s # %_l -> actual: 11 1252s # %-l -> expected: 11 1252s # %-l -> actual: 11 1252s # %0l -> expected: 11 1252s # %0l -> actual: 11 1252s # %p -> expected: AM 1252s # %p -> actual: AM 1252s # %^p -> expected: AM 1252s # %^p -> actual: AM 1252s # %#p -> expected: am 1252s # %#p -> actual: am 1252s # %P -> expected: am 1252s # %P -> actual: am 1252s # %^P -> expected: AM 1252s # %^P -> actual: AM 1252s # %#P -> expected: am 1252s # %#P -> actual: am 1252s # %OH -> expected: ۲۳ 1252s # %OH -> actual: ۲۳ 1252s # %OI -> expected: ۱۱ 1252s # %OI -> actual: ۱۱ 1252s # %OM -> expected: ۰۰ 1252s # %OM -> actual: ۰۰ 1252s # %Om -> expected: ۰۷ 1252s # %Om -> actual: ۰۷ 1252s # %0Om -> expected: ۰۷ 1252s # %0Om -> actual: ۰۷ 1252s # %-Om -> expected: ۷ 1252s # %-Om -> actual: ۷ 1252s # %_Om -> expected: ۷ 1252s # %_Om -> actual: ۷ 1252s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1252s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1252s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1252s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1252s # %C -> expected: 20 1252s # %C -> actual: 20 1252s # %EC -> expected: 20 1252s # %EC -> actual: 20 1252s # %x -> expected: 02/01/09 1252s # %x -> actual: 02/01/09 1252s # %Ex -> expected: 02/01/09 1252s # %Ex -> actual: 02/01/09 1252s # %X -> expected: 01:02:03 1252s # %X -> actual: 01:02:03 1252s # %EX -> expected: 01:02:03 1252s # %EX -> actual: 01:02:03 1252s # %y -> expected: 09 1252s # %y -> actual: 09 1252s # %Ey -> expected: 09 1252s # %Ey -> actual: 09 1252s # %Y -> expected: 2009 1252s # %Y -> actual: 2009 1252s # %EY -> expected: 2009 1252s # %EY -> actual: 2009 1252s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1252s # Bug Reference: http://bugzilla.gnome.org/749206 1252s # %B -> expected: January 1252s # %B -> actual: January 1252s # %OB -> expected: February 1252s # %OB -> actual: February 1252s # %b -> expected: Mar 1252s # %b -> actual: Mar 1252s # %Ob -> expected: Apr 1252s # %Ob -> actual: Apr 1252s # %h -> expected: May 1252s # %h -> actual: May 1252s # %Oh -> expected: Jun 1252s # %Oh -> actual: Jun 1252s # %B -> expected: Juli 1252s # %B -> actual: Juli 1252s # %OB -> expected: August 1252s # %OB -> actual: August 1252s # %b -> expected: Sep 1252s # %b -> actual: Sep 1252s # %Ob -> expected: Okt 1252s # %Ob -> actual: Okt 1252s # %h -> expected: Nov 1252s # %h -> actual: Nov 1252s # %Oh -> expected: Dez 1252s # %Oh -> actual: Dez 1252s # %B -> expected: enero 1252s # %B -> actual: enero 1252s # %OB -> expected: febrero 1252s # %OB -> actual: febrero 1252s # %b -> expected: mar 1252s # %b -> actual: mar 1252s # %Ob -> expected: abr 1252s # %Ob -> actual: abr 1252s # %h -> expected: may 1252s # %h -> actual: may 1252s # %Oh -> expected: jun 1252s # %Oh -> actual: jun 1252s # %B -> expected: juillet 1252s # %B -> actual: juillet 1252s # %OB -> expected: août 1252s # %OB -> actual: août 1252s # %b -> expected: sept. 1252s # %b -> actual: sept. 1252s # %Ob -> expected: oct. 1252s # %Ob -> actual: oct. 1252s # %h -> expected: nov. 1252s # %h -> actual: nov. 1252s # %Oh -> expected: déc. 1252s # %Oh -> actual: déc. 1252s # %B -> expected: Ιανουαρίου 1252s # %B -> actual: Ιανουαρίου 1252s # %B -> expected: Φεβρουαρίου 1252s # %B -> actual: Φεβρουαρίου 1252s # %B -> expected: Μαρτίου 1252s # %B -> actual: Μαρτίου 1252s # %OB -> expected: Απρίλιος 1252s # %OB -> actual: Απρίλιος 1252s # %OB -> expected: Μάιος 1252s # %OB -> actual: Μάιος 1252s # %OB -> expected: Ιούνιος 1252s # %OB -> actual: Ιούνιος 1252s # %b -> expected: Ιουλ 1252s # %b -> actual: Ιουλ 1252s # %Ob -> expected: Αύγ 1252s # %Ob -> actual: Αύγ 1252s # %B -> expected: svibnja 1252s # %B -> actual: svibnja 1252s # %B -> expected: lipnja 1252s # %B -> actual: lipnja 1252s # %B -> expected: srpnja 1252s # %B -> actual: srpnja 1252s # %OB -> expected: Kolovoz 1252s # %OB -> actual: kolovoz 1252s # %OB -> expected: Rujan 1252s # %OB -> actual: rujan 1252s # %OB -> expected: Listopad 1252s # %OB -> actual: listopad 1252s # %b -> expected: Stu 1252s # %b -> actual: stu 1252s # %Ob -> expected: Pro 1252s # %Ob -> actual: pro 1252s # %B -> expected: sausio 1252s # %B -> actual: sausio 1252s # %B -> expected: vasario 1252s # %B -> actual: vasario 1252s # %B -> expected: kovo 1252s # %B -> actual: kovo 1252s # %OB -> expected: balandis 1252s # %OB -> actual: balandis 1252s # %OB -> expected: gegužė 1252s # %OB -> actual: gegužė 1252s # %OB -> expected: birželis 1252s # %OB -> actual: birželis 1252s # %b -> expected: liep. 1252s # %b -> actual: liep. 1252s # %Ob -> expected: rugp. 1252s # %Ob -> actual: rugp. 1252s # %B -> expected: maja 1252s # %B -> actual: maja 1252s # %B -> expected: czerwca 1252s # %B -> actual: czerwca 1252s # %B -> expected: lipca 1252s # %B -> actual: lipca 1252s # %OB -> expected: sierpień 1252s # %OB -> actual: sierpień 1252s # %OB -> expected: wrzesień 1252s # %OB -> actual: wrzesień 1252s # %OB -> expected: październik 1252s # %OB -> actual: październik 1252s # %b -> expected: lis 1252s # %b -> actual: lis 1252s # %Ob -> expected: gru 1252s # %Ob -> actual: gru 1252s # %B -> expected: января 1252s # %B -> actual: января 1252s # %B -> expected: февраля 1252s # %B -> actual: февраля 1252s # %B -> expected: марта 1252s # %B -> actual: марта 1252s # %OB -> expected: Апрель 1252s # %OB -> actual: Апрель 1252s # %OB -> expected: Май 1252s # %OB -> actual: Май 1252s # %OB -> expected: Июнь 1252s # %OB -> actual: Июнь 1252s # %b -> expected: июл 1252s # %b -> actual: июл 1252s # %Ob -> expected: авг 1252s # %Ob -> actual: авг 1252s # %b -> expected: мая 1252s # %b -> actual: мая 1252s # %Ob -> expected: май 1252s # %Ob -> actual: май 1252s ok 38 /GDateTime/month_names 1252s ok 39 /GDateTime/to_local 1252s ok 40 /GDateTime/to_unix 1252s ok 41 /GDateTime/to_timeval 1252s ok 42 /GDateTime/to_utc 1252s ok 43 /GDateTime/now_utc 1252s ok 44 /GDateTime/dst 1252s # Bug Reference: http://bugzilla.gnome.org/642935 1252s ok 45 /GDateTime/test_z 1252s # Executing: glib/gdatetime.test 1253s ok 46 /GDateTime/test-all-dates 1253s # slow test /GDateTime/test-all-dates executed in 1.31 secs 1253s ok 47 /GDateTime/unix_usec 1253s # Start of new_from_unix tests 1253s # Bug Reference: http://bugzilla.gnome.org/782089 1253s ok 48 /GDateTime/new_from_unix/overflow 1253s # End of new_from_unix tests 1253s # Start of new_from_timeval tests 1253s # Bug Reference: http://bugzilla.gnome.org/782089 1253s # Maximum supported GTimeVal.tv_sec = 253402300799 1253s ok 49 /GDateTime/new_from_timeval/overflow 1253s # End of new_from_timeval tests 1253s # Start of new_from_iso8601 tests 1253s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1253s # Vector 0: 1990-11-01T10:21:17Z 1253s # Vector 1: 19901101T102117Z 1253s # Vector 2: 1970-01-01T00:00:17.12Z 1253s # Vector 3: 1970-01-01T00:00:17.1234Z 1253s # Vector 4: 1970-01-01T00:00:17.123456Z 1253s # Vector 5: 1980-02-22T12:36:00+02:00 1253s # Vector 6: 1990-12-31T15:59:60-08:00 1253s # Vector 7: 1253s # Vector 8: x 1253s # Vector 9: 123x 1253s # Vector 10: 2001-10+x 1253s # Vector 11: 1980-02-22T 1253s # Vector 12: 2001-10-08Tx 1253s # Vector 13: 2001-10-08T10:11x 1253s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1253s # Vector 15: 1980-02-22T10:36:00Zulu 1253s # Vector 16: 2T0+819855292164632335 1253s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1253s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1253s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1253s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1253s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1253s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1253s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1253s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1253s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1253s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1253s # Vector 27: 20180803T140805.446178377+0100 1253s # Vector 28: 21474836480803T140805.446178377+0100 1253s # Vector 29: 20181303T140805.446178377+0100 1253s # Vector 30: 20180003T140805.446178377+0100 1253s # Vector 31: 20180800T140805.446178377+0100 1253s # Vector 32: 20180832T140805.446178377+0100 1253s # Vector 33: 20180803T240805.446178377+0100 1253s # Vector 34: 20180803T146005.446178377+0100 1253s # Vector 35: 20180803T140863.446178377+0100 1253s # Vector 36: 20180803T140805.446178377+10000 1253s # Vector 37: -0005-01-01T00:00:00Z 1253s # Vector 38: 2018-08-06 1253s # Vector 39: 20180803T140805,446178377+0100 1253s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1253s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1253s # Vector 42: 1990-11-01T10:21:17 1253s # Vector 43: 1719W462 407777-07 1253s # Vector 44: 4011090 260528Z 1253s # Vector 45: 0000W011 228214-22 1253s ok 50 /GDateTime/new_from_iso8601/2 1253s # End of new_from_iso8601 tests 1253s # Start of format_mixed tests 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1253s # %b -> expected: mar 1253s # %b -> actual: Mar 1253s # %B -> expected: march 1253s # %B -> actual: March 1253s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1253s # %b -> expected: mar 1253s # %b -> actual: Mar 1253s # %B -> expected: march 1253s # %B -> actual: March 1253s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1253s # %b -> expected: Mär 1253s # %b -> actual: Mär 1253s # %B -> expected: März 1253s # %B -> actual: März 1253s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1253s # %b -> expected: Mär 1253s # %b -> actual: Mär 1253s # %B -> expected: März 1253s # %B -> actual: März 1253s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1253s # End of format_mixed tests 1253s # Start of strftime tests 1253s # %r -> expected: (null) 1253s # %r -> actual: (null) 1253s ok 55 /GDateTime/strftime/error_handling 1253s # End of strftime tests 1253s # Start of eras tests 1253s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1253s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1253s # %EC -> expected: 令和 1253s # %EC -> actual: 令和 1253s # %Ex -> expected: 令和05年06月01日 1253s # %Ex -> actual: 令和05年06月01日 1253s # %EX -> expected: 00時00分00秒 1253s # %EX -> actual: 00時00分00秒 1253s # %Ey -> expected: 05 1253s # %Ey -> actual: 05 1253s # %EY -> expected: 令和05年 1253s # %EY -> actual: 令和05年 1253s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1253s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1253s # %EC -> expected: 平成 1253s # %EC -> actual: 平成 1253s # %Ex -> expected: 平成31年04月30日 1253s # %Ex -> actual: 平成31年04月30日 1253s # %EX -> expected: 00時00分00秒 1253s # %EX -> actual: 00時00分00秒 1253s # %Ey -> expected: 31 1253s # %Ey -> actual: 31 1253s # %EY -> expected: 平成31年 1253s # %EY -> actual: 平成31年 1253s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1253s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1253s # %EC -> expected: 昭和 1253s # %EC -> actual: 昭和 1253s # %Ex -> expected: 昭和元年12月25日 1253s # %Ex -> actual: 昭和元年12月25日 1253s # %EX -> expected: 00時00分00秒 1253s # %EX -> actual: 00時00分00秒 1253s # %Ey -> expected: 01 1253s # %Ey -> actual: 01 1253s # %EY -> expected: 昭和元年 1253s # %EY -> actual: 昭和元年 1253s ok 56 /GDateTime/eras/japan 1253s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1253s # Vector 0: 1253s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1253s # 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年 1253s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1253s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1253s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1253s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1253s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1253s # Vector 8: + 1253s # Vector 9: +: 1253s # Vector 10: +:: 1253s # Vector 11: +:200 1253s # Vector 12: +:2nonsense 1253s # Vector 13: +:2nonsense: 1253s # Vector 14: +:2: 1253s # Vector 15: +:2:: 1253s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1253s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1253s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1253s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1253s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1253s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1253s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1253s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1253s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1253s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1253s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1253s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1253s # Vector 28: +:2:2020/01/01 1253s # Vector 29: +:2:2020/01/01: 1253s # Vector 30: +:2:2020/01/01:: 1253s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1253s # Vector 32: +:2:2020/01/01:+* 1253s # Vector 33: +:2:2020/01/01:+*: 1253s # Vector 34: +:2:2020/01/01:+*:: 1253s # Vector 35: +:2:2020/01/01:+*:令和 1253s # Vector 36: +:2:2020/01/01:+*:令和: 1253s # Vector 37: +:2:2020/01/01:+*:令和:; 1253s ok 58 /GDateTime/eras/parsing 1253s # End of eras tests 1253s # End of GDateTime tests 1253s # Start of GTimeZone tests 1253s ok 59 /GTimeZone/find-interval 1253s ok 60 /GTimeZone/adjust-time 1253s ok 61 /GTimeZone/no-header 1253s ok 62 /GTimeZone/no-header-identifier 1253s ok 63 /GTimeZone/posix-parse 1253s # Bug Reference: http://bugzilla.gnome.org/697715 1253s ok 64 /GTimeZone/floating-point 1253s # System time zone identifier: Etc/UTC 1253s ok 65 /GTimeZone/identifier 1253s # Vector 0: -158400 1253s # Vector 1: -10000 1253s # Vector 2: -3600 1253s # Vector 3: -61 1253s # Vector 4: -60 1253s # Vector 5: -59 1253s # Vector 6: 0 1253s # Vector 7: 59 1253s # Vector 8: 60 1253s # Vector 9: 61 1253s # Vector 10: 3600 1253s # Vector 11: 10000 1253s # Vector 12: 158400 1253s ok 66 /GTimeZone/new-offset 1253s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1253s ok 67 /GTimeZone/parse-rfc8536 1253s # /GTimeZone/caching summary: GTimeZone instances are cached 1253s ok 68 /GTimeZone/caching 1253s # End of GTimeZone tests 1253s TAP version 14 1253s # random seed: R02S18ca4e540a492d5a811518494ec37dc4 1253s 1..13 1253s # Start of appinfo tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1253s ok 1 /appinfo/all 1253s # Start of mime tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config 1253s ok 2 /appinfo/mime/api 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config 1253s ok 3 /appinfo/mime/default 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s ok - glib/gdatetime.test 1253s # Running test: glib/mimeapps.test 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config 1253s ok 4 /appinfo/mime/file 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/config 1253s ok 5 /appinfo/mime/scheme-handler 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config 1253s ok 6 /appinfo/mime/default-last-used 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/config 1253s ok 7 /appinfo/mime/ignore-nonexisting 1253s # End of mime tests 1253s # Start of mime-symlinked tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1253s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config 1253s ok 8 /appinfo/mime-symlinked/api 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config 1253s ok 9 /appinfo/mime-symlinked/default 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/runtime 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1253s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1253s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config 1253s ok 10 /appinfo/mime-symlinked/file 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1254s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1254s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1254s ok 11 /appinfo/mime-symlinked/scheme-handler 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1254s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1254s ok - glib/mimeapps.test 1254s # Running test: glib/bitlock.test 1254s ok - glib/bitlock.test 1254s # Running test: glib/onceinit.test 1254s ok 12 /appinfo/mime-symlinked/default-last-used 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1254s # removing '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1254s # creating '/tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1254s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_BHJGK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1254s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1254s # End of mime-symlinked tests 1254s # End of appinfo tests 1254s TAP version 14 1254s # random seed: R02Seacbf1c4918c521b4519a64aa73fce96 1254s 1..2 1254s # Start of bitlock tests 1254s # Start of performance tests 1254s # max perf: iterations per second 1254s ok 1 /bitlock/performance/uncontended 1254s ok 2 /bitlock/performance/parallel 1254s # End of performance tests 1254s # End of bitlock tests 1254s TAP version 14 1254s # random seed: R02S33e4cef1f6c86856f88f031c4dad6514 1254s 1..1 1254s # Start of thread tests 1254s ok - glib/onceinit.test 1254s # Running test: glib/resources.test 1254s ok 1 /thread/onceinit 1254s # End of thread tests 1254s TAP version 14 1254s # random seed: R02Sd946fd5d6b97f31f9f664ffd0ee62416 1254s 1..19 1254s # Start of resource tests 1254s ok 1 /resource/file 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1254s ok 2 /resource/file-path 1254s ok 3 /resource/data 1254s ok 4 /resource/data_unaligned 1254s ok 5 /resource/data-corrupt 1254s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1254s ok 6 /resource/data-corrupt-compression 1254s ok 7 /resource/data-empty 1254s ok 8 /resource/registered 1254s ok 9 /resource/manual 1254s ok 10 /resource/manual2 1254s ok 11 /resource/automatic 1254s ok 12 /resource/module 1254s ok 13 /resource/binary-linked 1254s ok 14 /resource/64k 1254s GLib-GIO-Message: 16:19:52.364: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1254s GLib-GIO-Message: 16:19:52.364: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1254s GLib-GIO-Message: 16:19:52.364: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1254s ok 15 /resource/overlay 1254s ok - glib/resources.test 1254s # Running test: glib/resolver-parsing.test 1254s ok 16 /resource/digits 1254s ok 17 /resource/has-children 1254s # Start of uri tests 1254s ok 18 /resource/uri/query-info 1254s ok 19 /resource/uri/file 1254s # End of uri tests 1254s # End of resource tests 1254s TAP version 14 1254s # random seed: R02S0e7f05117e1e7a2ba4bc741922a5ae94 1254s 1..21 1254s # Start of gresolver tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/invalid-header/.dirs/runtime 1254s ok 1 /gresolver/invalid-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/record-ownership/.dirs/runtime 1254s ok 2 /gresolver/record-ownership 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/unknown-record-type/.dirs/runtime 1254s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1254s ok 3 /gresolver/unknown-record-type 1254s # Start of mx tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/valid/.dirs/runtime 1254s ok 4 /gresolver/mx/valid 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/.dirs/runtime 1254s ok 5 /gresolver/mx/invalid 1254s # Start of invalid tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short/.dirs/runtime 1254s ok 6 /gresolver/mx/invalid/too-short 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/mx/invalid/too-short2/.dirs/runtime 1254s ok 7 /gresolver/mx/invalid/too-short2 1254s # End of invalid tests 1254s # End of mx tests 1254s # Start of ns tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/valid/.dirs/runtime 1254s ok 8 /gresolver/ns/valid 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/ns/invalid/.dirs/runtime 1254s ok 9 /gresolver/ns/invalid 1254s # End of ns tests 1254s # Start of soa tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/valid/.dirs/runtime 1254s ok 10 /gresolver/soa/valid 1254s # Start of invalid tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/mname/.dirs/runtime 1254s ok 11 /gresolver/soa/invalid/mname 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/rname/.dirs/runtime 1254s ok 12 /gresolver/soa/invalid/rname 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/soa/invalid/too-short/.dirs/runtime 1254s ok 13 /gresolver/soa/invalid/too-short 1254s # End of invalid tests 1254s # End of soa tests 1254s # Start of srv tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/valid/.dirs/runtime 1254s ok 14 /gresolver/srv/valid 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/.dirs/runtime 1254s ok 15 /gresolver/srv/invalid 1254s # Start of invalid tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short/.dirs/runtime 1254s ok 16 /gresolver/srv/invalid/too-short 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/srv/invalid/too-short2/.dirs/runtime 1254s ok 17 /gresolver/srv/invalid/too-short2 1254s # End of invalid tests 1254s # End of srv tests 1254s # Start of txt tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/.dirs/runtime 1254s ok 18 /gresolver/txt/valid 1254s # Start of valid tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1254s ok 19 /gresolver/txt/valid/multiple-strings 1254s # End of valid tests 1254s # Start of invalid tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/empty/.dirs/runtime 1254s ok 20 /gresolver/txt/invalid/empty 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FATLK3/gresolver/txt/invalid/overflow/.dirs/runtime 1254s ok 21 /gresolver/txt/invalid/overflow 1254s # End of invalid tests 1254s # End of txt tests 1254s # End of gresolver tests 1254s TAP version 14 1254s # random seed: R02S7d5dd8b85c49e40e70371b1427fd9060 1254s 1..1 1254s # Start of portal-support tests 1254s # Start of flatpak tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/runtime 1254s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_T48LK3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1254s ok 1 /portal-support/flatpak/network 1254s # End of flatpak tests 1254s # End of portal-support tests 1254s ok - glib/resolver-parsing.test 1254s # Running test: glib/portal-support-flatpak-network-only.test 1254s ok - glib/portal-support-flatpak-network-only.test 1254s # Running test: glib/gdbus-proxy.test 1254s TAP version 14 1254s # random seed: R02Sf2a87d92d8d93198c81a2aac2241a56b 1254s 1..5 1254s # Start of gdbus tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/.dirs/runtime 1255s ok 1 /gdbus/proxy 1255s # slow test /gdbus/proxy executed in 1.72 secs 1255s # Start of proxy tests 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-properties/.dirs/runtime 1255s ok 2 /gdbus/proxy/no-properties 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1255s ok 3 /gdbus/proxy/wellknown-noauto 1255s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/home 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/cache 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/system-config2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/config 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/system-data2 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/data 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/state 1255s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/async/.dirs/runtime 1257s ok 4 /gdbus/proxy/async 1257s # slow test /gdbus/proxy/async executed in 1.74 secs 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_1C6LK3/gdbus/proxy/no-match-rule/.dirs/runtime 1257s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1257s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1257s # Executing: glib/gdbus-proxy.test 1259s ok - glib/gdbus-proxy.test 1259s ok 5 /gdbus/proxy/no-match-rule 1259s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1259s # End of proxy tests 1259s # End of gdbus tests 1259s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1259s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1259s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1259s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1259s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1259s # Running test: glib/qdata.test 1259s TAP version 14 1259s # random seed: R02S3720d25a162fed0558b1c9c43c5120de 1259s 1..2 1259s # Start of qdata tests 1259s ok 1 /qdata/threaded 1259s ok 2 /qdata/dup 1259s # End of qdata tests 1259s ok - glib/qdata.test 1259s # Running test: glib/asyncqueue.test 1259s TAP version 14 1259s # random seed: R02S1bf0eb5d41ac0baf5c227ccbf637a5a2 1259s 1..7 1259s # Start of asyncqueue tests 1259s ok 1 /asyncqueue/basics 1259s ok 2 /asyncqueue/sort 1259s ok 3 /asyncqueue/destroy 1259s ok 4 /asyncqueue/threads 1259s ok 5 /asyncqueue/timed 1259s ok 6 /asyncqueue/remove 1259s ok 7 /asyncqueue/push_front 1259s # End of asyncqueue tests 1259s ok - glib/asyncqueue.test 1259s # Running test: glib/gdbus-threading.test 1259s ok - glib/gdbus-threading.test 1259s TAP version 14 1259s # random seed: R02S83b8bd8ce19c5fe22a82ffb40ef85d48 1259s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1259s # Running test: glib/utils-c-89.test 1259s TAP version 14 1259s # random seed: R02S3200cadc5256aa88b826c09b6213aa17 1259s 1..41 1259s # Start of utils tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/language-names/.dirs/runtime 1259s ok 1 /utils/language-names 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/locale-variants/.dirs/runtime 1259s # Testing locale ‘en’ 1259s # Testing locale ‘sr@latin’ 1259s # Testing locale ‘fr_BE’ 1259s # Testing locale ‘sr_SR@latin’ 1259s # Testing locale ‘sr_SR@latin.UTF-8’ 1259s # Testing locale ‘sr@latin_invalid’ 1259s # Testing locale ‘sr.UTF-8@latin’ 1259s # Testing locale ‘sr.UTF-8_latin’ 1259s # Testing locale ‘sr.UTF-8@latin_invalid’ 1259s ok 2 /utils/locale-variants 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/version/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/version/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/version/.dirs/runtime 1259s ok 3 /utils/version 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/appname/.dirs/runtime 1259s ok 4 /utils/appname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/prgname-thread-safety/.dirs/runtime 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1259s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1259s ok 5 /utils/prgname-thread-safety 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/tmpdir/.dirs/runtime 1259s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1259s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/tmpdir: No such file or directory 1259s ok 6 /utils/tmpdir 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/basic_bits/.dirs/runtime 1259s ok 7 /utils/basic_bits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/bits/.dirs/runtime 1259s ok 8 /utils/bits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/swap/.dirs/runtime 1259s ok 9 /utils/swap 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/find-program/.dirs/runtime 1259s ok 10 /utils/find-program 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/find-program-for-path/.dirs/runtime 1259s ok 11 /utils/find-program-for-path 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/debug/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/debug: No such file or directory 1259s ok 12 /utils/debug 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/codeset/.dirs/runtime 1259s ok 13 /utils/codeset 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/codeset2/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/codeset2: No such file or directory 1259s ok 14 /utils/codeset2 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/console-charset/.dirs/runtime 1259s ok 15 /utils/console-charset 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/gettext/.dirs/runtime 1259s ok 16 /utils/gettext 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/username/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/username/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/username/.dirs/runtime 1259s ok 17 /utils/username 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/realname/.dirs/runtime 1259s ok 18 /utils/realname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/hostname/.dirs/runtime 1259s ok 19 /utils/hostname 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/os-info/.dirs/runtime 1259s # NAME: Ubuntu 1259s ok 20 /utils/os-info 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/.dirs/runtime 1259s ok 21 /utils/clear-pointer 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer-cast/.dirs/runtime 1259s ok 22 /utils/clear-pointer-cast 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/take-pointer/.dirs/runtime 1259s ok 23 /utils/take-pointer 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-source/.dirs/runtime 1259s ok 24 /utils/clear-source 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/misc-mem/.dirs/runtime 1259s ok 25 /utils/misc-mem 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/.dirs/runtime 1259s # /utils/aligned-mem summary: Aligned memory allocator 1259s # Alignment must not be zero 1259s # Alignment must be a power of two 1259s # Alignment must be a multiple of sizeof(void*) 1259s ok 26 /utils/aligned-mem 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/free-sized/.dirs/runtime 1259s # /utils/free-sized summary: Check that g_free_sized() works 1259s ok 27 /utils/free-sized 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/nullify/.dirs/runtime 1259s ok 28 /utils/nullify 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/atexit/.dirs/runtime 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/atexit: No such file or directory 1259s ok 29 /utils/atexit 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/check-setuid/.dirs/runtime 1259s ok 30 /utils/check-setuid 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/int-limits/.dirs/runtime 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1259s ok 31 /utils/int-limits 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-list/.dirs/runtime 1259s ok 32 /utils/clear-list 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-slist/.dirs/runtime 1259s ok 33 /utils/clear-slist 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/steal-handle-id/.dirs/runtime 1259s ok 34 /utils/steal-handle-id 1259s # Start of user-special-dirs tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/desktop/.dirs/runtime 1259s ok 35 /utils/user-special-dirs/desktop 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1259s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/load-unlocked: No such file or directory 1259s ok 36 /utils/user-special-dirs/load-unlocked 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1259s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1259s Unable to clean up temporary directory /tmp/test_utils-c-89_84TIK3/utils/user-special-dirs/reload-leaks: No such file or directory 1259s ok 37 /utils/user-special-dirs/reload-leaks 1259s # End of user-special-dirs tests 1259s # Start of clear-pointer tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/clear-pointer/side-effects/.dirs/runtime 1259s ok 38 /utils/clear-pointer/side-effects 1259s # End of clear-pointer tests 1259s # Start of aligned-mem tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/alignment/.dirs/runtime 1259s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1259s ok 39 /utils/aligned-mem/alignment 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/zeroed/.dirs/runtime 1259s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1259s ok 40 /utils/aligned-mem/zeroed 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_84TIK3/utils/aligned-mem/free-sized/.dirs/runtime 1259s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1259s ok 41 /utils/aligned-mem/free-sized 1259s # Start of subprocess tests 1259s # End of subprocess tests 1259s # End of aligned-mem tests 1259s # End of utils tests 1259s TAP version 14 1259s # random seed: R02Sdffb4878bcfe93a911603b7fb43d35cb 1259s 1..2 1259s # Start of atomic tests 1259s ok 1 /atomic/types 1259s ok - glib/utils-c-89.test 1259s # Running test: glib/atomic-c-89.test 1260s ok - glib/atomic-c-89.test 1260s # Running test: glib/option-argv0.test 1260s ok 2 /atomic/threaded 1260s # End of atomic tests 1260s ok - glib/option-argv0.test 1260s # Running test: glib/buffered-input-stream.test 1260s TAP version 14 1260s # random seed: R02Sb2ab3defd85e2701c22beb167824c287 1260s 1..1 1260s # Start of option tests 1260s ok 1 /option/argv0 1260s # End of option tests 1260s TAP version 14 1260s # random seed: R02S9e79e8391912ba897280ed18804c72d1 1260s 1..10 1260s # Start of buffered-input-stream tests 1260s ok 1 /buffered-input-stream/peek 1260s ok 2 /buffered-input-stream/peek-buffer 1260s ok 3 /buffered-input-stream/set-buffer-size 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1260s ok 4 /buffered-input-stream/read-byte 1260s ok 5 /buffered-input-stream/read 1260s ok 6 /buffered-input-stream/read-async 1260s ok 7 /buffered-input-stream/skip 1260s ok 8 /buffered-input-stream/skip-async 1260s ok 9 /buffered-input-stream/seek 1260s # End of buffered-input-stream tests 1260s # Start of filter-input-stream tests 1260s ok 10 /filter-input-stream/close 1260s # End of filter-input-stream tests 1260s ok - glib/buffered-input-stream.test 1260s # Running test: glib/unix-mounts.test 1260s ok - glib/unix-mounts.test 1260s TAP version 14 1260s # random seed: R02S16bdfe827aa20ed8852d79203e7654c5 1260s 1..5 1260s # Start of unix-mounts tests 1260s ok 1 /unix-mounts/is-system-fs-type 1260s ok 2 /unix-mounts/is-system-device-path 1260s # /unix-mounts/system-mount-paths-sorted summary: Verify that system_mount_paths array is sorted for bsearch 1260s ok 3 /unix-mounts/system-mount-paths-sorted 1260s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1260s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1260s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1260s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1260s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1260s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1260s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1260s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1260s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1260s ok 4 /unix-mounts/get-mount-points 1260s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1260s ok 5 /unix-mounts/get-mount-entries 1260s # End of unix-mounts tests 1260s # Running test: glib/refcount.test 1260s TAP version 14 1260s # random seed: R02Se9e529c53be2c5f64bd3119eb09dc4a9 1260s 1..4 1260s # Start of refcount tests 1260s ok 1 /refcount/grefcount 1260s ok 2 /refcount/gatomicrefcount 1260s # Start of grefcount tests 1260s ok 3 /refcount/grefcount/saturation 1260s # End of grefcount tests 1260s # Start of gatomicrefcount tests 1260s ok 4 /refcount/gatomicrefcount/saturation 1260s # End of gatomicrefcount tests 1260s # End of refcount tests 1260s ok - glib/refcount.test 1260s # Running test: glib/bindinggroup.test 1260s ok - glib/bindinggroup.test 1260s # Running test: glib/queue.test 1260s TAP version 14 1260s # random seed: R02S5235ab61f755f4924bcff5be5f5f7d51 1260s 1..11 1260s # Start of GObject tests 1260s # Start of BindingGroup tests 1260s ok 1 /GObject/BindingGroup/invalid 1260s ok 2 /GObject/BindingGroup/default 1260s ok 3 /GObject/BindingGroup/bidirectional 1260s ok 4 /GObject/BindingGroup/transform 1260s ok 5 /GObject/BindingGroup/transform-closures 1260s ok 6 /GObject/BindingGroup/same-object 1260s ok 7 /GObject/BindingGroup/weak-ref-source 1260s ok 8 /GObject/BindingGroup/weak-ref-target 1260s ok 9 /GObject/BindingGroup/properties 1260s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1260s ok 11 /GObject/BindingGroup/empty-closures 1260s # End of BindingGroup tests 1260s # End of GObject tests 1260s TAP version 14 1260s # random seed: R02S9ac24c8430752b5410d00e3856c17790 1260s 1..12 1260s # Start of queue tests 1260s ok 1 /queue/basic 1260s ok 2 /queue/copy 1260s ok 3 /queue/off-by-one 1260s ok 4 /queue/find-custom 1260s ok 5 /queue/static 1260s ok 6 /queue/clear 1260s ok 7 /queue/free-full 1260s ok 8 /queue/clear-full 1260s ok 9 /queue/insert-sibling-link 1260s ok 10 /queue/push-nth-link 1260s # Start of clear-full tests 1260s ok 11 /queue/clear-full/noop 1260s # End of clear-full tests 1260s # Start of random tests 1260s ok 12 /queue/random/seed:1672530843 1260s # End of random tests 1260s # End of queue tests 1260s ok - glib/queue.test 1260s # Running test: glib/throws.test 1260s ok - glib/throws.test 1260s TAP version 14 1260s # random seed: R02Sb479f753c23593a70ac18e4db3d6f50e 1260s 1..3 1260s # Start of throws tests 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NNOOK3/throws/invoke-gerror/.dirs/runtime 1260s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1260s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1260s ok 1 /throws/invoke-gerror 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NNOOK3/throws/vfunc-can-throw-gerror/.dirs/runtime 1260s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1260s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1260s ok 2 /throws/vfunc-can-throw-gerror 1260s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/home 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/cache 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/system-config2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/config 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/system-data2 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/data 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/state 1260s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NNOOK3/throws/callback-can-throw-gerror/.dirs/runtime 1260s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1260s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1260s ok 3 /throws/callback-can-throw-gerror 1260s # End of throws tests 1260s TAP version 14 1260s # random seed: R02Sa4e16a3b3c1cfbf43bf3af596b68727d 1260s 1..21 1260s # Start of markup tests 1260s # Start of collect tests 1260s ok 1 /markup/collect/0 1260s ok 2 /markup/collect/1 1260s ok 3 /markup/collect/2 1260s ok 4 /markup/collect/3 1260s ok 5 /markup/collect/4 1260s ok 6 /markup/collect/5 1260s ok 7 /markup/collect/6 1260s ok 8 /markup/collect/7 1260s ok 9 /markup/collect/8 1260s ok 10 /markup/collect/9 1260s ok 11 /markup/collect/10 1260s ok 12 /markup/collect/11 1260s ok 13 /markup/collect/12 1260s ok 14 /markup/collect/13 1260s ok 15 /markup/collect/14 1260s ok 16 /markup/collect/15 1260s ok 17 /markup/collect/16 1260s ok 18 /markup/collect/17 1260s ok 19 /markup/collect/18 1260s ok 20 /markup/collect/19 1260s ok 21 /markup/collect/cleanup 1260s # End of collect tests 1260s # End of markup tests 1260s # Running test: glib/markup-collect.test 1260s ok - glib/markup-collect.test 1260s # Running test: glib/signals.test 1260s TAP version 14 1260s # random seed: R02S251843bc552caca23b6b1b463ba37499 1260s 1..32 1260s # Start of gobject tests 1260s # Start of signals tests 1260s ok 1 /gobject/signals/all-types 1260s ok 2 /gobject/signals/variant 1260s ok 3 /gobject/signals/destroy-target-object 1260s ok 4 /gobject/signals/generic-marshaller-1 1260s ok 5 /gobject/signals/generic-marshaller-2 1260s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1260s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1260s ok 8 /gobject/signals/generic-marshaller-int-return 1260s ok 9 /gobject/signals/generic-marshaller-uint-return 1260s ok 10 /gobject/signals/generic-marshaller-interface-return 1260s ok 11 /gobject/signals/custom-marshaller 1260s ok 12 /gobject/signals/connect 1260s ok 13 /gobject/signals/is-connected 1260s ok 14 /gobject/signals/emission-hook 1260s ok 15 /gobject/signals/emitv 1260s ok 16 /gobject/signals/accumulator 1260s # Signal: accumulator-class-first 1260s # Signal: accumulator-class-last 1260s # Signal: accumulator-class-cleanup 1260s # Signal: accumulator-class-first-last 1260s # Signal: accumulator-class-first-last-cleanup 1260s # Signal: accumulator-class-last-cleanup 1260s ok 17 /gobject/signals/accumulator-class 1260s ok 18 /gobject/signals/introspection 1260s ok 19 /gobject/signals/block-handler 1260s ok 20 /gobject/signals/stop-emission 1260s ok 21 /gobject/signals/invocation-hint 1260s ok 22 /gobject/signals/test-disconnection-wrong-object 1260s ok 23 /gobject/signals/clear-signal-handler 1260s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1260s ok 24 /gobject/signals/lookup 1260s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1260s ok 25 /gobject/signals/parse-name 1260s ok 26 /gobject/signals/is-valid-name 1260s ok 27 /gobject/signals/weak-ref-disconnect 1260s # Start of lookup tests 1260s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1260s ok 28 /gobject/signals/lookup/invalid 1260s # End of lookup tests 1260s # Start of parse-name tests 1260s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1260s # Parser input: 1260s # Parser input: 7zip 1260s # Parser input: invalid:signal 1260s # Parser input: simple-detailed:: 1260s # Parser input: simple-detailed: 1260s # Parser input: : 1260s # Parser input: :: 1260s # Parser input: :valid-detail 1260s # Parser input: ::valid-detail 1260s ok 29 /gobject/signals/parse-name/invalid 1260s # End of parse-name tests 1260s # Start of invalid-name tests 1260s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1260s ok 30 /gobject/signals/invalid-name/colon 1260s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1260s ok 31 /gobject/signals/invalid-name/first-char 1260s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1260s ok 32 /gobject/signals/invalid-name/empty 1260s # End of invalid-name tests 1260s # End of signals tests 1260s # End of gobject tests 1260s ok - glib/signals.test 1260s # Running test: glib/642026.test 1260s TAP version 14 1260s # random seed: R02Sa613239ba8ce77aae9c26867b9aee164 1260s 1..1 1260s # Start of glib tests 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1260s ok 1 /glib/642026 1260s # End of glib tests 1260s ok - glib/642026.test 1260s # Running test: glib/network-monitor-race.test 1260s TAP version 14 1260s # random seed: R02S2a08cfe4b602e813c17202db6b89f949 1260s 1..1 1260s # Start of network-monitor tests 1260s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1262s ok - glib/network-monitor-race.test 1262s # Running test: glib/collate.test 1262s ok 1 /network-monitor/create-in-thread 1262s # slow test /network-monitor/create-in-thread executed in 2.13 secs 1262s # End of network-monitor tests 1262s TAP version 14 1262s # random seed: R02Sd5992d01f68bbbde7c9555dd5575cddc 1262s 1..9 1262s # Start of unicode tests 1262s # Start of collate tests 1262s ok 1 /unicode/collate/0 1262s ok 2 /unicode/collate/1 1262s ok 3 /unicode/collate/2 1262s # End of collate tests 1262s # Start of collate-key tests 1262s ok 4 /unicode/collate-key/0 1262s ok 5 /unicode/collate-key/1 1262s ok 6 /unicode/collate-key/2 1262s # End of collate-key tests 1262s # Start of collate-filename tests 1262s ok 7 /unicode/collate-filename/0 1262s ok 8 /unicode/collate-filename/1 1262s ok 9 /unicode/collate-filename/2 1262s # End of collate-filename tests 1262s # End of unicode tests 1262s ok - glib/collate.test 1262s # Running test: glib/gvariant.test 1262s TAP version 14 1262s # random seed: R02Sc980c07789aa98750dc88e83372e78d3 1262s 1..70 1262s # Start of gvariant tests 1262s ok 1 /gvariant/type 1262s ok 2 /gvariant/typeinfo 1262s ok 3 /gvariant/string 1262s ok 4 /gvariant/utf8 1262s ok 5 /gvariant/utf8-new-strings 1262s # Executing: glib/gvariant.test 1262s ok 6 /gvariant/containers 1262s ok 7 /gvariant/format-strings 1262s ok 8 /gvariant/invalid-varargs 1262s ok 9 /gvariant/varargs 1262s ok 10 /gvariant/valist 1262s ok 11 /gvariant/builder-memory 1263s ok 12 /gvariant/hashing 1263s ok 13 /gvariant/byteswap 1263s ok 14 /gvariant/parser 1263s ok 15 /gvariant/parse-failures 1263s ok 16 /gvariant/parse-positional 1263s ok 17 /gvariant/floating 1263s ok 18 /gvariant/bytestring 1263s ok 19 /gvariant/bytestring-iteration 1263s ok 20 /gvariant/lookup-value 1263s ok 21 /gvariant/lookup 1263s ok 22 /gvariant/compare 1263s ok 23 /gvariant/equal 1263s ok 24 /gvariant/fixed-array 1263s ok 25 /gvariant/check-format-string 1263s ok 26 /gvariant/checksum-basic 1263s ok 27 /gvariant/checksum-nested 1263s ok 28 /gvariant/gbytes 1263s ok 29 /gvariant/print-context 1263s ok 30 /gvariant/error-quark 1263s ok 31 /gvariant/stack-builder-init 1263s ok 32 /gvariant/stack-builder-init-static 1263s ok 33 /gvariant/stack-builder-init-unset 1263s ok 34 /gvariant/stack-dict-init 1263s ok 35 /gvariant/unaligned-construction 1263s # Start of type tests 1263s # Start of string-scan tests 1263s # Start of recursion tests 1263s ok 36 /gvariant/type/string-scan/recursion/tuple 1263s ok 37 /gvariant/type/string-scan/recursion/array 1263s # End of recursion tests 1263s # End of string-scan tests 1263s # End of type tests 1263s # Start of serialiser tests 1263s ok 38 /gvariant/serialiser/maybe 1264s ok 39 /gvariant/serialiser/array 1264s ok 40 /gvariant/serialiser/tuple 1264s ok 41 /gvariant/serialiser/variant 1264s ok 42 /gvariant/serialiser/strings 1265s ok 43 /gvariant/serialiser/byteswap 1265s # slow test /gvariant/serialiser/byteswap executed in 0.82 secs 1265s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1265s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1265s ok 44 /gvariant/serialiser/children 1265s # Start of byteswap tests 1265s ok 45 /gvariant/serialiser/byteswap/zero-sized 1265s # End of byteswap tests 1265s # Start of fuzz tests 1265s ok 46 /gvariant/serialiser/fuzz/1% 1265s # slow test /gvariant/serialiser/fuzz/1% executed in 0.64 secs 1266s ok 47 /gvariant/serialiser/fuzz/5% 1266s # slow test /gvariant/serialiser/fuzz/5% executed in 0.77 secs 1266s ok 48 /gvariant/serialiser/fuzz/9% 1267s # Executing: glib/gvariant.test 1272s ok 49 /gvariant/serialiser/fuzz/13% 1272s # slow test /gvariant/serialiser/fuzz/13% executed in 5.47 secs 1272s ok 50 /gvariant/serialiser/fuzz/17% 1272s # slow test /gvariant/serialiser/fuzz/17% executed in 0.63 secs 1272s # End of fuzz tests 1272s # End of serialiser tests 1272s # Start of utf8 tests 1272s # Start of subprocess tests 1272s # End of subprocess tests 1272s # End of utf8 tests 1272s # Start of varargs tests 1272s # Start of subprocess tests 1272s # End of subprocess tests 1272s # End of varargs tests 1272s # Start of byteswap tests 1272s # /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. 1272s ok 51 /gvariant/byteswap/non-normal-non-aligned 1272s # End of byteswap tests 1272s # Start of parser tests 1272s ok 52 /gvariant/parser/integer-bounds 1272s ok 53 /gvariant/parser/recursion 1272s # Start of recursion tests 1272s ok 54 /gvariant/parser/recursion/typedecls 1272s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1272s # Text form 0: @mmmu 5 1272s # Text form 1: @mmmas ['hello'] 1272s # Text form 2: @mmmu just just nothing 1272s # Text form 3: @mmmas just just nothing 1272s # Text form 4: @mmmu just nothing 1272s # Text form 5: @mmmas just nothing 1272s # Text form 6: @mmmu nothing 1272s # Text form 7: @mmmas nothing 1272s ok 55 /gvariant/parser/recursion/maybes 1272s # End of recursion tests 1272s # End of parser tests 1272s # Start of parse tests 1272s # Start of subprocess tests 1272s # End of subprocess tests 1272s # End of parse tests 1272s # Start of normal-checking tests 1272s ok 56 /gvariant/normal-checking/tuples 1272s ok - glib/gvariant.test 1272s # Running test: glib/dynamictype.test 1272s ok - glib/dynamictype.test 1272s # Running test: glib/utils-c-11.test 1272s ok 57 /gvariant/normal-checking/array-offsets 1272s ok 58 /gvariant/normal-checking/array-offsets2 1272s ok 59 /gvariant/normal-checking/tuple-offsets 1272s ok 60 /gvariant/normal-checking/tuple-offsets2 1272s ok 61 /gvariant/normal-checking/tuple-offsets3 1272s ok 62 /gvariant/normal-checking/tuple-offsets4 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1272s ok 63 /gvariant/normal-checking/tuple-offsets5 1272s ok 64 /gvariant/normal-checking/empty-object-path 1272s # Start of array-offsets tests 1272s ok 65 /gvariant/normal-checking/array-offsets/overlapped 1272s ok 66 /gvariant/normal-checking/array-offsets/minimal-sized 1272s # End of array-offsets tests 1272s # Start of tuple-offsets tests 1272s ok 67 /gvariant/normal-checking/tuple-offsets/minimal-sized 1272s # End of tuple-offsets tests 1272s # End of normal-checking tests 1272s # Start of recursion-limits tests 1272s ok 68 /gvariant/recursion-limits/variant-in-variant 1272s ok 69 /gvariant/recursion-limits/array-in-variant 1272s # End of recursion-limits tests 1272s # End of gvariant tests 1272s # Start of gvarianttype tests 1272s ok 70 /gvarianttype/hash 1272s # End of gvarianttype tests 1272s TAP version 14 1272s # random seed: R02S6c5afae60ac92ea0e65a177c1ea47e5d 1272s 1..2 1272s # Start of gobject tests 1272s ok 1 /gobject/dynamic-type 1272s # Start of dynamic-type tests 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1272s ok 2 /gobject/dynamic-type/query 1272s # End of dynamic-type tests 1272s # End of gobject tests 1272s TAP version 14 1272s # random seed: R02S2d8a601a83a9782fc57e31a5ae7ce7fb 1272s 1..41 1272s # Start of utils tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/language-names/.dirs/runtime 1272s ok 1 /utils/language-names 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/locale-variants/.dirs/runtime 1272s # Testing locale ‘en’ 1272s # Testing locale ‘sr@latin’ 1272s # Testing locale ‘fr_BE’ 1272s # Testing locale ‘sr_SR@latin’ 1272s # Testing locale ‘sr_SR@latin.UTF-8’ 1272s # Testing locale ‘sr@latin_invalid’ 1272s # Testing locale ‘sr.UTF-8@latin’ 1272s # Testing locale ‘sr.UTF-8_latin’ 1272s # Testing locale ‘sr.UTF-8@latin_invalid’ 1272s ok 2 /utils/locale-variants 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/version/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/version/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/version/.dirs/runtime 1272s ok 3 /utils/version 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/appname/.dirs/runtime 1272s ok 4 /utils/appname 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/prgname-thread-safety/.dirs/runtime 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1272s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1272s ok 5 /utils/prgname-thread-safety 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/tmpdir/.dirs/runtime 1272s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1272s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/tmpdir: No such file or directory 1272s ok 6 /utils/tmpdir 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/basic_bits/.dirs/runtime 1272s ok 7 /utils/basic_bits 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/bits/.dirs/runtime 1272s ok 8 /utils/bits 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/swap/.dirs/runtime 1272s ok 9 /utils/swap 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/find-program/.dirs/runtime 1272s ok 10 /utils/find-program 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/find-program-for-path/.dirs/runtime 1272s ok 11 /utils/find-program-for-path 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/debug/.dirs/runtime 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/debug: No such file or directory 1272s ok 12 /utils/debug 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/codeset/.dirs/runtime 1272s ok 13 /utils/codeset 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/codeset2/.dirs/runtime 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/codeset2: No such file or directory 1272s ok 14 /utils/codeset2 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/console-charset/.dirs/runtime 1272s ok 15 /utils/console-charset 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/gettext/.dirs/runtime 1272s ok 16 /utils/gettext 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/username/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/username/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/username/.dirs/runtime 1272s ok 17 /utils/username 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/realname/.dirs/runtime 1272s ok 18 /utils/realname 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/hostname/.dirs/runtime 1272s ok 19 /utils/hostname 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/os-info/.dirs/runtime 1272s # NAME: Ubuntu 1272s ok 20 /utils/os-info 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/.dirs/runtime 1272s ok 21 /utils/clear-pointer 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer-cast/.dirs/runtime 1272s ok 22 /utils/clear-pointer-cast 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/take-pointer/.dirs/runtime 1272s ok 23 /utils/take-pointer 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-source/.dirs/runtime 1272s ok 24 /utils/clear-source 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/misc-mem/.dirs/runtime 1272s ok 25 /utils/misc-mem 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/.dirs/runtime 1272s # /utils/aligned-mem summary: Aligned memory allocator 1272s # Alignment must not be zero 1272s # Alignment must be a power of two 1272s # Alignment must be a multiple of sizeof(void*) 1272s ok 26 /utils/aligned-mem 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/free-sized/.dirs/runtime 1272s # /utils/free-sized summary: Check that g_free_sized() works 1272s ok 27 /utils/free-sized 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/nullify/.dirs/runtime 1272s ok 28 /utils/nullify 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/atexit/.dirs/runtime 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/atexit: No such file or directory 1272s ok 29 /utils/atexit 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/check-setuid/.dirs/runtime 1272s ok 30 /utils/check-setuid 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/int-limits/.dirs/runtime 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1272s ok 31 /utils/int-limits 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-list/.dirs/runtime 1272s ok 32 /utils/clear-list 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-slist/.dirs/runtime 1272s ok 33 /utils/clear-slist 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/steal-handle-id/.dirs/runtime 1272s ok 34 /utils/steal-handle-id 1272s # Start of user-special-dirs tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/desktop/.dirs/runtime 1272s ok 35 /utils/user-special-dirs/desktop 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1272s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/load-unlocked: No such file or directory 1272s # Executing: glib/utils-c-11.test 1272s ok 36 /utils/user-special-dirs/load-unlocked 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1272s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1272s Unable to clean up temporary directory /tmp/test_utils-c-11_WENIK3/utils/user-special-dirs/reload-leaks: No such file or directory 1272s ok 37 /utils/user-special-dirs/reload-leaks 1272s # End of user-special-dirs tests 1272s # Start of clear-pointer tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/clear-pointer/side-effects/.dirs/runtime 1272s ok 38 /utils/clear-pointer/side-effects 1272s # End of clear-pointer tests 1272s # Start of aligned-mem tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/alignment/.dirs/runtime 1272s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1272s ok 39 /utils/aligned-mem/alignment 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/zeroed/.dirs/runtime 1273s ok - glib/utils-c-11.test 1273s # Running test: glib/defaultvalue.test 1273s ok - glib/defaultvalue.test 1273s # Running test: glib/srvtarget.test 1273s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1273s ok 40 /utils/aligned-mem/zeroed 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_WENIK3/utils/aligned-mem/free-sized/.dirs/runtime 1273s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1273s ok 41 /utils/aligned-mem/free-sized 1273s # Start of subprocess tests 1273s # End of subprocess tests 1273s # End of aligned-mem tests 1273s # End of utils tests 1273s TAP version 14 1273s # random seed: R02Sa38b3014f017ac8916f4a34a574e1f32 1273s 1..84 1273s # Start of Default Values tests 1273s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1273s ok 2 /Default Values/GAppLaunchContext 1273s ok 3 /Default Values/GApplicationCommandLine 1273s # skipping GApplication:is-remote 1273s ok 4 /Default Values/GApplication 1273s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1273s ok 6 /Default Values/GBindingGroup 1273s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1273s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1273s ok 9 /Default Values/GBytesIcon 1273s ok 10 /Default Values/GCancellable 1273s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1273s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1273s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1273s ok 14 /Default Values/GCredentials 1273s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1273s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1273s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1273s ok 18 /Default Values/GDBusAuthObserver 1273s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1273s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1273s ok 21 /Default Values/GDBusMessage 1273s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1273s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1273s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1273s ok 25 /Default Values/GDBusObjectProxy 1273s ok 26 /Default Values/GDBusObjectSkeleton 1273s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1273s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1273s ok 29 /Default Values/GEmblem 1273s ok 30 /Default Values/GEmblemedIcon 1273s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1273s ok 32 /Default Values/GFileInfo 1273s ok 33 /Default Values/GFileInputStream 1273s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1273s ok 35 /Default Values/GFileOutputStream 1273s ok 36 /Default Values/GFilenameCompleter 1273s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1273s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1273s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1273s ok 40 /Default Values/GInitiallyUnowned 1273s ok 41 /Default Values/GIOModule 1273s ok 42 /Default Values/GListStore 1273s ok 43 /Default Values/GMemoryInputStream 1273s ok 44 /Default Values/GMemoryOutputStream 1273s ok 45 /Default Values/GMenu 1273s ok 46 /Default Values/GMenuItem 1273s ok 47 /Default Values/GMountOperation 1273s ok 48 /Default Values/GNativeSocketAddress 1273s ok 49 /Default Values/GNetworkAddress 1273s ok 50 /Default Values/GNetworkService 1273s ok 51 /Default Values/GNotification 1273s ok 52 /Default Values/GObject 1273s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1273s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1273s # skipping GProxyAddressEnumerator:proxy-resolver 1273s ok 54 /Default Values/GProxyAddressEnumerator 1273s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1273s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1273s ok 57 /Default Values/GSignalGroup 1273s ok 58 /Default Values/GSimpleAction 1273s ok 59 /Default Values/GSimpleActionGroup 1273s ok 60 /Default Values/GSimpleAsyncResult 1273s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1273s ok 62 /Default Values/GSimplePermission 1273s ok 63 /Default Values/GSimpleProxyResolver 1273s # skipping GSocketClient:proxy-resolver 1273s ok 64 /Default Values/GSocketClient 1273s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1273s ok 66 /Default Values/GSocket # SKIP initialization failed 1273s ok 67 /Default Values/GSocketListener 1273s ok 68 /Default Values/GSocketService 1273s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1273s ok 70 /Default Values/GSubprocessLauncher 1273s # GLib-GIO-DEBUG: GTask 0x1807b580b320 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1273s ok 71 /Default Values/GTask 1273s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1273s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1273s ok 74 /Default Values/GTestDBus 1273s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1273s ok 76 /Default Values/GThreadedSocketService 1273s ok 77 /Default Values/GTlsInteraction 1273s ok 78 /Default Values/GTlsPassword 1273s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1273s ok 80 /Default Values/GUnixFDList 1273s ok 81 /Default Values/GVfs 1273s ok 82 /Default Values/GVolumeMonitor 1273s ok 83 /Default Values/GZlibCompressor 1273s ok 84 /Default Values/GZlibDecompressor 1273s # End of Default Values tests 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1273s TAP version 14 1273s # random seed: R02Sbf5e3e1e9612522c1f31e6362f4a48e7 1273s 1..1 1273s # Start of srvtarget tests 1273s ok - glib/srvtarget.test 1273s ok 1 /srvtarget/srv-target-ordering 1273s # slow test /srvtarget/srv-target-ordering executed in 0.83 secs 1273s # End of srvtarget tests 1273s TAP version 14 1273s # random seed: R02S3293c0744261bbc0f94f8d41319804a2 1273s 1..29 1273s # Start of thread tests 1273s ok 1 /thread/rec-mutex1 1273s ok 2 /thread/rec-mutex2 1273s ok 3 /thread/rec-mutex3 1273s # Running test: glib/rec-mutex.test 1273s ok 4 /thread/rec-mutex4 1273s # Start of rec-mutex tests 1273s # Start of perf tests 1273s # Start of uncontended tests 1273s # max perf: 1.000000 mips 1273s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1273s # max perf: inf mips 1273s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1273s # max perf: inf mips 1273s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1273s # max perf: inf mips 1273s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1273s # max perf: 1.000000 mips 1273s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1273s # End of uncontended tests 1273s # Start of contended1 tests 1273s # max perf: inf mips 1273s ok 10 /thread/rec-mutex/perf/contended1/depth1 1273s # max perf: inf mips 1273s ok 11 /thread/rec-mutex/perf/contended1/depth2 1273s # max perf: 2.000000 mips 1273s ok 12 /thread/rec-mutex/perf/contended1/depth3 1273s # max perf: 2.000000 mips 1273s ok 13 /thread/rec-mutex/perf/contended1/depth4 1273s # max perf: 2.000000 mips 1273s ok 14 /thread/rec-mutex/perf/contended1/depth5 1273s # End of contended1 tests 1273s # Start of contended2 tests 1273s # max perf: 3.000000 mips 1273s ok 15 /thread/rec-mutex/perf/contended2/depth1 1273s # max perf: 3.000000 mips 1273s ok 16 /thread/rec-mutex/perf/contended2/depth2 1273s # max perf: 3.000000 mips 1273s ok 17 /thread/rec-mutex/perf/contended2/depth3 1273s # max perf: 1.500000 mips 1273s ok 18 /thread/rec-mutex/perf/contended2/depth4 1273s # max perf: 3.000000 mips 1273s ok 19 /thread/rec-mutex/perf/contended2/depth5 1273s # End of contended2 tests 1273s # Start of contended3 tests 1273s # max perf: 4.000000 mips 1273s ok 20 /thread/rec-mutex/perf/contended3/depth1 1273s # max perf: 4.000000 mips 1273s ok 21 /thread/rec-mutex/perf/contended3/depth2 1273s # max perf: 0.500000 mips 1273s ok 22 /thread/rec-mutex/perf/contended3/depth3 1273s ok - glib/rec-mutex.test 1273s # Running test: glib/642026-ec.test 1273s ok - glib/642026-ec.test 1273s # Running test: glib/win32-appinfo.test 1273s ok - glib/win32-appinfo.test 1273s # Running test: glib/vfs.test 1273s ok - glib/vfs.test 1273s # Running test: glib/performance.test 1273s # max perf: 4.000000 mips 1273s ok 23 /thread/rec-mutex/perf/contended3/depth4 1273s # max perf: 2.000000 mips 1273s ok 24 /thread/rec-mutex/perf/contended3/depth5 1273s # End of contended3 tests 1273s # Start of contended4 tests 1273s # max perf: 5.000000 mips 1273s ok 25 /thread/rec-mutex/perf/contended4/depth1 1273s # max perf: 5.000000 mips 1273s ok 26 /thread/rec-mutex/perf/contended4/depth2 1273s # max perf: 5.000000 mips 1273s ok 27 /thread/rec-mutex/perf/contended4/depth3 1273s # max perf: 2.500000 mips 1273s ok 28 /thread/rec-mutex/perf/contended4/depth4 1273s # max perf: 1.000000 mips 1273s ok 29 /thread/rec-mutex/perf/contended4/depth5 1273s # End of contended4 tests 1273s # End of perf tests 1273s # End of rec-mutex tests 1273s # End of thread tests 1273s TAP version 14 1273s # random seed: R02S2303184471560baf84ef56576f28c574 1273s 1..1 1273s # Start of glib tests 1273s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1273s ok 1 /glib/642026 1273s # End of glib tests 1273s TAP version 14 1273s # random seed: R02S2239424ffa4efeceb6381b74da2b94ae 1273s 1..5 1273s # Start of appinfo tests 1273s ok 1 /appinfo/utf16-strfuncs 1273s ok 2 /appinfo/win32-extract-executable 1273s ok 3 /appinfo/win32-rundll32-fixup 1273s ok 4 /appinfo/win32-parse-filename 1273s ok 5 /appinfo/win32-utf16-conversion-fail 1273s # Start of subprocess tests 1273s # End of subprocess tests 1273s # End of appinfo tests 1273s TAP version 14 1273s # random seed: R02Sa555c39061c684881ddd070720fc5e7a 1273s 1..3 1273s # Start of gvfs tests 1273s ok 1 /gvfs/local 1273s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1273s ok 2 /gvfs/register-scheme 1273s # Start of resource tests 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1273s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1273s ok 3 /gvfs/resource/malformed-escaping 1273s # End of resource tests 1273s # End of gvfs tests 1277s # Executing: glib/performance.test 1282s # Executing: glib/performance.test 1283s simple-construction: Millions of constructed objects per second: 6.793 1285s simple-construction1: Millions of constructed objects per second: 57.026 1288s # Executing: glib/performance.test 1291s complex-construction: Millions of constructed objects per second: 3.781 1292s # Executing: glib/performance.test 1297s # Executing: glib/performance.test 1298s complex-construction1: Millions of constructed objects per second: 4.818 1302s # Executing: glib/performance.test 1305s complex-construction2: Millions of constructed objects per second: 5.231 1307s finalization: Millions of finalized objects per second: 1.070 1307s # Executing: glib/performance.test 1308s type-check: Million type checks per second: 14.51 1310s emit-unhandled: Emissions per second: 1091410 1311s emit-unhandled-empty: Emissions per second: 9033582 1312s # Executing: glib/performance.test 1313s emit-unhandled-generic: Emissions per second: 1211790 1314s emit-unhandled-generic-empty: Emissions per second: 9055732 1316s emit-unhandled-args: Emissions per second: 1067827 1317s emit-handled: Emissions per second: 775568 1317s # Executing: glib/performance.test 1318s emit-handled-empty: Emissions per second: 771576 1320s emit-handled-generic: Emissions per second: 780113 1321s emit-handled-generic-empty: Emissions per second: 1187524 1322s # Executing: glib/performance.test 1323s emit-handled-args: Emissions per second: 763412 1324s notify-unhandled: Notify (unhandled) per second: 9136583 1325s notify-by-pspec-unhandled: Notify (unhandled) per second: 44528758 1327s notify-handled: Notify per second: 500063 1327s # Executing: glib/performance.test 1328s notify-by-pspec-handled: Notify per second: 526118 1329s property-set: Property set per second: 6273529 1331s property-set-signaled: Property set per second: 1559825 1332s property-get: Property get per second: 6759885 1332s # Executing: glib/performance.test 1334s refcount: Million refs+unref per second: 6.09 1335s refcount-1: Million refs+unref per second: 14.14 1337s ok - glib/performance.test 1337s refcount-toggle: Million refs+unref per second: 12.41 1337s # Running test: glib/thread-deprecated.test 1337s TAP version 14 1337s # random seed: R02S26387c76660f4b7a7789633d30968d9d 1337s 1..6 1337s # Start of thread tests 1337s ok 1 /thread/mutex 1337s ok 2 /thread/static-rec-mutex 1337s # Executing: glib/thread-deprecated.test 1342s ok 3 /thread/static-private 1342s # slow test /thread/static-private executed in 4.41 secs 1342s # Executing: glib/thread-deprecated.test 1347s ok 4 /thread/static-rw-lock 1347s # slow test /thread/static-rw-lock executed in 5.00 secs 1347s ok 5 /thread/once 1347s # Executing: glib/thread-deprecated.test 1352s # Executing: glib/thread-deprecated.test 1357s ok - glib/thread-deprecated.test 1357s # Running test: glib/gdbus-peer.test 1357s ok 6 /thread/rerun-all 1357s # slow test /thread/rerun-all executed in 10.02 secs 1357s # End of thread tests 1357s TAP version 14 1357s # random seed: R02S3d826a22e30048f9f2b2ab2290c03209 1357s 1..12 1357s # Start of gdbus tests 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/.dirs/runtime 1357s # Testing with unix:dir address 1357s # Testing with unix:tmpdir address 1357s # Testing with unix:path address 1357s ok 1 /gdbus/peer-to-peer 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/delayed-message-processing/.dirs/runtime 1357s # Testing with unix:dir address 1357s ok 2 /gdbus/delayed-message-processing 1357s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/nonce-tcp/.dirs/runtime 1357s ok 3 /gdbus/nonce-tcp 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/tcp-anonymous/.dirs/runtime 1357s ok 4 /gdbus/tcp-anonymous 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/credentials/.dirs/runtime 1357s ok 5 /gdbus/credentials 1357s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/home 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/cache 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/config 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/data 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/state 1357s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/codegen-peer-to-peer/.dirs/runtime 1357s # Testing with unix:dir address 1357s # Machine ID: a11fe49f72c543e7be3bee8c33479689 1357s # Executing: glib/gdbus-peer.test 1358s ok 6 /gdbus/codegen-peer-to-peer 1358s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1358s # Start of peer-to-peer tests 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/signals/.dirs/runtime 1358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1358s # Testing with unix:dir address 1358s ok 7 /gdbus/peer-to-peer/signals 1358s # Start of invalid tests 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1358s ok 8 /gdbus/peer-to-peer/invalid/server 1358s # Start of conn tests 1358s # Start of stream tests 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1358s ok - glib/gdbus-peer.test 1358s # Running test: glib/struct-info.test 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1358s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1358s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1358s # End of stream tests 1358s # Start of addr tests 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1358s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_W90MK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1358s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1358s # End of addr tests 1358s # End of conn tests 1358s # End of invalid tests 1358s # End of peer-to-peer tests 1358s # End of gdbus tests 1358s ok - glib/struct-info.test 1358s # Running test: glib/cond.test 1358s TAP version 14 1358s # random seed: R02Sdfdb49332b93175444a19e323af4760d 1358s 1..4 1358s # Start of struct-info tests 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7Z0EK3/struct-info/field-iterators/.dirs/runtime 1358s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1358s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1358s ok 1 /struct-info/field-iterators 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7Z0EK3/struct-info/sizeof-gvalue/.dirs/runtime 1358s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1358s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1358s ok 2 /struct-info/sizeof-gvalue 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7Z0EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1358s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1358s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1358s ok 3 /struct-info/is-pointer-for-struct-method-arg 1358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/home 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/cache 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/system-config2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/config 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/system-data2 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/data 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/state 1358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7Z0EK3/struct-info/boxed/.dirs/runtime 1358s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1358s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1358s ok 4 /struct-info/boxed 1358s # End of struct-info tests 1358s TAP version 14 1358s # random seed: R02S05ffe0b5c1fd670cf8a32e23a41978fb 1358s 1..4 1358s # Start of thread tests 1358s ok 1 /thread/cond1 1358s ok 2 /thread/cond2 1358s # Start of cond tests 1359s ok 3 /thread/cond/wait-until 1359s # slow test /thread/cond/wait-until executed in 1.02 secs 1359s # Start of wait-until tests 1359s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1359s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1360s ok 4 /thread/cond/wait-until/contended-and-interrupted 1360s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1360s # End of wait-until tests 1360s # End of cond tests 1360s # End of thread tests 1360s ok - glib/cond.test 1360s # Running test: glib/gsocketclient-slow.test 1360s TAP version 14 1360s # random seed: R02Sfb05057d472b22607374d41b13e0f020 1360s 1..4 1360s # Start of socket-client tests 1360s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1360s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1360s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x198f6dce78e0 and GSocketClientAsyncConnectData 0x198f6dce2520 1360s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1360s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1360s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x198f6dceb540 for GSocketClientAsyncConnectData 0x198f6dce2520 1360s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1361s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1361s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1361s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1361s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1361s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1361s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x198f6dceb540 for GSocketClientAsyncConnectData 0x198f6dce2520 1361s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1362s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1362s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1362s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1362s ok 1 /socket-client/connection-fail 1362s # slow test /socket-client/connection-fail executed in 1.20 secs 1362s # Start of happy-eyeballs tests 1362s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x198f6dcea0d0 and GSocketClientAsyncConnectData 0x198f6dceb070 1362s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1362s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1362s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x198f6dcee340 for GSocketClientAsyncConnectData 0x198f6dceb070 1362s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1362s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1362s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1362s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1362s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1362s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1362s ok 2 /socket-client/happy-eyeballs/slow 1362s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1362s # Start of cancellation tests 1362s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x198f6dcead50 and GSocketClientAsyncConnectData 0x198f6dcee5e0 1362s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1362s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1362s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1362s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x198f6dce9ff0 and GSocketClientAsyncConnectData 0x198f6dcedf90 1362s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1362s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1362s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x198f6dceeba0 for GSocketClientAsyncConnectData 0x198f6dcedf90 1362s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1362s # Executing: glib/gsocketclient-slow.test 1363s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1363s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1363s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1363s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1363s ok - glib/gsocketclient-slow.test 1363s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1363s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1363s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1363s # End of cancellation tests 1363s # End of happy-eyeballs tests 1363s # End of socket-client tests 1363s # Running test: glib/value.test 1363s TAP version 14 1363s ok - glib/value.test 1363s # Running test: glib/cache.test 1363s ok - glib/cache.test 1363s # Running test: glib/macros-c-99.test 1363s ok - glib/macros-c-99.test 1363s # Running test: glib/io-channel-basic.test 1363s # random seed: R02Sd21f8fc0c3fff1913e3781fc0434af78 1363s 1..9 1363s # Start of value tests 1363s ok 1 /value/basic 1363s ok 2 /value/collection 1363s ok 3 /value/copying 1363s ok 4 /value/enum-transformation 1363s ok 5 /value/gtype 1363s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1363s ok 6 /value/string 1363s # Next: GObject object in GValue of GObject to GValue of GObject 1363s # Next: GObject object in GValue of GObject to GValue of TestInterface 1363s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1363s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1363s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1363s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1363s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1363s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1363s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1363s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1363s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1363s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1363s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1363s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1363s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1363s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1363s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1363s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1363s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1363s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1363s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1363s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1363s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1363s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1363s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1363s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1363s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1363s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1363s ok 7 /value/transform-object 1363s # Start of array tests 1363s ok 8 /value/array/basic 1363s ok 9 /value/array/sort-with-data 1363s # End of array tests 1363s # End of value tests 1363s TAP version 14 1363s # random seed: R02S869c4329f6bcc1c701fc4fc2c4b37072 1363s 1..1 1363s # Start of cache tests 1363s ok 1 /cache/basic 1363s # End of cache tests 1363s TAP version 14 1363s # random seed: R02Sf95657995fd8a7a584057e4d55d04446 1363s 1..4 1363s # Start of C tests 1363s # G_C_STD_VERSION is 199901 1363s ok 1 /C/standard-99 1363s # End of C tests 1363s # Start of alignof tests 1363s ok 2 /alignof/fallback 1363s # End of alignof tests 1363s # Start of assert tests 1363s ok 3 /assert/static 1363s # End of assert tests 1363s # Start of struct tests 1363s ok 4 /struct/sizeof_member 1363s # End of struct tests 1363s TAP version 14 1363s # random seed: R02Sf57811912698bad60ba2ae66c24d8d18 1363s 1..1 1363s # Start of gio tests 1363s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1363s # random seed: R02S1a48af7bc4f52558ae0038d4f36a2ed4 1363s # GLib-DEBUG: io-channel-basic: child writing 8+4497 bytes to 6 1363s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1363s # GLib-DEBUG: io-channel-basic: ...from 5: 4497 bytes 1363s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1363s # GLib-DEBUG: io-channel-basic: child writing 8+1266 bytes to 6 1363s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1363s # GLib-DEBUG: io-channel-basic: ...from 5: 1266 bytes 1363s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1364s # GLib-DEBUG: io-channel-basic: child writing 8+2587 bytes to 6 1364s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1364s # GLib-DEBUG: io-channel-basic: ...from 5: 2587 bytes 1364s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1364s # GLib-DEBUG: io-channel-basic: child writing 8+4965 bytes to 6 1364s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1364s # GLib-DEBUG: io-channel-basic: ...from 5: 4965 bytes 1364s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1364s # GLib-DEBUG: io-channel-basic: child writing 8+3383 bytes to 6 1364s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1364s # GLib-DEBUG: io-channel-basic: ...from 5: 3383 bytes 1364s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1364s # GLib-DEBUG: io-channel-basic: child writing 8+176 bytes to 6 1364s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1364s # GLib-DEBUG: io-channel-basic: ...from 5: 176 bytes 1364s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1365s # GLib-DEBUG: io-channel-basic: child writing 8+4175 bytes to 6 1365s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1365s # GLib-DEBUG: io-channel-basic: ...from 5: 4175 bytes 1365s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1365s # GLib-DEBUG: io-channel-basic: child writing 8+3983 bytes to 6 1365s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1365s # GLib-DEBUG: io-channel-basic: ...from 5: 3983 bytes 1365s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1365s # GLib-DEBUG: io-channel-basic: child writing 8+3051 bytes to 6 1365s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1365s # GLib-DEBUG: io-channel-basic: ...from 5: 3051 bytes 1365s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1365s # GLib-DEBUG: io-channel-basic: child writing 8+2586 bytes to 6 1365s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1365s # GLib-DEBUG: io-channel-basic: ...from 5: 2586 bytes 1365s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1366s # GLib-DEBUG: io-channel-basic: child writing 8+611 bytes to 6 1366s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1366s # GLib-DEBUG: io-channel-basic: ...from 5: 611 bytes 1366s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1366s # GLib-DEBUG: io-channel-basic: child writing 8+620 bytes to 6 1366s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1366s # GLib-DEBUG: io-channel-basic: ...from 5: 620 bytes 1366s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1366s # GLib-DEBUG: io-channel-basic: child writing 8+303 bytes to 6 1366s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1366s # GLib-DEBUG: io-channel-basic: ...from 5: 303 bytes 1366s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1366s # GLib-DEBUG: io-channel-basic: child writing 8+4007 bytes to 6 1366s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1366s # GLib-DEBUG: io-channel-basic: ...from 5: 4007 bytes 1366s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1367s # GLib-DEBUG: io-channel-basic: child writing 8+3891 bytes to 6 1367s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1367s # GLib-DEBUG: io-channel-basic: ...from 5: 3891 bytes 1367s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1367s # GLib-DEBUG: io-channel-basic: child writing 8+1283 bytes to 6 1367s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1367s # GLib-DEBUG: io-channel-basic: ...from 5: 1283 bytes 1367s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1367s # GLib-DEBUG: io-channel-basic: child writing 8+3533 bytes to 6 1367s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1367s # GLib-DEBUG: io-channel-basic: ...from 5: 3533 bytes 1367s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1367s # Executing: glib/io-channel-basic.test 1367s # GLib-DEBUG: io-channel-basic: child writing 8+2135 bytes to 6 1367s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1367s # GLib-DEBUG: io-channel-basic: ...from 5: 2135 bytes 1367s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1368s # GLib-DEBUG: io-channel-basic: child writing 8+292 bytes to 6 1368s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1368s # GLib-DEBUG: io-channel-basic: ...from 5: 292 bytes 1368s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1368s # GLib-DEBUG: io-channel-basic: child writing 8+3049 bytes to 6 1368s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1368s # GLib-DEBUG: io-channel-basic: ...from 5: 3049 bytes 1368s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1368s # GLib-DEBUG: io-channel-basic: child writing 8+2299 bytes to 6 1368s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1368s # GLib-DEBUG: io-channel-basic: ...from 5: 2299 bytes 1368s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1368s # GLib-DEBUG: io-channel-basic: child writing 8+1429 bytes to 6 1368s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1368s # GLib-DEBUG: io-channel-basic: ...from 5: 1429 bytes 1368s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+2541 bytes to 6 1369s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1369s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 5: 2541 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1369s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 1369s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1369s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1369s # random seed: R02S582ce05af3124aafa2a249e0297722eb 1369s # random seed: R02Sa014a03ec93b048bc77a99886439b369 1369s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1369s # random seed: R02S85f1d7aeab722a9c01d17394ba5f54b7 1369s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1369s # random seed: R02S90c99f64313b3705844aa7c554f7fff1 1369s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1369s # random seed: R02S796923b7b342d72748d42415a2fc7683 1369s # GLib-DEBUG: io-channel-basic: child writing 8+2234 bytes to 9 1369s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 8: 2234 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+779 bytes to 11 1369s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 10: 779 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+2954 bytes to 17 1369s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 16: 2954 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+1743 bytes to 13 1369s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 12: 1743 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+3907 bytes to 15 1369s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 14: 3907 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+4952 bytes to 9 1369s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 8: 4952 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+1388 bytes to 11 1369s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 10: 1388 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+701 bytes to 17 1369s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 16: 701 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+2536 bytes to 15 1369s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 14: 2536 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1369s # GLib-DEBUG: io-channel-basic: child writing 8+3795 bytes to 13 1369s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1369s # GLib-DEBUG: io-channel-basic: ...from 12: 3795 bytes 1369s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+3815 bytes to 9 1370s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 8: 3815 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1832 bytes to 11 1370s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 10: 1832 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1264 bytes to 17 1370s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 16: 1264 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1404 bytes to 15 1370s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 14: 1404 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+83 bytes to 13 1370s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 12: 83 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+3257 bytes to 9 1370s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 8: 3257 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+2137 bytes to 11 1370s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 10: 2137 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+2777 bytes to 17 1370s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 16: 2777 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+794 bytes to 15 1370s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 14: 794 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+4227 bytes to 13 1370s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 12: 4227 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 9 1370s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 8: 1581 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+3096 bytes to 11 1370s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 10: 3096 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1106 bytes to 17 1370s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 16: 1106 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+630 bytes to 15 1370s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 14: 630 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+3078 bytes to 13 1370s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 12: 3078 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+4583 bytes to 9 1370s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 8: 4583 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+1747 bytes to 11 1370s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 10: 1747 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+923 bytes to 17 1370s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 16: 923 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+4209 bytes to 15 1370s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 14: 4209 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1370s # GLib-DEBUG: io-channel-basic: child writing 8+3323 bytes to 13 1370s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1370s # GLib-DEBUG: io-channel-basic: ...from 12: 3323 bytes 1370s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+1086 bytes to 9 1371s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 8: 1086 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+1735 bytes to 17 1371s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 16: 1735 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+714 bytes to 11 1371s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 10: 714 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+744 bytes to 15 1371s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 14: 744 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2063 bytes to 13 1371s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 12: 2063 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+1222 bytes to 9 1371s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 8: 1222 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+126 bytes to 11 1371s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 10: 126 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+4945 bytes to 17 1371s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 16: 4945 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+3608 bytes to 15 1371s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 14: 3608 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+1411 bytes to 13 1371s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 12: 1411 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+3408 bytes to 9 1371s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 8: 3408 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+1120 bytes to 11 1371s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 10: 1120 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2849 bytes to 17 1371s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 16: 2849 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+3122 bytes to 15 1371s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 14: 3122 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2186 bytes to 13 1371s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 12: 2186 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+4326 bytes to 9 1371s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 8: 4326 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2947 bytes to 11 1371s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 10: 2947 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+3621 bytes to 17 1371s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 16: 3621 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2206 bytes to 15 1371s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 14: 2206 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1371s # GLib-DEBUG: io-channel-basic: child writing 8+2160 bytes to 13 1371s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1371s # GLib-DEBUG: io-channel-basic: ...from 12: 2160 bytes 1371s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4946 bytes to 9 1372s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 8: 4946 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+838 bytes to 11 1372s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 10: 838 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4254 bytes to 17 1372s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 16: 4254 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+1635 bytes to 15 1372s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 14: 1635 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+1530 bytes to 13 1372s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 12: 1530 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+329 bytes to 9 1372s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 8: 329 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+1170 bytes to 11 1372s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 10: 1170 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+2786 bytes to 17 1372s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 16: 2786 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4043 bytes to 15 1372s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 14: 4043 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4329 bytes to 13 1372s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 12: 4329 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+949 bytes to 9 1372s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 8: 949 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+3687 bytes to 11 1372s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 10: 3687 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+3585 bytes to 15 1372s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 14: 3585 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4317 bytes to 17 1372s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 16: 4317 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4990 bytes to 13 1372s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 12: 4990 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+2821 bytes to 9 1372s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 8: 2821 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+3183 bytes to 11 1372s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 10: 3183 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+4380 bytes to 17 1372s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 16: 4380 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1372s # GLib-DEBUG: io-channel-basic: child writing 8+3577 bytes to 15 1372s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 14: 3577 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1372s # Executing: glib/io-channel-basic.test 1372s # GLib-DEBUG: io-channel-basic: child writing 8+719 bytes to 13 1372s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1372s # GLib-DEBUG: io-channel-basic: ...from 12: 719 bytes 1372s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+130 bytes to 9 1373s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 8: 130 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+2893 bytes to 11 1373s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 10: 2893 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+2717 bytes to 15 1373s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 14: 2717 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+1010 bytes to 17 1373s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 16: 1010 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+3704 bytes to 13 1373s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 12: 3704 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+2421 bytes to 9 1373s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 8: 2421 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+350 bytes to 11 1373s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 10: 350 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+4950 bytes to 17 1373s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 16: 4950 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+2195 bytes to 15 1373s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 14: 2195 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+3775 bytes to 13 1373s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 12: 3775 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+3617 bytes to 9 1373s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 8: 3617 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+2090 bytes to 11 1373s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 10: 2090 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+4860 bytes to 17 1373s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 16: 4860 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+1702 bytes to 15 1373s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 14: 1702 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+1205 bytes to 13 1373s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 12: 1205 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+531 bytes to 9 1373s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 8: 531 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+4034 bytes to 11 1373s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 10: 4034 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+4305 bytes to 15 1373s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 14: 4305 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1373s # GLib-DEBUG: io-channel-basic: child writing 8+3578 bytes to 17 1373s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1373s # GLib-DEBUG: io-channel-basic: ...from 16: 3578 bytes 1373s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+3627 bytes to 13 1374s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 12: 3627 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+119 bytes to 9 1374s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 8: 119 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+4739 bytes to 11 1374s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 10: 4739 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+507 bytes to 17 1374s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 16: 507 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+2943 bytes to 15 1374s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 14: 2943 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+2988 bytes to 13 1374s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 12: 2988 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 9 1374s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 8: 3240 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+4929 bytes to 11 1374s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 10: 4929 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+1173 bytes to 15 1374s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 14: 1173 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+2168 bytes to 17 1374s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 16: 2168 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+630 bytes to 13 1374s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 12: 630 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+1777 bytes to 9 1374s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 8: 1777 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+25 bytes to 11 1374s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 10: 25 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+3626 bytes to 15 1374s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1374s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1374s # GLib-DEBUG: io-channel-basic: ...from 14: 3626 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+1019 bytes to 17 1374s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 16: 1019 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+672 bytes to 13 1374s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 12: 672 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+4212 bytes to 9 1374s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 8: 4212 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1374s # GLib-DEBUG: io-channel-basic: child writing 8+4578 bytes to 11 1374s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1374s # GLib-DEBUG: io-channel-basic: ...from 10: 4578 bytes 1374s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3459 bytes to 17 1375s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 16: 3459 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+2846 bytes to 13 1375s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 12: 2846 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3161 bytes to 9 1375s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 8: 3161 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3210 bytes to 11 1375s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1375s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1375s # GLib-DEBUG: io-channel-basic: ...from 10: 3210 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1375s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1375s # GLib-DEBUG: io-channel-basic: child writing 8+4426 bytes to 17 1375s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 16: 4426 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 13 1375s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 12: 4555 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+1347 bytes to 9 1375s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 8: 1347 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3619 bytes to 17 1375s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 16: 3619 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3960 bytes to 13 1375s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 12: 3960 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+111 bytes to 9 1375s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 8: 111 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+2557 bytes to 17 1375s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1375s # GLib-DEBUG: io-channel-basic: ...from 16: 2557 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1375s # GLib-DEBUG: io-channel-basic: child writing 8+3540 bytes to 13 1375s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1375s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1375s # GLib-DEBUG: io-channel-basic: ...from 12: 3540 bytes 1375s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1376s # GLib-DEBUG: io-channel-basic: child writing 8+2556 bytes to 9 1376s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1376s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1376s # GLib-DEBUG: io-channel-basic: ...from 8: 2556 bytes 1376s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1376s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 1376s # GLib-DEBUG: io-channel-basic: child writing 8+747 bytes to 17 1376s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1376s # GLib-DEBUG: io-channel-basic: ...from 16: 747 bytes 1376s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1376s # GLib-DEBUG: io-channel-basic: child writing 8+2160 bytes to 17 1376s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1376s # GLib-DEBUG: io-channel-basic: ...from 16: 2160 bytes 1376s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1376s # GLib-DEBUG: io-channel-basic: child writing 8+2447 bytes to 17 1376s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1376s # GLib-DEBUG: io-channel-basic: ...from 16: 2447 bytes 1376s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1376s # GLib-DEBUG: io-channel-basic: child writing 8+250 bytes to 17 1376s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1376s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1376s # GLib-DEBUG: io-channel-basic: ...from 16: 250 bytes 1376s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1376s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1376s ok 1 /gio/io-basics 1376s # slow test /gio/io-basics executed in 13.49 secs 1376s # End of gio tests 1376s ok - glib/io-channel-basic.test 1376s # Running test: glib/genmarshal.py.test 1376s TAP version 13 1376s ok 1 __main__.TestGenmarshal.test_empty_list 1376s # glib-genmarshal: /usr/bin/glib-genmarshal 1376s # tmpdir: /tmp/tmp4chku0o7 1376s # /tmp/tmp4chku0o7/tmptoi3efms.list: 1376s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4chku0o7/tmptoi3efms.list', '--header', '--quiet'] 1376s # Return code: 0 1376s # Output: 1376s # /* 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. */ 1376s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1376s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1376s # 1376s # #include 1376s # 1376s # G_BEGIN_DECLS 1376s # 1376s # 1376s # G_END_DECLS 1376s # 1376s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1376s # Error: 1376s # 1376s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4chku0o7/tmptoi3efms.list', '--body', '--quiet'] 1376s # Return code: 0 1376s # Output: 1376s # /* 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. */ 1376s # #include 1376s # 1376s # #ifdef G_ENABLE_DEBUG 1376s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1376s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1376s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1376s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1376s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1376s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1376s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1376s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1376s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1376s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1376s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1376s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1376s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1376s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1376s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1376s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1376s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1376s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1376s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1376s # #else /* !G_ENABLE_DEBUG */ 1376s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1376s # * Do not access GValues directly in your code. Instead, use the 1376s # * g_value_get_*() functions 1376s # */ 1376s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1376s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1376s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1376s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1376s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1376s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1376s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1376s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1376s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1376s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1376s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1376s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1376s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1376s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1376s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1376s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1376s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1376s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1376s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1376s # #endif /* !G_ENABLE_DEBUG */ 1376s # Error: 1376s ok 2 __main__.TestGenmarshal.test_help 1376s # glib-genmarshal: /usr/bin/glib-genmarshal 1376s # tmpdir: /tmp/tmpg_2xzcwe 1376s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1376s # Return code: 0 1376s # Output: 1376s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1376s # [--internal] [--valist-marshallers] [-v] 1376s # [--g-fatal-warnings] [--include-header [HEADER]] 1376s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1376s # [--prototypes] [--header] [--body] [--stdinc | 1376s # --nostdinc] [--quiet | --verbose] 1376s # [FILE ...] 1376s # 1376s # Generate signal marshallers for GObject 1376s # 1376s # positional arguments: 1376s # FILE Files with lists of marshallers to generate, or "-" 1376s # for standard input 1376s # 1376s # options: 1376s # -h, --help show this help message and exit 1376s # --prefix STRING Specify marshaller prefix 1376s # --output FILE Write output into the specified file 1376s # --skip-source Skip source location comments 1376s # --internal Mark generated functions as internal 1376s # --valist-marshallers Generate va_list marshallers 1376s # -v, --version Print version information, and exit 1376s # --g-fatal-warnings Make warnings fatal 1376s # --include-header [HEADER] 1376s # Include the specified header in the body 1376s # --pragma-once Use "pragma once" as the inclusion guard 1376s # -D CPP_DEFINES Pre-processor define 1376s # -U CPP_UNDEFINES Pre-processor undefine 1376s # --prototypes Generate the marshallers prototype in the C code 1376s # --header Generate C headers 1376s # --body Generate C code 1376s # --stdinc Include standard marshallers 1376s # --nostdinc Use standard marshallers 1376s # --quiet Only print warnings and errors 1376s # --verbose Be verbose, and include debugging information 1376s # Error: 1377s ok 3 __main__.TestGenmarshal.test_no_args 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmpm92_u8r7 1377s # Running: ['/usr/bin/glib-genmarshal'] 1377s # Return code: 0 1377s # Output: 1377s # 1377s # Error: 1377s ok 4 __main__.TestGenmarshal.test_void_boolean 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmp071eps4e 1377s # /tmp/tmp071eps4e/tmp2fu32ul1.list: VOID:BOOLEAN 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp071eps4e/tmp2fu32ul1.list', '--header', '--quiet'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # 1377s # #include 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # /* VOID:BOOLEAN (/tmp/tmp071eps4e/tmp2fu32ul1.list:1) */ 1377s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1377s # Error: 1377s # 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp071eps4e/tmp2fu32ul1.list', '--body', '--quiet'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #include 1377s # 1377s # #ifdef G_ENABLE_DEBUG 1377s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1377s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1377s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1377s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1377s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1377s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1377s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1377s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1377s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1377s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1377s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1377s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1377s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1377s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1377s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1377s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1377s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1377s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1377s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1377s # #else /* !G_ENABLE_DEBUG */ 1377s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1377s # * Do not access GValues directly in your code. Instead, use the 1377s # * g_value_get_*() functions 1377s # */ 1377s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1377s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1377s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1377s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1377s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1377s # #endif /* !G_ENABLE_DEBUG */ 1377s # Error: 1377s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmp340v2fz_ 1377s # /tmp/tmp340v2fz_/tmpn7_w1wwt.list: VOID:BOOLEAN,INT64 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp340v2fz_/tmpn7_w1wwt.list', '--header', '--quiet'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # 1377s # #include 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # /* VOID:BOOLEAN,INT64 (/tmp/tmp340v2fz_/tmpn7_w1wwt.list:1) */ 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1377s # GValue *return_value, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint, 1377s # gpointer marshal_data); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1377s # Error: 1377s # 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp340v2fz_/tmpn7_w1wwt.list', '--body', '--quiet'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #include 1377s # 1377s # #ifdef G_ENABLE_DEBUG 1377s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1377s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1377s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1377s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1377s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1377s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1377s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1377s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1377s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1377s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1377s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1377s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1377s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1377s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1377s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1377s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1377s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1377s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1377s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1377s # #else /* !G_ENABLE_DEBUG */ 1377s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1377s # * Do not access GValues directly in your code. Instead, use the 1377s # * g_value_get_*() functions 1377s # */ 1377s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1377s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1377s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1377s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1377s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1377s # #endif /* !G_ENABLE_DEBUG */ 1377s # 1377s # /* VOID:BOOLEAN,INT64 (/tmp/tmp340v2fz_/tmpn7_w1wwt.list:1) */ 1377s # void 1377s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint G_GNUC_UNUSED, 1377s # gpointer marshal_data) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1377s # gboolean arg1, 1377s # gint64 arg2, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1377s # 1377s # g_return_if_fail (n_param_values == 3); 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = g_value_peek_pointer (param_values + 0); 1377s # } 1377s # else 1377s # { 1377s # data1 = g_value_peek_pointer (param_values + 0); 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # g_marshal_value_peek_boolean (param_values + 1), 1377s # g_marshal_value_peek_int64 (param_values + 2), 1377s # data2); 1377s # } 1377s # Error: 1377s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmpfdyx0o70 1377s # /tmp/tmpfdyx0o70/tmp6k7zq7xt.list: VOID:PARAM 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfdyx0o70/tmp6k7zq7xt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # /* VOID:PARAM (/tmp/tmpfdyx0o70/tmp6k7zq7xt.list:1) */ 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1377s # GValue *return_value, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint, 1377s # gpointer marshal_data); 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1377s # GValue *return_value, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1377s # Error: 1377s # 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfdyx0o70/tmp6k7zq7xt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifdef G_ENABLE_DEBUG 1377s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1377s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1377s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1377s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1377s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1377s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1377s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1377s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1377s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1377s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1377s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1377s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1377s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1377s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1377s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1377s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1377s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1377s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1377s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1377s # #else /* !G_ENABLE_DEBUG */ 1377s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1377s # * Do not access GValues directly in your code. Instead, use the 1377s # * g_value_get_*() functions 1377s # */ 1377s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1377s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1377s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1377s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1377s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1377s # #endif /* !G_ENABLE_DEBUG */ 1377s # 1377s # /* VOID:PARAM (/tmp/tmpfdyx0o70/tmp6k7zq7xt.list:1) */ 1377s # void 1377s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint G_GNUC_UNUSED, 1377s # gpointer marshal_data) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__PARAM callback; 1377s # 1377s # g_return_if_fail (n_param_values == 2); 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = g_value_peek_pointer (param_values + 0); 1377s # } 1377s # else 1377s # { 1377s # data1 = g_value_peek_pointer (param_values + 0); 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # g_marshal_value_peek_param (param_values + 1), 1377s # data2); 1377s # } 1377s # 1377s # void 1377s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__PARAM callback; 1377s # gpointer arg0; 1377s # va_list args_copy; 1377s # 1377s # va_copy (args_copy, args); 1377s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # arg0 = g_param_spec_ref (arg0); 1377s # va_end (args_copy); 1377s # 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = instance; 1377s # } 1377s # else 1377s # { 1377s # data1 = instance; 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # arg0, 1377s # data2); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # g_param_spec_unref (arg0); 1377s # } 1377s # Error: 1377s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmp_sd3npqc 1377s # /tmp/tmp_sd3npqc/tmp9guyqf8v.list: VOID:STRING 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_sd3npqc/tmp9guyqf8v.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # /* VOID:STRING (/tmp/tmp_sd3npqc/tmp9guyqf8v.list:1) */ 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1377s # GValue *return_value, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint, 1377s # gpointer marshal_data); 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1377s # GValue *return_value, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1377s # Error: 1377s # 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_sd3npqc/tmp9guyqf8v.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifdef G_ENABLE_DEBUG 1377s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1377s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1377s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1377s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1377s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1377s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1377s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1377s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1377s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1377s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1377s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1377s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1377s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1377s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1377s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1377s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1377s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1377s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1377s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1377s # #else /* !G_ENABLE_DEBUG */ 1377s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1377s # * Do not access GValues directly in your code. Instead, use the 1377s # * g_value_get_*() functions 1377s # */ 1377s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1377s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1377s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1377s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1377s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1377s # #endif /* !G_ENABLE_DEBUG */ 1377s # 1377s # /* VOID:STRING (/tmp/tmp_sd3npqc/tmp9guyqf8v.list:1) */ 1377s # void 1377s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint G_GNUC_UNUSED, 1377s # gpointer marshal_data) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__STRING callback; 1377s # 1377s # g_return_if_fail (n_param_values == 2); 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = g_value_peek_pointer (param_values + 0); 1377s # } 1377s # else 1377s # { 1377s # data1 = g_value_peek_pointer (param_values + 0); 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # g_marshal_value_peek_string (param_values + 1), 1377s # data2); 1377s # } 1377s # 1377s # void 1377s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__STRING callback; 1377s # gpointer arg0; 1377s # va_list args_copy; 1377s # 1377s # va_copy (args_copy, args); 1377s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # arg0 = g_strdup (arg0); 1377s # va_end (args_copy); 1377s # 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = instance; 1377s # } 1377s # else 1377s # { 1377s # data1 = instance; 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # arg0, 1377s # data2); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # g_free (arg0); 1377s # } 1377s # Error: 1377s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1377s # glib-genmarshal: /usr/bin/glib-genmarshal 1377s # tmpdir: /tmp/tmpf_ocx1k8 1377s # /tmp/tmpf_ocx1k8/tmpxb8bbwqz.list: VOID:VARIANT 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf_ocx1k8/tmpxb8bbwqz.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # /* VOID:VARIANT (/tmp/tmpf_ocx1k8/tmpxb8bbwqz.list:1) */ 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1377s # GValue *return_value, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint, 1377s # gpointer marshal_data); 1377s # extern 1377s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1377s # GValue *return_value, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1377s # Error: 1377s # 1377s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf_ocx1k8/tmpxb8bbwqz.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1377s # Return code: 0 1377s # Output: 1377s # /* 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. */ 1377s # #ifdef G_ENABLE_DEBUG 1377s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1377s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1377s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1377s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1377s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1377s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1377s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1377s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1377s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1377s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1377s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1377s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1377s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1377s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1377s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1377s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1377s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1377s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1377s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1377s # #else /* !G_ENABLE_DEBUG */ 1377s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1377s # * Do not access GValues directly in your code. Instead, use the 1377s # * g_value_get_*() functions 1377s # */ 1377s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1377s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1377s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1377s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1377s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1377s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1377s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1377s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1377s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1377s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1377s # #endif /* !G_ENABLE_DEBUG */ 1377s # 1377s # /* VOID:VARIANT (/tmp/tmpf_ocx1k8/tmpxb8bbwqz.list:1) */ 1377s # void 1377s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # guint n_param_values, 1377s # const GValue *param_values, 1377s # gpointer invocation_hint G_GNUC_UNUSED, 1377s # gpointer marshal_data) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__VARIANT callback; 1377s # 1377s # g_return_if_fail (n_param_values == 2); 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = g_value_peek_pointer (param_values + 0); 1377s # } 1377s # else 1377s # { 1377s # data1 = g_value_peek_pointer (param_values + 0); 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # g_marshal_value_peek_variant (param_values + 1), 1377s # data2); 1377s # } 1377s # 1377s # void 1377s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1377s # GValue *return_value G_GNUC_UNUSED, 1377s # gpointer instance, 1377s # va_list args, 1377s # gpointer marshal_data, 1377s # int n_params, 1377s # GType *param_types) 1377s # { 1377s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1377s # gpointer arg1, 1377s # gpointer data2); 1377s # GCClosure *cc = (GCClosure *) closure; 1377s # gpointer data1, data2; 1377s # GMarshalFunc_VOID__VARIANT callback; 1377s # gpointer arg0; 1377s # va_list args_copy; 1377s # 1377s # va_copy (args_copy, args); 1377s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # arg0 = g_variant_ref_sink (arg0); 1377s # va_end (args_copy); 1377s # 1377s # 1377s # if (G_CCLOSURE_SWAP_DATA (closure)) 1377s # { 1377s # data1 = closure->data; 1377s # data2 = instance; 1377s # } 1377s # else 1377s # { 1377s # data1 = instance; 1377s # data2 = closure->data; 1377s # } 1377s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1377s # 1377s # callback (data1, 1377s # arg0, 1377s # data2); 1377s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1377s # g_variant_unref (arg0); 1377s # } 1377s # Error: 1377s 1..8 1377s ok - glib/genmarshal.py.test 1377s # Running test: glib/environment.test 1377s TAP version 14 1377s # random seed: R02S40cb750276552fb4775a8a8f6295fba0 1377s 1..7 1377s # Start of environ tests 1377s # /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. 1377s ok 1 /environ/listenv 1377s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1377s ok 2 /environ/getenv 1377s ok 3 /environ/setenv 1377s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1377s ok - glib/environment.test 1377s # Running test: glib/gi-inspect-typelib.py.test 1377s ok 4 /environ/array 1377s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1377s ok 5 /environ/null 1377s # /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. 1377s ok 6 /environ/case 1377s # /environ/expansion summary: Test expansion of environment variable references. 1377s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1377s # End of environ tests 1377s TAP version 13 1377s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmp49kd4of8 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1377s # Return code: 0 1377s # Output: 1377s # Usage: 1377s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1377s # 1377s # Help Options: 1377s # -h, --help Show help options 1377s # 1377s # Application Options: 1377s # --typelib-version=VERSION Typelib version to inspect 1377s # --print-shlibs List the shared libraries the typelib requires 1377s # --print-typelibs List other typelibs the inspected typelib requires 1377s # Error: 1377s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpctl424t9 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1377s # Return code: 1 1377s # Output: 1377s # 1377s # Error: 1377s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1377s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmp0aq7uugz 1377s # Running: ['/usr/bin/gi-inspect-typelib'] 1377s # Return code: 1 1377s # Output: 1377s # 1377s # Error: 1377s # Please specify exactly one namespace 1377s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpqt7kpz2k 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgobject-2.0.so.0 1377s # shlib: libglib-2.0.so.0 1377s # Error: 1377s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpdzbmip03 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # 1377s # Error: 1377s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmp9bzomtsy 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgobject-2.0.so.0 1377s # shlib: libglib-2.0.so.0 1377s # Error: 1377s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpwp4m9j5e 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgobject-2.0.so.0 1377s # Error: 1377s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpmfpyh14t 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # typelib: GLib-2.0 1377s # Error: 1377s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpdg2b8988 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgobject-2.0.so.0 1377s # typelib: GLib-2.0 1377s # Error: 1377s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpwzcyd1w2 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgio-2.0.so.0 1377s # Error: 1377s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmpfob5xtnn 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # typelib: GObject-2.0 1377s # typelib: GLib-2.0 1377s # typelib: GModule-2.0 1377s # Error: 1377s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1377s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1377s # tmpdir: /tmp/tmp1e27rkdu 1377s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1377s # Return code: 0 1377s # Output: 1377s # shlib: libgio-2.0.so.0 1377s # typelib: GObject-2.0 1377s # typelib: GLib-2.0 1377s # typelib: GModule-2.0 1377s # Error: 1377s 1..12 1377s ok - glib/gi-inspect-typelib.py.test 1377s # Running test: glib/slist.test 1377s TAP version 14 1377s # random seed: R02S74eaf47f1d7148f9e40cf2df8c514329 1377s 1..14 1377s # Start of slist tests 1377s ok 1 /slist/sort 1377s ok 2 /slist/sort-with-data 1377s ok 3 /slist/insert-sorted 1377s ok 4 /slist/insert-sorted-with-data 1377s ok 5 /slist/reverse 1377s ok 6 /slist/nth 1377s ok 7 /slist/remove 1377s ok 8 /slist/remove-all 1377s ok 9 /slist/insert 1377s ok 10 /slist/position 1377s ok 11 /slist/concat 1377s ok 12 /slist/copy 1377s # Start of sort tests 1377s ok 13 /slist/sort/stable 1377s # End of sort tests 1377s # Start of copy tests 1377s ok 14 /slist/copy/deep 1377s # End of copy tests 1377s # End of slist tests 1377s ok - glib/slist.test 1377s # Running test: glib/fileattributematcher.test 1377s ok - glib/fileattributematcher.test 1377s TAP version 14 1377s # random seed: R02Sf9470c43fc769e2ebacc03e234e6b04a 1377s 1..3 1377s # Start of fileattributematcher tests 1377s ok 1 /fileattributematcher/exact 1377s ok 2 /fileattributematcher/equality 1377s ok 3 /fileattributematcher/subtract 1377s # End of fileattributematcher tests 1377s # Running test: glib/gdbus-serialization.test 1377s TAP version 14 1377s # random seed: R02S0d201c5cba60e1fb7059972533fdc69d 1377s 1..18 1377s # Start of gdbus tests 1377s # Start of message-serialize tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/basic/.dirs/runtime 1377s ok 1 /gdbus/message-serialize/basic 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/complex/.dirs/runtime 1377s ok 2 /gdbus/message-serialize/complex 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/invalid/.dirs/runtime 1377s ok 3 /gdbus/message-serialize/invalid 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/.dirs/runtime 1377s ok 4 /gdbus/message-serialize/header-checks 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/double-array/.dirs/runtime 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1377s ok 5 /gdbus/message-serialize/double-array 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/empty-structure/.dirs/runtime 1377s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1377s ok 6 /gdbus/message-serialize/empty-structure 1377s # Start of header-checks tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1377s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1377s ok 7 /gdbus/message-serialize/header-checks/valid 1377s # End of header-checks tests 1377s # End of message-serialize tests 1377s # Start of message-parse tests 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1377s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1377s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/non-signature-header/.dirs/runtime 1377s ok 9 /gdbus/message-parse/non-signature-header 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1377s ok 10 /gdbus/message-parse/empty-signature-header 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1377s ok 11 /gdbus/message-parse/multiple-signature-header 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1377s ok 12 /gdbus/message-parse/over-long-signature-header 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1377s ok 13 /gdbus/message-parse/deep-header-nesting 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1377s ok 14 /gdbus/message-parse/deep-body-nesting 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/truncated/.dirs/runtime 1377s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1377s ok 15 /gdbus/message-parse/truncated 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/cache 1377s ok - glib/gdbus-serialization.test 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/empty-structure/.dirs/runtime 1377s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1377s ok 16 /gdbus/message-parse/empty-structure 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/missing-header/.dirs/runtime 1377s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1377s ok 17 /gdbus/message-parse/missing-header 1377s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/home 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/cache 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/config 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/data 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/state 1377s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DEO7J3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1377s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1377s ok 18 /gdbus/message-parse/invalid-header-type 1377s # End of message-parse tests 1377s # End of gdbus tests 1377s # Running test: glib/codegen.py.test 1377s TAP version 13 1377s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1377s # gdbus-codegen: /usr/bin/gdbus-codegen 1377s # tmpdir: /tmp/tmpltyvblko 1377s # /tmp/tmpltyvblko/tmp5848lrfh.xml: 1377s # 1377s # 1377s # 1377s # 1377s # 1377s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpltyvblko/tmp5848lrfh.xml', '--output', '-', '--header'] 1377s # Return code: 0 1377s # Output: 1377s # /* 1377s # * This file is generated by gdbus-codegen, do not modify it. 1377s # * 1377s # * The license of this code is the same as for the D-Bus interface description 1377s # * it was derived from. Note that it links to GLib, so must comply with the 1377s # * LGPL linking clauses. 1377s # */ 1377s # 1377s # #ifndef __STDOUT__ 1377s # #define __STDOUT__ 1377s # 1377s # #include 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # 1377s # /* ------------------------------------------------------------------------ */ 1377s # /* Declarations for org.project.UsefulInterface */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1377s # 1377s # struct _OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1377s # 1377s # struct _OrgProjectUsefulInterfaceIface 1377s # { 1377s # GTypeInterface parent_iface; 1377s # 1377s # gboolean (*handle_useful_method) ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # }; 1377s # 1377s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1377s # 1377s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1377s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1377s # 1377s # 1377s # /* D-Bus method call completion functions: */ 1377s # void org_project_useful_interface_complete_useful_method ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # 1377s # 1377s # /* D-Bus method calls: */ 1377s # void org_project_useful_interface_call_useful_method ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_finish ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_sync ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxy 1377s # { 1377s # /*< private >*/ 1377s # GDBusProxy parent_instance; 1377s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxyClass 1377s # { 1377s # GDBusProxyClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1377s # #endif 1377s # 1377s # void org_project_useful_interface_proxy_new ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # void org_project_useful_interface_proxy_new_for_bus ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeleton 1377s # { 1377s # /*< private >*/ 1377s # GDBusInterfaceSkeleton parent_instance; 1377s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeletonClass 1377s # { 1377s # GDBusInterfaceSkeletonClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1377s # #endif 1377s # 1377s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __STDOUT__ */ 1377s # Error: 1377s # 1377s # /tmp/tmpltyvblko/tmp5peegldb.xml: 1377s # 1377s # 1377s # 1377s # 1377s # 1377s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpltyvblko/tmp5peegldb.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1377s # Return code: 0 1377s # Output: 1377s # /* 1377s # * This file is generated by gdbus-codegen, do not modify it. 1377s # * 1377s # * The license of this code is the same as for the D-Bus interface description 1377s # * it was derived from. Note that it links to GLib, so must comply with the 1377s # * LGPL linking clauses. 1377s # */ 1377s # 1377s # #ifndef __STDOUT__ 1377s # #define __STDOUT__ 1377s # 1377s # #include 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # 1377s # /* ------------------------------------------------------------------------ */ 1377s # /* Declarations for org.project.UsefulInterface */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1377s # 1377s # struct _OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1377s # 1377s # struct _OrgProjectUsefulInterfaceIface 1377s # { 1377s # GTypeInterface parent_iface; 1377s # 1377s # gboolean (*handle_useful_method) ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # }; 1377s # 1377s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1377s # 1377s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1377s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1377s # 1377s # 1377s # /* D-Bus method call completion functions: */ 1377s # void org_project_useful_interface_complete_useful_method ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # 1377s # 1377s # /* D-Bus method calls: */ 1377s # void org_project_useful_interface_call_useful_method ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_finish ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_sync ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxy 1377s # { 1377s # /*< private >*/ 1377s # GDBusProxy parent_instance; 1377s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxyClass 1377s # { 1377s # GDBusProxyClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1377s # #endif 1377s # 1377s # void org_project_useful_interface_proxy_new ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # void org_project_useful_interface_proxy_new_for_bus ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeleton 1377s # { 1377s # /*< private >*/ 1377s # GDBusInterfaceSkeleton parent_instance; 1377s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeletonClass 1377s # { 1377s # GDBusInterfaceSkeletonClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1377s # #endif 1377s # 1377s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __STDOUT__ */ 1377s # Error: 1377s # 1377s # /tmp/tmpltyvblko/tmp868ihkfm.xml: 1377s # 1377s # 1377s # 1377s # 1377s # 1377s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpltyvblko/tmp868ihkfm.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1377s # Return code: 0 1377s # Output: 1377s # /* 1377s # * This file is generated by gdbus-codegen, do not modify it. 1377s # * 1377s # * The license of this code is the same as for the D-Bus interface description 1377s # * it was derived from. Note that it links to GLib, so must comply with the 1377s # * LGPL linking clauses. 1377s # */ 1377s # 1377s # #ifndef __STDOUT__ 1377s # #define __STDOUT__ 1377s # 1377s # #include 1377s # 1377s # G_BEGIN_DECLS 1377s # 1377s # 1377s # /* ------------------------------------------------------------------------ */ 1377s # /* Declarations for org.project.UsefulInterface */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1377s # 1377s # struct _OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1377s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1377s # 1377s # struct _OrgProjectUsefulInterfaceIface 1377s # { 1377s # GTypeInterface parent_iface; 1377s # 1377s # gboolean (*handle_useful_method) ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # }; 1377s # 1377s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1377s # 1377s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1377s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1377s # 1377s # 1377s # /* D-Bus method call completion functions: */ 1377s # void org_project_useful_interface_complete_useful_method ( 1377s # OrgProjectUsefulInterface *object, 1377s # GDBusMethodInvocation *invocation); 1377s # 1377s # 1377s # 1377s # /* D-Bus method calls: */ 1377s # void org_project_useful_interface_call_useful_method ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GDBusCallFlags call_flags, 1377s # gint timeout_msec, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_finish ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # 1377s # gboolean org_project_useful_interface_call_useful_method_sync ( 1377s # OrgProjectUsefulInterface *proxy, 1377s # GDBusCallFlags call_flags, 1377s # gint timeout_msec, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1377s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxy 1377s # { 1377s # /*< private >*/ 1377s # GDBusProxy parent_instance; 1377s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceProxyClass 1377s # { 1377s # GDBusProxyClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1377s # #endif 1377s # 1377s # void org_project_useful_interface_proxy_new ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1377s # GDBusConnection *connection, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # void org_project_useful_interface_proxy_new_for_bus ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GAsyncReadyCallback callback, 1377s # gpointer user_data); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1377s # GAsyncResult *res, 1377s # GError **error); 1377s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1377s # GBusType bus_type, 1377s # GDBusProxyFlags flags, 1377s # const gchar *name, 1377s # const gchar *object_path, 1377s # GCancellable *cancellable, 1377s # GError **error); 1377s # 1377s # 1377s # /* ---- */ 1377s # 1377s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1377s # 1377s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1377s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeleton 1377s # { 1377s # /*< private >*/ 1377s # GDBusInterfaceSkeleton parent_instance; 1377s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1377s # }; 1377s # 1377s # struct _OrgProjectUsefulInterfaceSkeletonClass 1377s # { 1377s # GDBusInterfaceSkeletonClass parent_class; 1377s # }; 1377s # 1377s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1377s # 1377s # #if GLIB_CHECK_VERSION(2, 44, 0) 1377s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1377s # #endif 1377s # 1377s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1377s # 1377s # 1377s # G_END_DECLS 1377s # 1377s # #endif /* __STDOUT__ */ 1377s # Error: 1377s # Executing: glib/codegen.py.test 1378s ok 2 __main__.TestCodegen.test_dbus_types 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpy1g1dro_ 1378s # /tmp/tmpy1g1dro_/tmpqyt021v2.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpqyt021v2.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1378s # /tmp/tmpy1g1dro_/tmpg8yu8t_n.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpg8yu8t_n.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1378s # /tmp/tmpy1g1dro_/tmp_rhtt4lm.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp_rhtt4lm.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1378s # /tmp/tmpy1g1dro_/tmptdhy6qxf.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmptdhy6qxf.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1378s # /tmp/tmpy1g1dro_/tmp1klu8i4u.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp1klu8i4u.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1378s # /tmp/tmpy1g1dro_/tmp6tfpy2xr.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp6tfpy2xr.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1378s # /tmp/tmpy1g1dro_/tmpbhrf9ll1.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpbhrf9ll1.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1378s # /tmp/tmpy1g1dro_/tmp6ipxy8tk.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp6ipxy8tk.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1378s # /tmp/tmpy1g1dro_/tmpzepembhq.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpzepembhq.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1378s # /tmp/tmpy1g1dro_/tmp6bvp0m_7.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp6bvp0m_7.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: D-Bus maximum signature length of 255 exceeded. 1378s # /tmp/tmpy1g1dro_/tmp24tvo4qj.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp24tvo4qj.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: D-Bus maximum signature length of 255 exceeded. 1378s # /tmp/tmpy1g1dro_/tmp2xify4w2.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmp2xify4w2.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1378s # /tmp/tmpy1g1dro_/tmplzsh86bd.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmplzsh86bd.xml', '--output', '-', '--body'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # ERROR: D-Bus maximum signature length of 255 exceeded. 1378s # /tmp/tmpy1g1dro_/tmpwrrntb4q.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpwrrntb4q.xml', '--output', '-', '--body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface GoodTypes 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:GoodTypes 1378s # * @title: GoodTypes 1378s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1378s # * 1378s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for GoodTypes ---- */ 1378s # 1378s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodPropertyType", 1378s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1378s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1378s # NULL 1378s # }, 1378s # "good-property-type", 1378s # FALSE, 1378s # TRUE 1378s # }; 1378s # 1378s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1378s # { 1378s # &_good_types_property_info_good_property_type.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodTypes", 1378s # NULL, 1378s # NULL, 1378s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1378s # NULL 1378s # }, 1378s # "good-types", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * good_types_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # good_types_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * good_types_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1378s # { 1378s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # 1378s # /** 1378s # * GoodTypes: 1378s # * 1378s # * Abstract interface type for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesIface: 1378s # * @parent_iface: The parent interface. 1378s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1378s # * 1378s # * Virtual table for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # typedef GoodTypesIface GoodTypesInterface; 1378s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # good_types_default_init (GoodTypesIface *iface) 1378s # { 1378s # /* GObject properties for D-Bus properties: */ 1378s # /** 1378s # * GoodTypes:good-property-type: 1378s # * 1378s # * Represents the D-Bus property "GoodPropertyType". 1378s # * 1378s # * 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. 1378s # */ 1378s # g_object_interface_install_property (iface, 1378s # 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)); 1378s # } 1378s # 1378s # /** 1378s # * good_types_get_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets the value of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # GVariant * 1378s # good_types_get_good_property_type (GoodTypes *object) 1378s # { 1378s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1378s # 1378s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1378s # } 1378s # 1378s # /** 1378s # * good_types_dup_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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(). 1378s # */ 1378s # GVariant * 1378s # good_types_dup_good_property_type (GoodTypes *object) 1378s # { 1378s # GVariant *value; 1378s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1378s # return value; 1378s # } 1378s # 1378s # /** 1378s # * good_types_set_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * @value: The value to set. 1378s # * 1378s # * Sets the "GoodPropertyType" D-Bus property to @value. 1378s # * 1378s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1378s # */ 1378s # void 1378s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1378s # { 1378s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesProxy: 1378s # * 1378s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesProxy. 1378s # */ 1378s # 1378s # struct _GoodTypesProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (GoodTypesProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_proxy_finalize (GObject *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1378s # if (info->use_gvariant) 1378s # { 1378s # g_value_set_variant (value, variant); 1378s # } 1378s # else 1378s # { 1378s # if (variant != NULL) 1378s # g_dbus_gvariant_to_gvalue (variant, value); 1378s # } 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1378s # GAsyncResult *res, 1378s # gpointer user_data) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info = user_data; 1378s # GError *error; 1378s # GVariant *_ret; 1378s # error = NULL; 1378s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1378s # if (!_ret) 1378s # { 1378s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1378s # info->parent_struct.name, 1378s # error->message, g_quark_to_string (error->domain), error->code); 1378s # g_error_free (error); 1378s # } 1378s # else 1378s # { 1378s # g_variant_unref (_ret); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1378s # "org.freedesktop.DBus.Properties.Set", 1378s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_proxy_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # GVariant *variant; 1378s # GVariant *value = NULL; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1378s # value = variant; 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_init (GoodTypesProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_proxy_finalize; 1378s # gobject_class->get_property = good_types_proxy_get_property; 1378s # gobject_class->set_property = good_types_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = good_types_proxy_g_signal; 1378s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesSkeleton: 1378s # * 1378s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesSkeleton. 1378s # */ 1378s # 1378s # struct _GoodTypesSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _good_types_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _good_types_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1378s # { 1378s # _good_types_skeleton_handle_method_call, 1378s # _good_types_skeleton_handle_get_property, 1378s # _good_types_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return good_types_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_good_types_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static gboolean _good_types_emit_changed (gpointer user_data); 1378s # 1378s # static void 1378s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # gboolean emit_changed = FALSE; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # { 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # emit_changed = TRUE; 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # 1378s # if (emit_changed) 1378s # _good_types_emit_changed (skeleton); 1378s # } 1378s # 1378s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (GoodTypesSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_skeleton_finalize (GObject *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # guint n; 1378s # for (n = 0; n < 1; n++) 1378s # g_value_unset (&skeleton->priv->properties[n]); 1378s # g_free (skeleton->priv->properties); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_emit_changed (gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GList *l; 1378s # GVariantBuilder builder; 1378s # GVariantBuilder invalidated_builder; 1378s # guint num_changes; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #else 1378s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #endif 1378s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *cp = l->data; 1378s # GVariant *variant; 1378s # const GValue *cur_value; 1378s # 1378s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1378s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1378s # { 1378s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1378s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1378s # g_variant_unref (variant); 1378s # num_changes++; 1378s # } 1378s # } 1378s # if (num_changes > 0) 1378s # { 1378s # GList *connections, *ll; 1378s # GVariant *signal_variant; 1378s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1378s # &builder, &invalidated_builder)); 1378s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1378s # for (ll = connections; ll != NULL; ll = ll->next) 1378s # { 1378s # GDBusConnection *connection = ll->data; 1378s # 1378s # g_dbus_connection_emit_signal (connection, 1378s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1378s # "org.freedesktop.DBus.Properties", 1378s # "PropertiesChanged", 1378s # signal_variant, 1378s # NULL); 1378s # } 1378s # g_variant_unref (signal_variant); 1378s # g_list_free_full (connections, g_object_unref); 1378s # } 1378s # else 1378s # { 1378s # g_variant_builder_clear (&builder); 1378s # g_variant_builder_clear (&invalidated_builder); 1378s # } 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # skeleton->priv->changed_properties = NULL; 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return FALSE; 1378s # } 1378s # 1378s # static void 1378s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1378s # { 1378s # ChangedProperty *cp; 1378s # GList *l; 1378s # cp = NULL; 1378s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *i_cp = l->data; 1378s # if (i_cp->info == info) 1378s # { 1378s # cp = i_cp; 1378s # break; 1378s # } 1378s # } 1378s # if (cp == NULL) 1378s # { 1378s # cp = g_new0 (ChangedProperty, 1); 1378s # cp->prop_id = prop_id; 1378s # cp->info = info; 1378s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1378s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1378s # g_value_copy (orig_value, &cp->orig_value); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_notify (GObject *object, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties != NULL && 1378s # skeleton->priv->changed_properties_idle_source == NULL) 1378s # { 1378s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1378s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1378s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1378s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1378s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1378s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_object_freeze_notify (object); 1378s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1378s # { 1378s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1378s # info->emits_changed_signal) 1378s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1378s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1378s # g_object_notify_by_pspec (object, pspec); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # g_object_thaw_notify (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # skeleton->priv->properties = g_new0 (GValue, 1); 1378s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # GVariant *value; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_skeleton_finalize; 1378s # gobject_class->get_property = good_types_skeleton_get_property; 1378s # gobject_class->set_property = good_types_skeleton_set_property; 1378s # gobject_class->notify = good_types_skeleton_notify; 1378s # 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1378s # */ 1378s # GoodTypes * 1378s # good_types_skeleton_new (void) 1378s # { 1378s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1378s # } 1378s # Error: 1378s # 1378s # /tmp/tmpy1g1dro_/tmpj8b4584d.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpj8b4584d.xml', '--output', '-', '--body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface GoodTypes 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:GoodTypes 1378s # * @title: GoodTypes 1378s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1378s # * 1378s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for GoodTypes ---- */ 1378s # 1378s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodPropertyType", 1378s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1378s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1378s # NULL 1378s # }, 1378s # "good-property-type", 1378s # FALSE, 1378s # TRUE 1378s # }; 1378s # 1378s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1378s # { 1378s # &_good_types_property_info_good_property_type.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodTypes", 1378s # NULL, 1378s # NULL, 1378s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1378s # NULL 1378s # }, 1378s # "good-types", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * good_types_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # good_types_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * good_types_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1378s # { 1378s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # 1378s # /** 1378s # * GoodTypes: 1378s # * 1378s # * Abstract interface type for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesIface: 1378s # * @parent_iface: The parent interface. 1378s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1378s # * 1378s # * Virtual table for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # typedef GoodTypesIface GoodTypesInterface; 1378s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # good_types_default_init (GoodTypesIface *iface) 1378s # { 1378s # /* GObject properties for D-Bus properties: */ 1378s # /** 1378s # * GoodTypes:good-property-type: 1378s # * 1378s # * Represents the D-Bus property "GoodPropertyType". 1378s # * 1378s # * 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. 1378s # */ 1378s # g_object_interface_install_property (iface, 1378s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1378s # } 1378s # 1378s # /** 1378s # * good_types_get_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets the value of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # GVariant * 1378s # good_types_get_good_property_type (GoodTypes *object) 1378s # { 1378s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1378s # 1378s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1378s # } 1378s # 1378s # /** 1378s # * good_types_dup_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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(). 1378s # */ 1378s # GVariant * 1378s # good_types_dup_good_property_type (GoodTypes *object) 1378s # { 1378s # GVariant *value; 1378s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1378s # return value; 1378s # } 1378s # 1378s # /** 1378s # * good_types_set_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * @value: The value to set. 1378s # * 1378s # * Sets the "GoodPropertyType" D-Bus property to @value. 1378s # * 1378s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1378s # */ 1378s # void 1378s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1378s # { 1378s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesProxy: 1378s # * 1378s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesProxy. 1378s # */ 1378s # 1378s # struct _GoodTypesProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (GoodTypesProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_proxy_finalize (GObject *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1378s # if (info->use_gvariant) 1378s # { 1378s # g_value_set_variant (value, variant); 1378s # } 1378s # else 1378s # { 1378s # if (variant != NULL) 1378s # g_dbus_gvariant_to_gvalue (variant, value); 1378s # } 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1378s # GAsyncResult *res, 1378s # gpointer user_data) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info = user_data; 1378s # GError *error; 1378s # GVariant *_ret; 1378s # error = NULL; 1378s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1378s # if (!_ret) 1378s # { 1378s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1378s # info->parent_struct.name, 1378s # error->message, g_quark_to_string (error->domain), error->code); 1378s # g_error_free (error); 1378s # } 1378s # else 1378s # { 1378s # g_variant_unref (_ret); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1378s # "org.freedesktop.DBus.Properties.Set", 1378s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_proxy_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # GVariant *variant; 1378s # GVariant *value = NULL; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1378s # value = variant; 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_init (GoodTypesProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_proxy_finalize; 1378s # gobject_class->get_property = good_types_proxy_get_property; 1378s # gobject_class->set_property = good_types_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = good_types_proxy_g_signal; 1378s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesSkeleton: 1378s # * 1378s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesSkeleton. 1378s # */ 1378s # 1378s # struct _GoodTypesSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _good_types_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _good_types_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1378s # { 1378s # _good_types_skeleton_handle_method_call, 1378s # _good_types_skeleton_handle_get_property, 1378s # _good_types_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return good_types_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_good_types_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static gboolean _good_types_emit_changed (gpointer user_data); 1378s # 1378s # static void 1378s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # gboolean emit_changed = FALSE; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # { 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # emit_changed = TRUE; 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # 1378s # if (emit_changed) 1378s # _good_types_emit_changed (skeleton); 1378s # } 1378s # 1378s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (GoodTypesSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_skeleton_finalize (GObject *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # guint n; 1378s # for (n = 0; n < 1; n++) 1378s # g_value_unset (&skeleton->priv->properties[n]); 1378s # g_free (skeleton->priv->properties); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_emit_changed (gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GList *l; 1378s # GVariantBuilder builder; 1378s # GVariantBuilder invalidated_builder; 1378s # guint num_changes; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #else 1378s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #endif 1378s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *cp = l->data; 1378s # GVariant *variant; 1378s # const GValue *cur_value; 1378s # 1378s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1378s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1378s # { 1378s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1378s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1378s # g_variant_unref (variant); 1378s # num_changes++; 1378s # } 1378s # } 1378s # if (num_changes > 0) 1378s # { 1378s # GList *connections, *ll; 1378s # GVariant *signal_variant; 1378s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1378s # &builder, &invalidated_builder)); 1378s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1378s # for (ll = connections; ll != NULL; ll = ll->next) 1378s # { 1378s # GDBusConnection *connection = ll->data; 1378s # 1378s # g_dbus_connection_emit_signal (connection, 1378s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1378s # "org.freedesktop.DBus.Properties", 1378s # "PropertiesChanged", 1378s # signal_variant, 1378s # NULL); 1378s # } 1378s # g_variant_unref (signal_variant); 1378s # g_list_free_full (connections, g_object_unref); 1378s # } 1378s # else 1378s # { 1378s # g_variant_builder_clear (&builder); 1378s # g_variant_builder_clear (&invalidated_builder); 1378s # } 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # skeleton->priv->changed_properties = NULL; 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return FALSE; 1378s # } 1378s # 1378s # static void 1378s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1378s # { 1378s # ChangedProperty *cp; 1378s # GList *l; 1378s # cp = NULL; 1378s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *i_cp = l->data; 1378s # if (i_cp->info == info) 1378s # { 1378s # cp = i_cp; 1378s # break; 1378s # } 1378s # } 1378s # if (cp == NULL) 1378s # { 1378s # cp = g_new0 (ChangedProperty, 1); 1378s # cp->prop_id = prop_id; 1378s # cp->info = info; 1378s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1378s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1378s # g_value_copy (orig_value, &cp->orig_value); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_notify (GObject *object, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties != NULL && 1378s # skeleton->priv->changed_properties_idle_source == NULL) 1378s # { 1378s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1378s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1378s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1378s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1378s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1378s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_object_freeze_notify (object); 1378s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1378s # { 1378s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1378s # info->emits_changed_signal) 1378s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1378s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1378s # g_object_notify_by_pspec (object, pspec); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # g_object_thaw_notify (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # skeleton->priv->properties = g_new0 (GValue, 1); 1378s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # GVariant *value; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_skeleton_finalize; 1378s # gobject_class->get_property = good_types_skeleton_get_property; 1378s # gobject_class->set_property = good_types_skeleton_set_property; 1378s # gobject_class->notify = good_types_skeleton_notify; 1378s # 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1378s # */ 1378s # GoodTypes * 1378s # good_types_skeleton_new (void) 1378s # { 1378s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1378s # } 1378s # Error: 1378s # 1378s # /tmp/tmpy1g1dro_/tmpwdi6jggh.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy1g1dro_/tmpwdi6jggh.xml', '--output', '-', '--body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface GoodTypes 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:GoodTypes 1378s # * @title: GoodTypes 1378s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1378s # * 1378s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for GoodTypes ---- */ 1378s # 1378s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodPropertyType", 1378s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1378s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1378s # NULL 1378s # }, 1378s # "good-property-type", 1378s # FALSE, 1378s # TRUE 1378s # }; 1378s # 1378s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1378s # { 1378s # &_good_types_property_info_good_property_type.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "GoodTypes", 1378s # NULL, 1378s # NULL, 1378s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1378s # NULL 1378s # }, 1378s # "good-types", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * good_types_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # good_types_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * good_types_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1378s # { 1378s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # 1378s # /** 1378s # * GoodTypes: 1378s # * 1378s # * Abstract interface type for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesIface: 1378s # * @parent_iface: The parent interface. 1378s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1378s # * 1378s # * Virtual table for the D-Bus interface GoodTypes. 1378s # */ 1378s # 1378s # typedef GoodTypesIface GoodTypesInterface; 1378s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # good_types_default_init (GoodTypesIface *iface) 1378s # { 1378s # /* GObject properties for D-Bus properties: */ 1378s # /** 1378s # * GoodTypes:good-property-type: 1378s # * 1378s # * Represents the D-Bus property "GoodPropertyType". 1378s # * 1378s # * 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. 1378s # */ 1378s # g_object_interface_install_property (iface, 1378s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1378s # } 1378s # 1378s # /** 1378s # * good_types_get_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets the value of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # GVariant * 1378s # good_types_get_good_property_type (GoodTypes *object) 1378s # { 1378s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1378s # 1378s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1378s # } 1378s # 1378s # /** 1378s # * good_types_dup_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * 1378s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1378s # * 1378s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1378s # * 1378s # * 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(). 1378s # */ 1378s # GVariant * 1378s # good_types_dup_good_property_type (GoodTypes *object) 1378s # { 1378s # GVariant *value; 1378s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1378s # return value; 1378s # } 1378s # 1378s # /** 1378s # * good_types_set_good_property_type: (skip) 1378s # * @object: A GoodTypes. 1378s # * @value: The value to set. 1378s # * 1378s # * Sets the "GoodPropertyType" D-Bus property to @value. 1378s # * 1378s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1378s # */ 1378s # void 1378s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1378s # { 1378s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesProxy: 1378s # * 1378s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesProxy. 1378s # */ 1378s # 1378s # struct _GoodTypesProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (GoodTypesProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_proxy_finalize (GObject *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1378s # if (info->use_gvariant) 1378s # { 1378s # g_value_set_variant (value, variant); 1378s # } 1378s # else 1378s # { 1378s # if (variant != NULL) 1378s # g_dbus_gvariant_to_gvalue (variant, value); 1378s # } 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1378s # GAsyncResult *res, 1378s # gpointer user_data) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info = user_data; 1378s # GError *error; 1378s # GVariant *_ret; 1378s # error = NULL; 1378s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1378s # if (!_ret) 1378s # { 1378s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1378s # info->parent_struct.name, 1378s # error->message, g_quark_to_string (error->domain), error->code); 1378s # g_error_free (error); 1378s # } 1378s # else 1378s # { 1378s # g_variant_unref (_ret); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *variant; 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1378s # "org.freedesktop.DBus.Properties.Set", 1378s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1378s # g_variant_unref (variant); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_proxy_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1378s # GVariant *variant; 1378s # GVariant *value = NULL; 1378s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1378s # value = variant; 1378s # if (variant != NULL) 1378s # g_variant_unref (variant); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_init (GoodTypesProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_proxy_finalize; 1378s # gobject_class->get_property = good_types_proxy_get_property; 1378s # gobject_class->set_property = good_types_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = good_types_proxy_g_signal; 1378s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_proxy_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # good_types_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * good_types_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # GoodTypes * 1378s # good_types_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return GOOD_TYPES (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * GoodTypesSkeleton: 1378s # * 1378s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * GoodTypesSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for GoodTypesSkeleton. 1378s # */ 1378s # 1378s # struct _GoodTypesSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _good_types_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _good_types_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1378s # { 1378s # _good_types_skeleton_handle_method_call, 1378s # _good_types_skeleton_handle_get_property, 1378s # _good_types_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return good_types_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_good_types_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static gboolean _good_types_emit_changed (gpointer user_data); 1378s # 1378s # static void 1378s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1378s # gboolean emit_changed = FALSE; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # { 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # emit_changed = TRUE; 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # 1378s # if (emit_changed) 1378s # _good_types_emit_changed (skeleton); 1378s # } 1378s # 1378s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (GoodTypesSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # good_types_skeleton_finalize (GObject *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # guint n; 1378s # for (n = 0; n < 1; n++) 1378s # g_value_unset (&skeleton->priv->properties[n]); 1378s # g_free (skeleton->priv->properties); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_get_property (GObject *object, 1378s # guint prop_id, 1378s # GValue *value, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static gboolean 1378s # _good_types_emit_changed (gpointer user_data) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1378s # GList *l; 1378s # GVariantBuilder builder; 1378s # GVariantBuilder invalidated_builder; 1378s # guint num_changes; 1378s # 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #else 1378s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1378s # #endif 1378s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *cp = l->data; 1378s # GVariant *variant; 1378s # const GValue *cur_value; 1378s # 1378s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1378s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1378s # { 1378s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1378s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1378s # g_variant_unref (variant); 1378s # num_changes++; 1378s # } 1378s # } 1378s # if (num_changes > 0) 1378s # { 1378s # GList *connections, *ll; 1378s # GVariant *signal_variant; 1378s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1378s # &builder, &invalidated_builder)); 1378s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1378s # for (ll = connections; ll != NULL; ll = ll->next) 1378s # { 1378s # GDBusConnection *connection = ll->data; 1378s # 1378s # g_dbus_connection_emit_signal (connection, 1378s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1378s # "org.freedesktop.DBus.Properties", 1378s # "PropertiesChanged", 1378s # signal_variant, 1378s # NULL); 1378s # } 1378s # g_variant_unref (signal_variant); 1378s # g_list_free_full (connections, g_object_unref); 1378s # } 1378s # else 1378s # { 1378s # g_variant_builder_clear (&builder); 1378s # g_variant_builder_clear (&invalidated_builder); 1378s # } 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # skeleton->priv->changed_properties = NULL; 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return FALSE; 1378s # } 1378s # 1378s # static void 1378s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1378s # { 1378s # ChangedProperty *cp; 1378s # GList *l; 1378s # cp = NULL; 1378s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1378s # { 1378s # ChangedProperty *i_cp = l->data; 1378s # if (i_cp->info == info) 1378s # { 1378s # cp = i_cp; 1378s # break; 1378s # } 1378s # } 1378s # if (cp == NULL) 1378s # { 1378s # cp = g_new0 (ChangedProperty, 1); 1378s # cp->prop_id = prop_id; 1378s # cp->info = info; 1378s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1378s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1378s # g_value_copy (orig_value, &cp->orig_value); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_notify (GObject *object, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # if (skeleton->priv->changed_properties != NULL && 1378s # skeleton->priv->changed_properties_idle_source == NULL) 1378s # { 1378s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1378s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1378s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1378s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1378s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1378s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_set_property (GObject *object, 1378s # guint prop_id, 1378s # const GValue *value, 1378s # GParamSpec *pspec) 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1378s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # g_object_freeze_notify (object); 1378s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1378s # { 1378s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1378s # info->emits_changed_signal) 1378s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1378s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1378s # g_object_notify_by_pspec (object, pspec); 1378s # } 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # g_object_thaw_notify (object); 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # skeleton->priv->properties = g_new0 (GValue, 1); 1378s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1378s # } 1378s # 1378s # static GVariant * 1378s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1378s # { 1378s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1378s # GVariant *value; 1378s # g_mutex_lock (&skeleton->priv->lock); 1378s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1378s # g_mutex_unlock (&skeleton->priv->lock); 1378s # return value; 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = good_types_skeleton_finalize; 1378s # gobject_class->get_property = good_types_skeleton_get_property; 1378s # gobject_class->set_property = good_types_skeleton_set_property; 1378s # gobject_class->notify = good_types_skeleton_notify; 1378s # 1378s # 1378s # good_types_override_properties (gobject_class, 1); 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1378s # { 1378s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1378s # } 1378s # 1378s # /** 1378s # * good_types_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1378s # * 1378s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1378s # */ 1378s # GoodTypes * 1378s # good_types_skeleton_new (void) 1378s # { 1378s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1378s # } 1378s # Error: 1378s ok 3 __main__.TestCodegen.test_empty_interface_body 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpvysbmcx3 1378s # /tmp/tmpvysbmcx3/tmp7i2hnt9s.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvysbmcx3/tmp7i2hnt9s.xml', '--output', '-', '--body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # Error: 1378s ok 4 __main__.TestCodegen.test_empty_interface_header 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpf38j6vn4 1378s # /tmp/tmpf38j6vn4/tmpw2h7q99f.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf38j6vn4/tmpw2h7q99f.xml', '--output', '-', '--header'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifndef __STDOUT__ 1378s # #define __STDOUT__ 1378s # 1378s # #include 1378s # 1378s # G_BEGIN_DECLS 1378s # 1378s # 1378s # G_END_DECLS 1378s # 1378s # #endif /* __STDOUT__ */ 1378s # Error: 1378s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp23gxqnju 1378s # /tmp/tmp23gxqnju/tmp3pi5hbho.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp23gxqnju/tmp3pi5hbho.xml', '--output', '-', '--interface-info-body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # Error: 1378s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp490xxpa_ 1378s # /tmp/tmp490xxpa_/tmp0ix0r31m.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp490xxpa_/tmp0ix0r31m.xml', '--output', '-', '--interface-info-header'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifndef __STDOUT__ 1378s # #define __STDOUT__ 1378s # 1378s # #include 1378s # 1378s # G_BEGIN_DECLS 1378s # 1378s # 1378s # G_END_DECLS 1378s # 1378s # #endif /* __STDOUT__ */ 1378s # Error: 1378s ok 7 __main__.TestCodegen.test_extension_bad_file 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp1173qml4 1378s # /tmp/tmp1173qml4/tmp47e_vp72.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1173qml4/tmp47e_vp72.xml', '--output', '-', '--header', '--extension-path', '/path/that/does/not/exist'] 1378s # Return code: 1 1378s # Output: 1378s # 1378s # Error: 1378s # WARNING: Traceback (most recent call last): 1378s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 329, in codegen_main 1378s # codegen_ext = import_from_path("GDBusCodegenExt", args.extension_path) 1378s # File "/usr/share/glib-2.0/codegen/codegen_main.py", line 46, in import_from_path 1378s # raise Exception("Not a Python file") 1378s # Exception: Not a Python file 1378s # 1378s # ERROR: Loading extension ‘/path/that/does/not/exist’ failed 1378s ok 8 __main__.TestCodegen.test_extension_code_generate 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpjx6si1aw 1378s # /tmp/tmpjx6si1aw/tmptk6t4qsy.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjx6si1aw/tmptk6t4qsy.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # /* codegen-test-extension body preamble */ 1378s # static void 1378s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1378s # GClosure *closure, 1378s # GValue *return_value, 1378s # unsigned int n_param_values, 1378s # const GValue *param_values, 1378s # void *invocation_hint G_GNUC_UNUSED, 1378s # void *marshal_data) 1378s # { 1378s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1378s # (void *data1, 1378s # GDBusMethodInvocation *arg_method_invocation, 1378s # void *data2); 1378s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1378s # GCClosure *cc = (GCClosure*) closure; 1378s # void *data1, *data2; 1378s # gboolean v_return; 1378s # 1378s # g_return_if_fail (return_value != NULL); 1378s # g_return_if_fail (n_param_values == 2); 1378s # 1378s # if (G_CCLOSURE_SWAP_DATA (closure)) 1378s # { 1378s # data1 = closure->data; 1378s # data2 = g_value_peek_pointer (param_values + 0); 1378s # } 1378s # else 1378s # { 1378s # data1 = g_value_peek_pointer (param_values + 0); 1378s # data2 = closure->data; 1378s # } 1378s # 1378s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1378s # (marshal_data ? marshal_data : cc->callback); 1378s # 1378s # v_return = 1378s # callback (data1, 1378s # g_marshal_value_peek_object (param_values + 1), 1378s # data2); 1378s # 1378s # g_value_set_boolean (return_value, v_return); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface org.project.UsefulInterface 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:OrgProjectUsefulInterface 1378s # * @title: OrgProjectUsefulInterface 1378s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1378s # * 1378s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1378s # 1378s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_useful_method = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "UsefulMethod", 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "handle-useful-method", 1378s # FALSE 1378s # }; 1378s # 1378s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1378s # { 1378s # &_org_project_useful_interface_method_info_useful_method.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "org.project.UsefulInterface", 1378s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "org-project-useful-interface", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * org_project_useful_interface_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # org_project_useful_interface_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1378s # { 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # inline static void 1378s # org_project_useful_interface_method_marshal_useful_method ( 1378s # GClosure *closure, 1378s # GValue *return_value, 1378s # unsigned int n_param_values, 1378s # const GValue *param_values, 1378s # void *invocation_hint, 1378s # void *marshal_data) 1378s # { 1378s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1378s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1378s # } 1378s # 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterface: 1378s # * 1378s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterfaceIface: 1378s # * @parent_iface: The parent interface. 1378s # * @handle_useful_method: Handler for the #OrgProjectUsefulInterface::handle-useful-method signal. 1378s # * 1378s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1378s # */ 1378s # 1378s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1378s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1378s # { 1378s # /* GObject signals for incoming D-Bus method calls: */ 1378s # /** 1378s # * OrgProjectUsefulInterface::handle-useful-method: 1378s # * @object: A #OrgProjectUsefulInterface. 1378s # * @invocation: A #GDBusMethodInvocation. 1378s # * 1378s # * Signal emitted when a remote caller is invoking the UsefulMethod() D-Bus method. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # g_signal_new ("handle-useful-method", 1378s # G_TYPE_FROM_INTERFACE (iface), 1378s # G_SIGNAL_RUN_LAST, 1378s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_useful_method), 1378s # g_signal_accumulator_true_handled, 1378s # NULL, 1378s # org_project_useful_interface_method_marshal_useful_method, 1378s # G_TYPE_BOOLEAN, 1378s # 1, 1378s # G_TYPE_DBUS_METHOD_INVOCATION); 1378s # 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_call_useful_method: 1378s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously invokes the UsefulMethod() D-Bus method on @proxy. 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_useful_interface_call_useful_method_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_useful_interface_call_useful_method_sync() for the synchronous, blocking version of this method. 1378s # */ 1378s # void 1378s # org_project_useful_interface_call_useful_method ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1378s # "UsefulMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # callback, 1378s # user_data); 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_call_useful_method_finish: 1378s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_useful_method(). 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Finishes an operation started with org_project_useful_interface_call_useful_method(). 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_useful_interface_call_useful_method_finish ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_call_useful_method_sync: 1378s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Synchronously invokes the UsefulMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_useful_interface_call_useful_method() for the asynchronous version of this method. 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_useful_interface_call_useful_method_sync ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1378s # "UsefulMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_complete_useful_method: 1378s # * @object: A #OrgProjectUsefulInterface. 1378s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1378s # * 1378s # * 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. 1378s # * 1378s # * This method will free @invocation, you cannot use it afterwards. 1378s # */ 1378s # void 1378s # org_project_useful_interface_complete_useful_method ( 1378s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1378s # GDBusMethodInvocation *invocation) 1378s # { 1378s # g_dbus_method_invocation_return_value (invocation, 1378s # g_variant_new ("()")); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterfaceProxy: 1378s # * 1378s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterfaceProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1378s # */ 1378s # 1378s # struct _OrgProjectUsefulInterfaceProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_useful_interface_proxy_finalize (GObject *object) 1378s # { 1378s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # const GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1378s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1378s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1378s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_useful_interface_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # g_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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectUsefulInterface * 1378s # org_project_useful_interface_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectUsefulInterface * 1378s # org_project_useful_interface_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_useful_interface_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # g_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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectUsefulInterface * 1378s # org_project_useful_interface_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectUsefulInterface * 1378s # org_project_useful_interface_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterfaceSkeleton: 1378s # * 1378s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectUsefulInterfaceSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1378s # */ 1378s # 1378s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _org_project_useful_interface_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _org_project_useful_interface_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _org_project_useful_interface_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1378s # { 1378s # _org_project_useful_interface_skeleton_handle_method_call, 1378s # _org_project_useful_interface_skeleton_handle_get_property, 1378s # _org_project_useful_interface_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return org_project_useful_interface_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, NEW_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_useful_interface_skeleton_finalize (GObject *object) 1378s # { 1378s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_useful_interface_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1378s # */ 1378s # OrgProjectUsefulInterface * 1378s # org_project_useful_interface_skeleton_new (void) 1378s # { 1378s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1378s # } 1378s # 1378s # /* codegen-test-extension generate for iface org.project.UsefulInterface */ 1378s # Error: 1378s # 1378s # /tmp/tmpjx6si1aw/tmphi4raja8.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjx6si1aw/tmphi4raja8.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifndef __STDOUT__ 1378s # #define __STDOUT__ 1378s # 1378s # #include 1378s # /* codegen-test-extension include */ 1378s # 1378s # G_BEGIN_DECLS 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # /* Declarations for org.project.UsefulInterface */ 1378s # 1378s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1378s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1378s # 1378s # struct _OrgProjectUsefulInterface; 1378s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1378s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1378s # 1378s # struct _OrgProjectUsefulInterfaceIface 1378s # { 1378s # GTypeInterface parent_iface; 1378s # 1378s # gboolean (*handle_useful_method) ( 1378s # OrgProjectUsefulInterface *object, 1378s # GDBusMethodInvocation *invocation); 1378s # 1378s # }; 1378s # 1378s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1378s # 1378s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1378s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1378s # 1378s # 1378s # /* D-Bus method call completion functions: */ 1378s # void org_project_useful_interface_complete_useful_method ( 1378s # OrgProjectUsefulInterface *object, 1378s # GDBusMethodInvocation *invocation); 1378s # 1378s # 1378s # 1378s # /* D-Bus method calls: */ 1378s # void org_project_useful_interface_call_useful_method ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # 1378s # gboolean org_project_useful_interface_call_useful_method_finish ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # 1378s # gboolean org_project_useful_interface_call_useful_method_sync ( 1378s # OrgProjectUsefulInterface *proxy, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1378s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1378s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1378s # 1378s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1378s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1378s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1378s # 1378s # struct _OrgProjectUsefulInterfaceProxy 1378s # { 1378s # /*< private >*/ 1378s # GDBusProxy parent_instance; 1378s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectUsefulInterfaceProxyClass 1378s # { 1378s # GDBusProxyClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1378s # #endif 1378s # 1378s # void org_project_useful_interface_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # void org_project_useful_interface_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1378s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1378s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1378s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1378s # 1378s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1378s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1378s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1378s # 1378s # struct _OrgProjectUsefulInterfaceSkeleton 1378s # { 1378s # /*< private >*/ 1378s # NewDBusInterfaceSkeleton parent_instance; 1378s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectUsefulInterfaceSkeletonClass 1378s # { 1378s # NewDBusInterfaceSkeletonClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1378s # #endif 1378s # 1378s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1378s # 1378s # /* codegen-test-extension declare type for iface org.project.UsefulInterface */ 1378s # 1378s # G_END_DECLS 1378s # 1378s # #endif /* __STDOUT__ */ 1378s # Error: 1378s ok 9 __main__.TestCodegen.test_extension_empty_interface_body 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpb4nz8ssm 1378s # /tmp/tmpb4nz8ssm/tmpyp1qs3yw.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4nz8ssm/tmpyp1qs3yw.xml', '--output', '-', '--body', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # /* codegen-test-extension body preamble */ 1378s # Error: 1378s ok 10 __main__.TestCodegen.test_extension_empty_interface_header 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpt9rk79cw 1378s # /tmp/tmpt9rk79cw/tmpvre2zugj.xml: 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt9rk79cw/tmpvre2zugj.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifndef __STDOUT__ 1378s # #define __STDOUT__ 1378s # 1378s # #include 1378s # /* codegen-test-extension include */ 1378s # 1378s # G_BEGIN_DECLS 1378s # 1378s # 1378s # G_END_DECLS 1378s # 1378s # #endif /* __STDOUT__ */ 1378s # Error: 1378s ok 11 __main__.TestCodegen.test_extension_header_declare_types 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp0tes4kvz 1378s # /tmp/tmp0tes4kvz/tmpe2znl3gz.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0tes4kvz/tmpe2znl3gz.xml', '--output', '-', '--header', '--extension-path', '/usr/libexec/installed-tests/glib/codegen-test-extension.py'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifndef __STDOUT__ 1378s # #define __STDOUT__ 1378s # 1378s # #include 1378s # /* codegen-test-extension include */ 1378s # 1378s # G_BEGIN_DECLS 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # /* Declarations for org.project.Foo */ 1378s # 1378s # #define TYPE_ORG_PROJECT_FOO (org_project_foo_get_type ()) 1378s # #define ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFoo)) 1378s # #define IS_ORG_PROJECT_FOO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO)) 1378s # #define ORG_PROJECT_FOO_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_FOO, OrgProjectFooIface)) 1378s # 1378s # struct _OrgProjectFoo; 1378s # typedef struct _OrgProjectFoo OrgProjectFoo; 1378s # typedef struct _OrgProjectFooIface OrgProjectFooIface; 1378s # 1378s # struct _OrgProjectFooIface 1378s # { 1378s # GTypeInterface parent_iface; 1378s # }; 1378s # 1378s # GType org_project_foo_get_type (void) G_GNUC_CONST; 1378s # 1378s # GDBusInterfaceInfo *org_project_foo_interface_info (void); 1378s # guint org_project_foo_override_properties (GObjectClass *klass, guint property_id_begin); 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_FOO_PROXY (org_project_foo_proxy_get_type ()) 1378s # #define ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxy)) 1378s # #define ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1378s # #define ORG_PROJECT_FOO_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_PROXY, OrgProjectFooProxyClass)) 1378s # #define IS_ORG_PROJECT_FOO_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_PROXY)) 1378s # #define IS_ORG_PROJECT_FOO_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_PROXY)) 1378s # 1378s # typedef struct _OrgProjectFooProxy OrgProjectFooProxy; 1378s # typedef struct _OrgProjectFooProxyClass OrgProjectFooProxyClass; 1378s # typedef struct _OrgProjectFooProxyPrivate OrgProjectFooProxyPrivate; 1378s # 1378s # struct _OrgProjectFooProxy 1378s # { 1378s # /*< private >*/ 1378s # GDBusProxy parent_instance; 1378s # OrgProjectFooProxyPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectFooProxyClass 1378s # { 1378s # GDBusProxyClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_foo_proxy_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooProxy, g_object_unref) 1378s # #endif 1378s # 1378s # void org_project_foo_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectFoo *org_project_foo_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectFoo *org_project_foo_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # void org_project_foo_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectFoo *org_project_foo_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_FOO_SKELETON (org_project_foo_skeleton_get_type ()) 1378s # #define ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeleton)) 1378s # #define ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1378s # #define ORG_PROJECT_FOO_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_FOO_SKELETON, OrgProjectFooSkeletonClass)) 1378s # #define IS_ORG_PROJECT_FOO_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_FOO_SKELETON)) 1378s # #define IS_ORG_PROJECT_FOO_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_FOO_SKELETON)) 1378s # 1378s # typedef struct _OrgProjectFooSkeleton OrgProjectFooSkeleton; 1378s # typedef struct _OrgProjectFooSkeletonClass OrgProjectFooSkeletonClass; 1378s # typedef struct _OrgProjectFooSkeletonPrivate OrgProjectFooSkeletonPrivate; 1378s # 1378s # struct _OrgProjectFooSkeleton 1378s # { 1378s # /*< private >*/ 1378s # NewDBusInterfaceSkeleton parent_instance; 1378s # OrgProjectFooSkeletonPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectFooSkeletonClass 1378s # { 1378s # NewDBusInterfaceSkeletonClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_foo_skeleton_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectFooSkeleton, g_object_unref) 1378s # #endif 1378s # 1378s # OrgProjectFoo *org_project_foo_skeleton_new (void); 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # /* Declarations for org.project.Bar */ 1378s # 1378s # #define TYPE_ORG_PROJECT_BAR (org_project_bar_get_type ()) 1378s # #define ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBar)) 1378s # #define IS_ORG_PROJECT_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR)) 1378s # #define ORG_PROJECT_BAR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR, OrgProjectBarIface)) 1378s # 1378s # struct _OrgProjectBar; 1378s # typedef struct _OrgProjectBar OrgProjectBar; 1378s # typedef struct _OrgProjectBarIface OrgProjectBarIface; 1378s # 1378s # struct _OrgProjectBarIface 1378s # { 1378s # GTypeInterface parent_iface; 1378s # }; 1378s # 1378s # GType org_project_bar_get_type (void) G_GNUC_CONST; 1378s # 1378s # GDBusInterfaceInfo *org_project_bar_interface_info (void); 1378s # guint org_project_bar_override_properties (GObjectClass *klass, guint property_id_begin); 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_BAR_PROXY (org_project_bar_proxy_get_type ()) 1378s # #define ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxy)) 1378s # #define ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1378s # #define ORG_PROJECT_BAR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_PROXY, OrgProjectBarProxyClass)) 1378s # #define IS_ORG_PROJECT_BAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_PROXY)) 1378s # #define IS_ORG_PROJECT_BAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_PROXY)) 1378s # 1378s # typedef struct _OrgProjectBarProxy OrgProjectBarProxy; 1378s # typedef struct _OrgProjectBarProxyClass OrgProjectBarProxyClass; 1378s # typedef struct _OrgProjectBarProxyPrivate OrgProjectBarProxyPrivate; 1378s # 1378s # struct _OrgProjectBarProxy 1378s # { 1378s # /*< private >*/ 1378s # GDBusProxy parent_instance; 1378s # OrgProjectBarProxyPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectBarProxyClass 1378s # { 1378s # GDBusProxyClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_bar_proxy_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarProxy, g_object_unref) 1378s # #endif 1378s # 1378s # void org_project_bar_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectBar *org_project_bar_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectBar *org_project_bar_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # void org_project_bar_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data); 1378s # OrgProjectBar *org_project_bar_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error); 1378s # OrgProjectBar *org_project_bar_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error); 1378s # 1378s # 1378s # /* ---- */ 1378s # 1378s # #define TYPE_ORG_PROJECT_BAR_SKELETON (org_project_bar_skeleton_get_type ()) 1378s # #define ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeleton)) 1378s # #define ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1378s # #define ORG_PROJECT_BAR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_SKELETON, OrgProjectBarSkeletonClass)) 1378s # #define IS_ORG_PROJECT_BAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_SKELETON)) 1378s # #define IS_ORG_PROJECT_BAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_SKELETON)) 1378s # 1378s # typedef struct _OrgProjectBarSkeleton OrgProjectBarSkeleton; 1378s # typedef struct _OrgProjectBarSkeletonClass OrgProjectBarSkeletonClass; 1378s # typedef struct _OrgProjectBarSkeletonPrivate OrgProjectBarSkeletonPrivate; 1378s # 1378s # struct _OrgProjectBarSkeleton 1378s # { 1378s # /*< private >*/ 1378s # NewDBusInterfaceSkeleton parent_instance; 1378s # OrgProjectBarSkeletonPrivate *priv; 1378s # }; 1378s # 1378s # struct _OrgProjectBarSkeletonClass 1378s # { 1378s # NewDBusInterfaceSkeletonClass parent_class; 1378s # }; 1378s # 1378s # GType org_project_bar_skeleton_get_type (void) G_GNUC_CONST; 1378s # 1378s # #if GLIB_CHECK_VERSION(2, 44, 0) 1378s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarSkeleton, g_object_unref) 1378s # #endif 1378s # 1378s # OrgProjectBar *org_project_bar_skeleton_new (void); 1378s # 1378s # /* codegen-test-extension declare type for iface org.project.Foo */ 1378s # /* codegen-test-extension declare type for iface org.project.Bar */ 1378s # 1378s # G_END_DECLS 1378s # 1378s # #endif /* __STDOUT__ */ 1378s # Error: 1378s ok 12 __main__.TestCodegen.test_extension_help 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp5ml7zkxc 1378s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1378s # Return code: 0 1378s # Output: 1378s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1378s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1378s # [--c-generate-autocleanup {none,objects,all}] 1378s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1378s # [--generate-rst OUTFILES] [--pragma-once] 1378s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1378s # [--glib-min-required VERSION] 1378s # [--glib-max-allowed VERSION] 1378s # [--symbol-decorator SYMBOL_DECORATOR] 1378s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1378s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1378s # [--extension-path EXTENSION_PATH] 1378s # [--generate-c-code OUTFILES | --header | --body | 1378s # --interface-info-header | --interface-info-body] 1378s # [--output FILE | --output-directory OUTDIR] 1378s # FILE [FILE ...] 1378s # 1378s # D-Bus code and documentation generator 1378s # 1378s # positional arguments: 1378s # FILE D-Bus introspection XML file 1378s # 1378s # options: 1378s # -h, --help show this help message and exit 1378s # --interface-prefix PREFIX 1378s # String to strip from D-Bus interface names for code 1378s # and docs 1378s # --c-namespace NAMESPACE 1378s # The namespace to use for generated C code 1378s # --c-generate-object-manager 1378s # Generate a GDBusObjectManagerClient subclass when 1378s # generating C code 1378s # --c-generate-autocleanup {none,objects,all} 1378s # Generate autocleanup support 1378s # --generate-docbook OUTFILES 1378s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1378s # --generate-md OUTFILES 1378s # Generate Markdown in OUTFILES-org.Project.IFace.md 1378s # --generate-rst OUTFILES 1378s # Generate reStructuredText in OUTFILES- 1378s # org.Project.IFace.rst 1378s # --pragma-once Use "pragma once" as the inclusion guard 1378s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1378s # Add annotation (may be used several times) 1378s # --glib-min-required VERSION 1378s # Minimum version of GLib to be supported by the 1378s # outputted code (default: 2.30) 1378s # --glib-max-allowed VERSION 1378s # Maximum version of GLib to be used by the outputted 1378s # code (default: current GLib version) 1378s # --symbol-decorator SYMBOL_DECORATOR 1378s # Macro used to decorate a symbol in the outputted 1378s # header, possibly to export symbols 1378s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1378s # Additional header required for decorator specified by 1378s # --symbol-decorator 1378s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1378s # Additional define required for decorator specified by 1378s # --symbol-decorator 1378s # --extension-path EXTENSION_PATH 1378s # Path to a gdbus-codegen Python extension file 1378s # (unstable API) 1378s # --generate-c-code OUTFILES 1378s # Generate C code in OUTFILES.[ch] 1378s # --header Generate C headers 1378s # --body Generate C code 1378s # --interface-info-header 1378s # Generate GDBusInterfaceInfo C header 1378s # --interface-info-body 1378s # Generate GDBusInterfaceInfo C code 1378s # --output FILE Write output into the specified file 1378s # --output-directory OUTDIR 1378s # Location to output generated files 1378s # Error: 1378s ok 13 __main__.TestCodegen.test_generate_docbook 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp3_f_2cu4 1378s # /tmp/tmp3_f_2cu4/tmp3kh4skgj.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3_f_2cu4/tmp3kh4skgj.xml', '--generate-docbook', 'test'] 1378s # Return code: 0 1378s # Output: 1378s # 1378s # Error: 1378s ok 14 __main__.TestCodegen.test_generate_md 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmpczh8bf_y 1378s # /tmp/tmpczh8bf_y/tmp4m0384j2.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpczh8bf_y/tmp4m0384j2.xml', '--generate-md', 'test'] 1378s # Return code: 0 1378s # Output: 1378s # 1378s # Error: 1378s ok 15 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1378s # gdbus-codegen: /usr/bin/gdbus-codegen 1378s # tmpdir: /tmp/tmp0w2cikpd 1378s # /tmp/tmp0w2cikpd/tmpkx5itwe9.xml: 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # 1378s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0w2cikpd/tmpkx5itwe9.xml', '--output', '-', '--body'] 1378s # Return code: 0 1378s # Output: 1378s # /* 1378s # * This file is generated by gdbus-codegen, do not modify it. 1378s # * 1378s # * The license of this code is the same as for the D-Bus interface description 1378s # * it was derived from. Note that it links to GLib, so must comply with the 1378s # * LGPL linking clauses. 1378s # */ 1378s # 1378s # #ifdef HAVE_CONFIG_H 1378s # # include "config.h" 1378s # #endif 1378s # 1378s # #include 1378s # #ifdef G_OS_UNIX 1378s # # include 1378s # #endif 1378s # 1378s # #ifdef G_ENABLE_DEBUG 1378s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1378s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1378s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1378s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1378s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1378s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1378s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1378s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1378s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1378s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1378s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1378s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1378s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1378s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1378s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1378s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1378s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1378s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1378s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1378s # #else /* !G_ENABLE_DEBUG */ 1378s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1378s # * Do not access GValues directly in your code. Instead, use the 1378s # * g_value_get_*() functions 1378s # */ 1378s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1378s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1378s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1378s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1378s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1378s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1378s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1378s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1378s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1378s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1378s # #endif /* !G_ENABLE_DEBUG */ 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusArgInfo parent_struct; 1378s # gboolean use_gvariant; 1378s # } _ExtendedGDBusArgInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusMethodInfo parent_struct; 1378s # const gchar *signal_name; 1378s # gboolean pass_fdlist; 1378s # } _ExtendedGDBusMethodInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusSignalInfo parent_struct; 1378s # const gchar *signal_name; 1378s # } _ExtendedGDBusSignalInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusPropertyInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # guint use_gvariant : 1; 1378s # guint emits_changed_signal : 1; 1378s # } _ExtendedGDBusPropertyInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # GDBusInterfaceInfo parent_struct; 1378s # const gchar *hyphen_name; 1378s # } _ExtendedGDBusInterfaceInfo; 1378s # 1378s # typedef struct 1378s # { 1378s # const _ExtendedGDBusPropertyInfo *info; 1378s # guint prop_id; 1378s # GValue orig_value; /* the value before the change */ 1378s # } ChangedProperty; 1378s # 1378s # static void 1378s # _changed_property_free (ChangedProperty *data) 1378s # { 1378s # g_value_unset (&data->orig_value); 1378s # g_free (data); 1378s # } 1378s # 1378s # static gboolean 1378s # _g_strv_equal0 (gchar **a, gchar **b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # guint n; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # if (g_strv_length (a) != g_strv_length (b)) 1378s # goto out; 1378s # for (n = 0; a[n] != NULL; n++) 1378s # if (g_strcmp0 (a[n], b[n]) != 0) 1378s # goto out; 1378s # ret = TRUE; 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _g_variant_equal0 (GVariant *a, GVariant *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # if (a == NULL && b == NULL) 1378s # { 1378s # ret = TRUE; 1378s # goto out; 1378s # } 1378s # if (a == NULL || b == NULL) 1378s # goto out; 1378s # ret = g_variant_equal (a, b); 1378s # out: 1378s # return ret; 1378s # } 1378s # 1378s # G_GNUC_UNUSED static gboolean 1378s # _g_value_equal (const GValue *a, const GValue *b) 1378s # { 1378s # gboolean ret = FALSE; 1378s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1378s # switch (G_VALUE_TYPE (a)) 1378s # { 1378s # case G_TYPE_BOOLEAN: 1378s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1378s # break; 1378s # case G_TYPE_UCHAR: 1378s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1378s # break; 1378s # case G_TYPE_INT: 1378s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1378s # break; 1378s # case G_TYPE_UINT: 1378s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1378s # break; 1378s # case G_TYPE_INT64: 1378s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1378s # break; 1378s # case G_TYPE_UINT64: 1378s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1378s # break; 1378s # case G_TYPE_DOUBLE: 1378s # { 1378s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1378s # gdouble da = g_value_get_double (a); 1378s # gdouble db = g_value_get_double (b); 1378s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1378s # } 1378s # break; 1378s # case G_TYPE_STRING: 1378s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1378s # break; 1378s # case G_TYPE_VARIANT: 1378s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1378s # break; 1378s # default: 1378s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1378s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1378s # else 1378s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1378s # break; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static void 1378s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1378s # GClosure *closure, 1378s # GValue *return_value, 1378s # unsigned int n_param_values, 1378s # const GValue *param_values, 1378s # void *invocation_hint G_GNUC_UNUSED, 1378s # void *marshal_data) 1378s # { 1378s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1378s # (void *data1, 1378s # GDBusMethodInvocation *arg_method_invocation, 1378s # void *data2); 1378s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1378s # GCClosure *cc = (GCClosure*) closure; 1378s # void *data1, *data2; 1378s # gboolean v_return; 1378s # 1378s # g_return_if_fail (return_value != NULL); 1378s # g_return_if_fail (n_param_values == 2); 1378s # 1378s # if (G_CCLOSURE_SWAP_DATA (closure)) 1378s # { 1378s # data1 = closure->data; 1378s # data2 = g_value_peek_pointer (param_values + 0); 1378s # } 1378s # else 1378s # { 1378s # data1 = g_value_peek_pointer (param_values + 0); 1378s # data2 = closure->data; 1378s # } 1378s # 1378s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1378s # (marshal_data ? marshal_data : cc->callback); 1378s # 1378s # v_return = 1378s # callback (data1, 1378s # g_marshal_value_peek_object (param_values + 1), 1378s # data2); 1378s # 1378s # g_value_set_boolean (return_value, v_return); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface org.project.CallableIface 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:OrgProjectCallableIface 1378s # * @title: OrgProjectCallableIface 1378s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1378s # * 1378s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for org.project.CallableIface ---- */ 1378s # 1378s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "SimpleMethod", 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "handle-simple-method", 1378s # FALSE 1378s # }; 1378s # 1378s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1378s # { 1378s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "org.project.CallableIface", 1378s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "org-project-callable-iface", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * org_project_callable_iface_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # org_project_callable_iface_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1378s # { 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # inline static void 1378s # org_project_callable_iface_method_marshal_simple_method ( 1378s # GClosure *closure, 1378s # GValue *return_value, 1378s # unsigned int n_param_values, 1378s # const GValue *param_values, 1378s # void *invocation_hint, 1378s # void *marshal_data) 1378s # { 1378s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1378s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1378s # } 1378s # 1378s # 1378s # /** 1378s # * OrgProjectCallableIface: 1378s # * 1378s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectCallableIfaceIface: 1378s # * @parent_iface: The parent interface. 1378s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1378s # * 1378s # * Virtual table for the D-Bus interface org.project.CallableIface. 1378s # */ 1378s # 1378s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1378s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1378s # { 1378s # /* GObject signals for incoming D-Bus method calls: */ 1378s # /** 1378s # * OrgProjectCallableIface::handle-simple-method: 1378s # * @object: A #OrgProjectCallableIface. 1378s # * @invocation: A #GDBusMethodInvocation. 1378s # * 1378s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # g_signal_new ("handle-simple-method", 1378s # G_TYPE_FROM_INTERFACE (iface), 1378s # G_SIGNAL_RUN_LAST, 1378s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1378s # g_signal_accumulator_true_handled, 1378s # NULL, 1378s # org_project_callable_iface_method_marshal_simple_method, 1378s # G_TYPE_BOOLEAN, 1378s # 1, 1378s # G_TYPE_DBUS_METHOD_INVOCATION); 1378s # 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_call_simple_method: 1378s # * @proxy: A #OrgProjectCallableIfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1378s # */ 1378s # void 1378s # org_project_callable_iface_call_simple_method ( 1378s # OrgProjectCallableIface *proxy, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1378s # "SimpleMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # callback, 1378s # user_data); 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_call_simple_method_finish: 1378s # * @proxy: A #OrgProjectCallableIfaceProxy. 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_callable_iface_call_simple_method_finish ( 1378s # OrgProjectCallableIface *proxy, 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_call_simple_method_sync: 1378s # * @proxy: A #OrgProjectCallableIfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_callable_iface_call_simple_method_sync ( 1378s # OrgProjectCallableIface *proxy, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1378s # "SimpleMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_complete_simple_method: 1378s # * @object: A #OrgProjectCallableIface. 1378s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1378s # * 1378s # * 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. 1378s # * 1378s # * This method will free @invocation, you cannot use it afterwards. 1378s # */ 1378s # void 1378s # org_project_callable_iface_complete_simple_method ( 1378s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1378s # GDBusMethodInvocation *invocation) 1378s # { 1378s # g_dbus_method_invocation_return_value (invocation, 1378s # g_variant_new ("()")); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectCallableIfaceProxy: 1378s # * 1378s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectCallableIfaceProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectCallableIfaceProxy. 1378s # */ 1378s # 1378s # struct _OrgProjectCallableIfaceProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_callable_iface_proxy_finalize (GObject *object) 1378s # { 1378s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # const GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1378s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1378s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1378s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_callable_iface_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectCallableIface * 1378s # org_project_callable_iface_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectCallableIface * 1378s # org_project_callable_iface_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_callable_iface_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectCallableIface * 1378s # org_project_callable_iface_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectCallableIface * 1378s # org_project_callable_iface_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectCallableIfaceSkeleton: 1378s # * 1378s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectCallableIfaceSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1378s # */ 1378s # 1378s # struct _OrgProjectCallableIfaceSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _org_project_callable_iface_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _org_project_callable_iface_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _org_project_callable_iface_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1378s # { 1378s # _org_project_callable_iface_skeleton_handle_method_call, 1378s # _org_project_callable_iface_skeleton_handle_get_property, 1378s # _org_project_callable_iface_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return org_project_callable_iface_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_callable_iface_skeleton_finalize (GObject *object) 1378s # { 1378s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_callable_iface_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1378s # */ 1378s # OrgProjectCallableIface * 1378s # org_project_callable_iface_skeleton_new (void) 1378s # { 1378s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ 1378s # * Code for interface org.project.OtherCallableIface 1378s # * ------------------------------------------------------------------------ 1378s # */ 1378s # 1378s # /** 1378s # * SECTION:OrgProjectOtherCallableIface 1378s # * @title: OrgProjectOtherCallableIface 1378s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1378s # * 1378s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1378s # */ 1378s # 1378s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1378s # 1378s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "SimpleMethod", 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "handle-simple-method", 1378s # FALSE 1378s # }; 1378s # 1378s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1378s # { 1378s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1378s # NULL 1378s # }; 1378s # 1378s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1378s # { 1378s # { 1378s # -1, 1378s # (gchar *) "org.project.OtherCallableIface", 1378s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1378s # NULL, 1378s # NULL, 1378s # NULL 1378s # }, 1378s # "org-project-other-callable-iface", 1378s # }; 1378s # 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_interface_info: 1378s # * 1378s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1378s # * 1378s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1378s # */ 1378s # GDBusInterfaceInfo * 1378s # org_project_other_callable_iface_interface_info (void) 1378s # { 1378s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_override_properties: 1378s # * @klass: The class structure for a #GObject derived class. 1378s # * @property_id_begin: The property id to assign to the first overridden property. 1378s # * 1378s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1378s # * The properties are overridden in the order they are defined. 1378s # * 1378s # * Returns: The last property id. 1378s # */ 1378s # guint 1378s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1378s # { 1378s # return property_id_begin - 1; 1378s # } 1378s # 1378s # 1378s # inline static void 1378s # org_project_other_callable_iface_method_marshal_simple_method ( 1378s # GClosure *closure, 1378s # GValue *return_value, 1378s # unsigned int n_param_values, 1378s # const GValue *param_values, 1378s # void *invocation_hint, 1378s # void *marshal_data) 1378s # { 1378s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1378s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1378s # } 1378s # 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIface: 1378s # * 1378s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIfaceIface: 1378s # * @parent_iface: The parent interface. 1378s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1378s # * 1378s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1378s # */ 1378s # 1378s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1378s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1378s # 1378s # static void 1378s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1378s # { 1378s # /* GObject signals for incoming D-Bus method calls: */ 1378s # /** 1378s # * OrgProjectOtherCallableIface::handle-simple-method: 1378s # * @object: A #OrgProjectOtherCallableIface. 1378s # * @invocation: A #GDBusMethodInvocation. 1378s # * 1378s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1378s # * 1378s # * 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. 1378s # * 1378s # * 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. 1378s # */ 1378s # g_signal_new ("handle-simple-method", 1378s # G_TYPE_FROM_INTERFACE (iface), 1378s # G_SIGNAL_RUN_LAST, 1378s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1378s # g_signal_accumulator_true_handled, 1378s # NULL, 1378s # org_project_other_callable_iface_method_marshal_simple_method, 1378s # G_TYPE_BOOLEAN, 1378s # 1, 1378s # G_TYPE_DBUS_METHOD_INVOCATION); 1378s # 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_call_simple_method: 1378s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1378s # */ 1378s # void 1378s # org_project_other_callable_iface_call_simple_method ( 1378s # OrgProjectOtherCallableIface *proxy, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1378s # "SimpleMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # callback, 1378s # user_data); 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_call_simple_method_finish: 1378s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_other_callable_iface_call_simple_method_finish ( 1378s # OrgProjectOtherCallableIface *proxy, 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_call_simple_method_sync: 1378s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL. 1378s # * 1378s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1378s # * 1378s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1378s # */ 1378s # gboolean 1378s # org_project_other_callable_iface_call_simple_method_sync ( 1378s # OrgProjectOtherCallableIface *proxy, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GVariant *_ret; 1378s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1378s # "SimpleMethod", 1378s # g_variant_new ("()"), 1378s # G_DBUS_CALL_FLAGS_NONE, 1378s # -1, 1378s # cancellable, 1378s # error); 1378s # if (_ret == NULL) 1378s # goto _out; 1378s # g_variant_get (_ret, 1378s # "()"); 1378s # g_variant_unref (_ret); 1378s # _out: 1378s # return _ret != NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_complete_simple_method: 1378s # * @object: A #OrgProjectOtherCallableIface. 1378s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1378s # * 1378s # * 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. 1378s # * 1378s # * This method will free @invocation, you cannot use it afterwards. 1378s # */ 1378s # void 1378s # org_project_other_callable_iface_complete_simple_method ( 1378s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1378s # GDBusMethodInvocation *invocation) 1378s # { 1378s # g_dbus_method_invocation_return_value (invocation, 1378s # g_variant_new ("()")); 1378s # } 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIfaceProxy: 1378s # * 1378s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIfaceProxyClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1378s # */ 1378s # 1378s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1378s # { 1378s # GData *qdata; 1378s # }; 1378s # 1378s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1378s # { 1378s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1378s # g_datalist_clear (&proxy->priv->qdata); 1378s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1378s # guint prop_id G_GNUC_UNUSED, 1378s # const GValue *value G_GNUC_UNUSED, 1378s # GParamSpec *pspec G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1378s # const gchar *sender_name G_GNUC_UNUSED, 1378s # const gchar *signal_name, 1378s # GVariant *parameters) 1378s # { 1378s # _ExtendedGDBusSignalInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # gsize n; 1378s # guint signal_id; 1378s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1378s # if (info == NULL) 1378s # return; 1378s # num_params = g_variant_n_children (parameters); 1378s # paramv = g_new0 (GValue, num_params + 1); 1378s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1378s # g_value_set_object (¶mv[0], proxy); 1378s # g_variant_iter_init (&iter, parameters); 1378s # n = 1; 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1378s # g_signal_emitv (paramv, signal_id, 0, NULL); 1378s # for (n = 0; n < num_params + 1; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1378s # GVariant *changed_properties, 1378s # const gchar *const *invalidated_properties) 1378s # { 1378s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1378s # guint n; 1378s # const gchar *key; 1378s # GVariantIter *iter; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # g_variant_get (changed_properties, "a{sv}", &iter); 1378s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1378s # g_datalist_remove_data (&proxy->priv->qdata, key); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # g_variant_iter_free (iter); 1378s # for (n = 0; invalidated_properties[n] != NULL; n++) 1378s # { 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1378s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1378s # if (info != NULL) 1378s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1378s # } 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1378s # #else 1378s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1378s # #endif 1378s # 1378s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusProxyClass *proxy_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1378s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1378s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1378s # 1378s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1378s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1378s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_other_callable_iface_proxy_new ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectOtherCallableIface * 1378s # org_project_other_callable_iface_proxy_new_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new_sync: 1378s # * @connection: A #GDBusConnection. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectOtherCallableIface * 1378s # org_project_other_callable_iface_proxy_new_sync ( 1378s # GDBusConnection *connection, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new_for_bus: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1378s # * @user_data: User data to pass to @callback. 1378s # * 1378s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1378s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1378s # * 1378s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1378s # */ 1378s # void 1378s # org_project_other_callable_iface_proxy_new_for_bus ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GAsyncReadyCallback callback, 1378s # gpointer user_data) 1378s # { 1378s # 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); 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1378s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectOtherCallableIface * 1378s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1378s # GAsyncResult *res, 1378s # GError **error) 1378s # { 1378s # GObject *ret; 1378s # GObject *source_object; 1378s # source_object = g_async_result_get_source_object (res); 1378s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1378s # g_object_unref (source_object); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1378s # * @bus_type: A #GBusType. 1378s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1378s # * @name: A bus name (well-known or unique). 1378s # * @object_path: An object path. 1378s # * @cancellable: (nullable): A #GCancellable or %NULL. 1378s # * @error: Return location for error or %NULL 1378s # * 1378s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1378s # * 1378s # * The calling thread is blocked until a reply is received. 1378s # * 1378s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1378s # */ 1378s # OrgProjectOtherCallableIface * 1378s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1378s # GBusType bus_type, 1378s # GDBusProxyFlags flags, 1378s # const gchar *name, 1378s # const gchar *object_path, 1378s # GCancellable *cancellable, 1378s # GError **error) 1378s # { 1378s # GInitable *ret; 1378s # 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); 1378s # if (ret != NULL) 1378s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1378s # else 1378s # return NULL; 1378s # } 1378s # 1378s # 1378s # /* ------------------------------------------------------------------------ */ 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIfaceSkeleton: 1378s # * 1378s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1378s # */ 1378s # 1378s # /** 1378s # * OrgProjectOtherCallableIfaceSkeletonClass: 1378s # * @parent_class: The parent class. 1378s # * 1378s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1378s # */ 1378s # 1378s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1378s # { 1378s # GValue *properties; 1378s # GList *changed_properties; 1378s # GSource *changed_properties_idle_source; 1378s # GMainContext *context; 1378s # GMutex lock; 1378s # }; 1378s # 1378s # static void 1378s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name, 1378s # const gchar *method_name, 1378s # GVariant *parameters, 1378s # GDBusMethodInvocation *invocation, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1378s # _ExtendedGDBusMethodInfo *info; 1378s # GVariantIter iter; 1378s # GVariant *child; 1378s # GValue *paramv; 1378s # gsize num_params; 1378s # guint num_extra; 1378s # gsize n; 1378s # guint signal_id; 1378s # GValue return_value = G_VALUE_INIT; 1378s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1378s # g_assert (info != NULL); 1378s # num_params = g_variant_n_children (parameters); 1378s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1378s # n = 0; 1378s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1378s # g_value_set_object (¶mv[n++], skeleton); 1378s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1378s # g_value_set_object (¶mv[n++], invocation); 1378s # if (info->pass_fdlist) 1378s # { 1378s # #ifdef G_OS_UNIX 1378s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1378s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1378s # #else 1378s # g_assert_not_reached (); 1378s # #endif 1378s # } 1378s # g_variant_iter_init (&iter, parameters); 1378s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1378s # { 1378s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1378s # if (arg_info->use_gvariant) 1378s # { 1378s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1378s # g_value_set_variant (¶mv[n], child); 1378s # n++; 1378s # } 1378s # else 1378s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1378s # g_variant_unref (child); 1378s # } 1378s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1378s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1378s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1378s # if (!g_value_get_boolean (&return_value)) 1378s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1378s # g_value_unset (&return_value); 1378s # for (n = 0; n < num_params + num_extra; n++) 1378s # g_value_unset (¶mv[n]); 1378s # g_free (paramv); 1378s # } 1378s # 1378s # static GVariant * 1378s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # GVariant *ret; 1378s # ret = NULL; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # g_value_init (&value, pspec->value_type); 1378s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1378s # g_value_unset (&value); 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static gboolean 1378s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1378s # GDBusConnection *connection G_GNUC_UNUSED, 1378s # const gchar *sender G_GNUC_UNUSED, 1378s # const gchar *object_path G_GNUC_UNUSED, 1378s # const gchar *interface_name G_GNUC_UNUSED, 1378s # const gchar *property_name, 1378s # GVariant *variant, 1378s # GError **error, 1378s # gpointer user_data) 1378s # { 1378s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1378s # GValue value = G_VALUE_INIT; 1378s # GParamSpec *pspec; 1378s # _ExtendedGDBusPropertyInfo *info; 1378s # gboolean ret; 1378s # ret = FALSE; 1378s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1378s # g_assert (info != NULL); 1378s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1378s # if (pspec == NULL) 1378s # { 1378s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1378s # } 1378s # else 1378s # { 1378s # if (info->use_gvariant) 1378s # g_value_set_variant (&value, variant); 1378s # else 1378s # g_dbus_gvariant_to_gvalue (variant, &value); 1378s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1378s # g_value_unset (&value); 1378s # ret = TRUE; 1378s # } 1378s # return ret; 1378s # } 1378s # 1378s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1378s # { 1378s # _org_project_other_callable_iface_skeleton_handle_method_call, 1378s # _org_project_other_callable_iface_skeleton_handle_get_property, 1378s # _org_project_other_callable_iface_skeleton_handle_set_property, 1378s # {NULL} 1378s # }; 1378s # 1378s # static GDBusInterfaceInfo * 1378s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return org_project_other_callable_iface_interface_info (); 1378s # } 1378s # 1378s # static GDBusInterfaceVTable * 1378s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1378s # { 1378s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1378s # } 1378s # 1378s # static GVariant * 1378s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1378s # { 1378s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1378s # 1378s # GVariantBuilder builder; 1378s # guint n; 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1378s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #else 1378s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1378s # #endif 1378s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1378s # goto out; 1378s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1378s # { 1378s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1378s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1378s # { 1378s # GVariant *value; 1378s # 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); 1378s # if (value != NULL) 1378s # { 1378s # g_variant_take_ref (value); 1378s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1378s # g_variant_unref (value); 1378s # } 1378s # } 1378s # } 1378s # out: 1378s # return g_variant_builder_end (&builder); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1378s # 1378s # #else 1378s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1378s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1378s # 1378s # #endif 1378s # static void 1378s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1378s # { 1378s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1378s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # /* coverity[missing_lock : SUPPRESS] */ 1378s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1378s # #else 1378s # if (skeleton->priv->changed_properties_idle_source != NULL) 1378s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1378s # skeleton->priv->changed_properties_idle_source = NULL; 1378s # #endif 1378s # g_main_context_unref (skeleton->priv->context); 1378s # g_mutex_clear (&skeleton->priv->lock); 1378s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1378s # { 1378s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1378s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1378s # #else 1378s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1378s # #endif 1378s # 1378s # g_mutex_init (&skeleton->priv->lock); 1378s # skeleton->priv->context = g_main_context_ref_thread_default (); 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1378s # { 1378s # GObjectClass *gobject_class; 1378s # GDBusInterfaceSkeletonClass *skeleton_class; 1378s # 1378s # gobject_class = G_OBJECT_CLASS (klass); 1378s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1378s # 1378s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1378s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1378s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1378s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1378s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1378s # 1378s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1378s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1378s # #endif 1378s # } 1378s # 1378s # static void 1378s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1378s # { 1378s # } 1378s # 1378s # /** 1378s # * org_project_other_callable_iface_skeleton_new: 1378s # * 1378s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1378s # * 1378s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1378s # */ 1378s # OrgProjectOtherCallableIface * 1378s # org_project_other_callable_iface_skeleton_new (void) 1378s # { 1378s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1378s # } 1378s # Error: 1379s ok 16 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1379s # gdbus-codegen: /usr/bin/gdbus-codegen 1379s # tmpdir: /tmp/tmpmpwbi0nm 1379s # /tmp/tmpmpwbi0nm/tmptio3grke.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmptio3grke.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # gboolean arg_arg_b, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_boolean (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_b", 1379s # (gchar *) "b", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodB", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-b", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_b: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-b", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_b, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_b: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_b: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_b ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gboolean arg_arg_b, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodB", 1379s # g_variant_new ("(b)", 1379s # arg_arg_b), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_b_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_b_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_b_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_b: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_b_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gboolean arg_arg_b, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodB", 1379s # g_variant_new ("(b)", 1379s # arg_arg_b), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_b: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_b ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpqmvo_zyp.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpqmvo_zyp.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # guchar arg_arg_y, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_uchar (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_y", 1379s # (gchar *) "y", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodY", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-y", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_y: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-y", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_y, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_y: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_y: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_y ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guchar arg_arg_y, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodY", 1379s # g_variant_new ("(y)", 1379s # arg_arg_y), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_y_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_y_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_y_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_y: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_y_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guchar arg_arg_y, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodY", 1379s # g_variant_new ("(y)", 1379s # arg_arg_y), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_y: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_y ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpfk149z8_.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpfk149z8_.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # gint16 arg_arg_n, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_int (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_n", 1379s # (gchar *) "n", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodN", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-n", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_n: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-n", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_n, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_n: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_n: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_n ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint16 arg_arg_n, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodN", 1379s # g_variant_new ("(n)", 1379s # arg_arg_n), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_n_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_n_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_n_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_n: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_n_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint16 arg_arg_n, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodN", 1379s # g_variant_new ("(n)", 1379s # arg_arg_n), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_n: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_n ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpvrwwvadb.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpvrwwvadb.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # guint16 arg_arg_q, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_uint (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_q", 1379s # (gchar *) "q", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodQ", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-q", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_q: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-q", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_q, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_q: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_q: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_q ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint16 arg_arg_q, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodQ", 1379s # g_variant_new ("(q)", 1379s # arg_arg_q), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_q_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_q_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_q_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_q: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_q_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint16 arg_arg_q, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodQ", 1379s # g_variant_new ("(q)", 1379s # arg_arg_q), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_q: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_q ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpobl1w11o.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpobl1w11o.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # gint arg_arg_i, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_int (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_i", 1379s # (gchar *) "i", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodI", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-i", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_i: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-i", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_i, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_i: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_i: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_i ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint arg_arg_i, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodI", 1379s # g_variant_new ("(i)", 1379s # arg_arg_i), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_i_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_i_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_i_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_i: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_i_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint arg_arg_i, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodI", 1379s # g_variant_new ("(i)", 1379s # arg_arg_i), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_i: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_i ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpjy7ruby4.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpjy7ruby4.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # guint arg_arg_u, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_uint (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_u", 1379s # (gchar *) "u", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodU", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-u", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_u: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-u", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_u, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_u: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_u: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_u ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint arg_arg_u, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodU", 1379s # g_variant_new ("(u)", 1379s # arg_arg_u), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_u_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_u_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_u_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_u: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_u_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint arg_arg_u, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodU", 1379s # g_variant_new ("(u)", 1379s # arg_arg_u), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_u: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_u ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmp6fs12_f_.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmp6fs12_f_.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # gint64 arg_arg_x, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_int64 (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_x", 1379s # (gchar *) "x", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodX", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-x", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_x: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-x", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_x, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_x: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_x: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_x ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint64 arg_arg_x, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodX", 1379s # g_variant_new ("(x)", 1379s # arg_arg_x), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_x_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_x_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_x_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_x: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_x_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gint64 arg_arg_x, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodX", 1379s # g_variant_new ("(x)", 1379s # arg_arg_x), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_x: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_x ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpb2iwo5fz.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpb2iwo5fz.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # guint64 arg_arg_t, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_uint64 (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_t", 1379s # (gchar *) "t", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodT", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-t", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_t: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-t", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_t, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_t: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_t: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_t ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint64 arg_arg_t, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodT", 1379s # g_variant_new ("(t)", 1379s # arg_arg_t), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_t_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_t_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_t_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_t: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_t_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # guint64 arg_arg_t, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodT", 1379s # g_variant_new ("(t)", 1379s # arg_arg_t), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_t: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_t ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmp_fv4gk3c.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmp_fv4gk3c.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # gdouble arg_arg_d, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_double (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_d", 1379s # (gchar *) "d", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodD", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-d", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_d: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-d", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_d, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_d: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_d: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_d ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gdouble arg_arg_d, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodD", 1379s # g_variant_new ("(d)", 1379s # arg_arg_d), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_d_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_d_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_d_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_d: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_d_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # gdouble arg_arg_d, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodD", 1379s # g_variant_new ("(d)", 1379s # arg_arg_d), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_d: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_d ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpjf8ldj3c.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpjf8ldj3c.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *arg_arg_s, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_string (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_s", 1379s # (gchar *) "s", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodS", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-s", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_s: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-s", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_s, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_s: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_s: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_s ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_s, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodS", 1379s # g_variant_new ("(s)", 1379s # arg_arg_s), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_s_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_s_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_s_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_s: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_s_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_s, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodS", 1379s # g_variant_new ("(s)", 1379s # arg_arg_s), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_s: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_s ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmppcc_hxu_.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmppcc_hxu_.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *arg_arg_o, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_string (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_o", 1379s # (gchar *) "o", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodO", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-o", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_o: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-o", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_o, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_o: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_o: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_o ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_o, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodO", 1379s # g_variant_new ("(o)", 1379s # arg_arg_o), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_o_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_o_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_o_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_o: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_o_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_o, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodO", 1379s # g_variant_new ("(o)", 1379s # arg_arg_o), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_o: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_o ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpr_eedwmg.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpr_eedwmg.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *arg_arg_g, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_string (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_g", 1379s # (gchar *) "g", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodG", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-g", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_g: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-g", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_g, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_g: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_g: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_g ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_g, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodG", 1379s # g_variant_new ("(g)", 1379s # arg_arg_g), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_g_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_g_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_g_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_g: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_g_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_g, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodG", 1379s # g_variant_new ("(g)", 1379s # arg_arg_g), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_g: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_g ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpgrdjegyq.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpgrdjegyq.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # GVariant *arg_arg_h, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_variant (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_h", 1379s # (gchar *) "h", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodH", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-h", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_h: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-h", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_h, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_h: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_h: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_h ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GVariant *arg_arg_h, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodH", 1379s # g_variant_new ("(@h)", 1379s # arg_arg_h), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_h_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_h_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_h_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_h: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_h_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GVariant *arg_arg_h, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodH", 1379s # g_variant_new ("(@h)", 1379s # arg_arg_h), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_h: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_h ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmprc8jes2b.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmprc8jes2b.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *arg_arg_ay, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_string (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_ay", 1379s # (gchar *) "ay", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodAy", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-ay", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_ay: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-ay", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ay: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_ay: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_ay ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_ay, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAy", 1379s # g_variant_new ("(^ay)", 1379s # arg_arg_ay), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_ay: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *arg_arg_ay, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAy", 1379s # g_variant_new ("(^ay)", 1379s # arg_arg_ay), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_ay: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_ay ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmp60p2obaf.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmp60p2obaf.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *const *arg_arg_as, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_boxed (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_as", 1379s # (gchar *) "as", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodAs", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-as", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_as: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-as", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_as, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_as: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_as: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_as ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_as, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAs", 1379s # g_variant_new ("(^as)", 1379s # arg_arg_as), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_as_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_as_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_as_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_as: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_as_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_as, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAs", 1379s # g_variant_new ("(^as)", 1379s # arg_arg_as), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_as: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_as ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpkqsihzbj.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpkqsihzbj.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *const *arg_arg_ao, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_boxed (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_ao", 1379s # (gchar *) "ao", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodAo", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-ao", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_ao: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-ao", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ao: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_ao: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_ao ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_ao, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAo", 1379s # g_variant_new ("(^ao)", 1379s # arg_arg_ao), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_ao: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_ao, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAo", 1379s # g_variant_new ("(^ao)", 1379s # arg_arg_ao), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_ao: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_ao ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmp5ub3b455.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmp5ub3b455.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # const gchar *const *arg_arg_aay, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_boxed (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_aay", 1379s # (gchar *) "aay", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodAay", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-aay", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_aay: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-aay", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_aay: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_aay: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_aay ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_aay, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAay", 1379s # g_variant_new ("(^aay)", 1379s # arg_arg_aay), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_aay: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # const gchar *const *arg_arg_aay, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAay", 1379s # g_variant_new ("(^aay)", 1379s # arg_arg_aay), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_aay: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_aay ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1379s # 1379s # /tmp/tmpmpwbi0nm/tmpuf0d9pxg.xml: 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # 1379s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmpwbi0nm/tmpuf0d9pxg.xml', '--output', '-', '--body'] 1379s # Return code: 0 1379s # Output: 1379s # /* 1379s # * This file is generated by gdbus-codegen, do not modify it. 1379s # * 1379s # * The license of this code is the same as for the D-Bus interface description 1379s # * it was derived from. Note that it links to GLib, so must comply with the 1379s # * LGPL linking clauses. 1379s # */ 1379s # 1379s # #ifdef HAVE_CONFIG_H 1379s # # include "config.h" 1379s # #endif 1379s # 1379s # #include 1379s # #ifdef G_OS_UNIX 1379s # # include 1379s # #endif 1379s # 1379s # #ifdef G_ENABLE_DEBUG 1379s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1379s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1379s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1379s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1379s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1379s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1379s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1379s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1379s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1379s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1379s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1379s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1379s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1379s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1379s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1379s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1379s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1379s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1379s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1379s # #else /* !G_ENABLE_DEBUG */ 1379s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1379s # * Do not access GValues directly in your code. Instead, use the 1379s # * g_value_get_*() functions 1379s # */ 1379s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1379s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1379s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1379s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1379s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1379s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1379s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1379s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1379s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1379s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1379s # #endif /* !G_ENABLE_DEBUG */ 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusArgInfo parent_struct; 1379s # gboolean use_gvariant; 1379s # } _ExtendedGDBusArgInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusMethodInfo parent_struct; 1379s # const gchar *signal_name; 1379s # gboolean pass_fdlist; 1379s # } _ExtendedGDBusMethodInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusSignalInfo parent_struct; 1379s # const gchar *signal_name; 1379s # } _ExtendedGDBusSignalInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusPropertyInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # guint use_gvariant : 1; 1379s # guint emits_changed_signal : 1; 1379s # } _ExtendedGDBusPropertyInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # GDBusInterfaceInfo parent_struct; 1379s # const gchar *hyphen_name; 1379s # } _ExtendedGDBusInterfaceInfo; 1379s # 1379s # typedef struct 1379s # { 1379s # const _ExtendedGDBusPropertyInfo *info; 1379s # guint prop_id; 1379s # GValue orig_value; /* the value before the change */ 1379s # } ChangedProperty; 1379s # 1379s # static void 1379s # _changed_property_free (ChangedProperty *data) 1379s # { 1379s # g_value_unset (&data->orig_value); 1379s # g_free (data); 1379s # } 1379s # 1379s # static gboolean 1379s # _g_strv_equal0 (gchar **a, gchar **b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # guint n; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # if (g_strv_length (a) != g_strv_length (b)) 1379s # goto out; 1379s # for (n = 0; a[n] != NULL; n++) 1379s # if (g_strcmp0 (a[n], b[n]) != 0) 1379s # goto out; 1379s # ret = TRUE; 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _g_variant_equal0 (GVariant *a, GVariant *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # if (a == NULL && b == NULL) 1379s # { 1379s # ret = TRUE; 1379s # goto out; 1379s # } 1379s # if (a == NULL || b == NULL) 1379s # goto out; 1379s # ret = g_variant_equal (a, b); 1379s # out: 1379s # return ret; 1379s # } 1379s # 1379s # G_GNUC_UNUSED static gboolean 1379s # _g_value_equal (const GValue *a, const GValue *b) 1379s # { 1379s # gboolean ret = FALSE; 1379s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1379s # switch (G_VALUE_TYPE (a)) 1379s # { 1379s # case G_TYPE_BOOLEAN: 1379s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1379s # break; 1379s # case G_TYPE_UCHAR: 1379s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1379s # break; 1379s # case G_TYPE_INT: 1379s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1379s # break; 1379s # case G_TYPE_UINT: 1379s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1379s # break; 1379s # case G_TYPE_INT64: 1379s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1379s # break; 1379s # case G_TYPE_UINT64: 1379s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1379s # break; 1379s # case G_TYPE_DOUBLE: 1379s # { 1379s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1379s # gdouble da = g_value_get_double (a); 1379s # gdouble db = g_value_get_double (b); 1379s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1379s # } 1379s # break; 1379s # case G_TYPE_STRING: 1379s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1379s # break; 1379s # case G_TYPE_VARIANT: 1379s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1379s # break; 1379s # default: 1379s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1379s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1379s # else 1379s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1379s # break; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static void 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint G_GNUC_UNUSED, 1379s # void *marshal_data) 1379s # { 1379s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1379s # (void *data1, 1379s # GDBusMethodInvocation *arg_method_invocation, 1379s # GVariant *arg_arg_asv, 1379s # void *data2); 1379s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1379s # GCClosure *cc = (GCClosure*) closure; 1379s # void *data1, *data2; 1379s # gboolean v_return; 1379s # 1379s # g_return_if_fail (return_value != NULL); 1379s # g_return_if_fail (n_param_values == 3); 1379s # 1379s # if (G_CCLOSURE_SWAP_DATA (closure)) 1379s # { 1379s # data1 = closure->data; 1379s # data2 = g_value_peek_pointer (param_values + 0); 1379s # } 1379s # else 1379s # { 1379s # data1 = g_value_peek_pointer (param_values + 0); 1379s # data2 = closure->data; 1379s # } 1379s # 1379s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1379s # (marshal_data ? marshal_data : cc->callback); 1379s # 1379s # v_return = 1379s # callback (data1, 1379s # g_marshal_value_peek_object (param_values + 1), 1379s # g_marshal_value_peek_variant (param_values + 2), 1379s # data2); 1379s # 1379s # g_value_set_boolean (return_value, v_return); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ 1379s # * Code for interface org.project.UsefulInterface 1379s # * ------------------------------------------------------------------------ 1379s # */ 1379s # 1379s # /** 1379s # * SECTION:OrgProjectUsefulInterface 1379s # * @title: OrgProjectUsefulInterface 1379s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1379s # * 1379s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1379s # */ 1379s # 1379s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1379s # 1379s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "arg_asv", 1379s # (gchar *) "a{sv}", 1379s # NULL 1379s # }, 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "SingleArgMethodAsv", 1379s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "handle-single-arg-method-asv", 1379s # FALSE 1379s # }; 1379s # 1379s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1379s # { 1379s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1379s # NULL 1379s # }; 1379s # 1379s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1379s # { 1379s # { 1379s # -1, 1379s # (gchar *) "org.project.UsefulInterface", 1379s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1379s # NULL, 1379s # NULL, 1379s # NULL 1379s # }, 1379s # "org-project-useful-interface", 1379s # }; 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_interface_info: 1379s # * 1379s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1379s # * 1379s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1379s # */ 1379s # GDBusInterfaceInfo * 1379s # org_project_useful_interface_interface_info (void) 1379s # { 1379s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_override_properties: 1379s # * @klass: The class structure for a #GObject derived class. 1379s # * @property_id_begin: The property id to assign to the first overridden property. 1379s # * 1379s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1379s # * The properties are overridden in the order they are defined. 1379s # * 1379s # * Returns: The last property id. 1379s # */ 1379s # guint 1379s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1379s # { 1379s # return property_id_begin - 1; 1379s # } 1379s # 1379s # 1379s # inline static void 1379s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1379s # GClosure *closure, 1379s # GValue *return_value, 1379s # unsigned int n_param_values, 1379s # const GValue *param_values, 1379s # void *invocation_hint, 1379s # void *marshal_data) 1379s # { 1379s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1379s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1379s # } 1379s # 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterface: 1379s # * 1379s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceIface: 1379s # * @parent_iface: The parent interface. 1379s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1379s # * 1379s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1379s # */ 1379s # 1379s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1379s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1379s # 1379s # static void 1379s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1379s # { 1379s # /* GObject signals for incoming D-Bus method calls: */ 1379s # /** 1379s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: A #GDBusMethodInvocation. 1379s # * @arg_arg_asv: Argument passed by remote caller. 1379s # * 1379s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1379s # * 1379s # * 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. 1379s # * 1379s # * 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. 1379s # */ 1379s # g_signal_new ("handle-single-arg-method-asv", 1379s # G_TYPE_FROM_INTERFACE (iface), 1379s # G_SIGNAL_RUN_LAST, 1379s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1379s # g_signal_accumulator_true_handled, 1379s # NULL, 1379s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1379s # G_TYPE_BOOLEAN, 1379s # 2, 1379s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1379s # 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_asv: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_asv: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1379s # */ 1379s # void 1379s # org_project_useful_interface_call_single_arg_method_asv ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GVariant *arg_arg_asv, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAsv", 1379s # g_variant_new ("(@a{sv})", 1379s # arg_arg_asv), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # callback, 1379s # user_data); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1379s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1379s # * @arg_arg_asv: Argument to pass with the method invocation. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL. 1379s # * 1379s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1379s # * 1379s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1379s # */ 1379s # gboolean 1379s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1379s # OrgProjectUsefulInterface *proxy, 1379s # GVariant *arg_arg_asv, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GVariant *_ret; 1379s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1379s # "SingleArgMethodAsv", 1379s # g_variant_new ("(@a{sv})", 1379s # arg_arg_asv), 1379s # G_DBUS_CALL_FLAGS_NONE, 1379s # -1, 1379s # cancellable, 1379s # error); 1379s # if (_ret == NULL) 1379s # goto _out; 1379s # g_variant_get (_ret, 1379s # "()"); 1379s # g_variant_unref (_ret); 1379s # _out: 1379s # return _ret != NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_complete_single_arg_method_asv: 1379s # * @object: A #OrgProjectUsefulInterface. 1379s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1379s # * 1379s # * 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. 1379s # * 1379s # * This method will free @invocation, you cannot use it afterwards. 1379s # */ 1379s # void 1379s # org_project_useful_interface_complete_single_arg_method_asv ( 1379s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1379s # GDBusMethodInvocation *invocation) 1379s # { 1379s # g_dbus_method_invocation_return_value (invocation, 1379s # g_variant_new ("()")); 1379s # } 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxy: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceProxyClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceProxyPrivate 1379s # { 1379s # GData *qdata; 1379s # }; 1379s # 1379s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_proxy_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1379s # g_datalist_clear (&proxy->priv->qdata); 1379s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1379s # guint prop_id G_GNUC_UNUSED, 1379s # const GValue *value G_GNUC_UNUSED, 1379s # GParamSpec *pspec G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1379s # const gchar *sender_name G_GNUC_UNUSED, 1379s # const gchar *signal_name, 1379s # GVariant *parameters) 1379s # { 1379s # _ExtendedGDBusSignalInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # gsize n; 1379s # guint signal_id; 1379s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1379s # if (info == NULL) 1379s # return; 1379s # num_params = g_variant_n_children (parameters); 1379s # paramv = g_new0 (GValue, num_params + 1); 1379s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[0], proxy); 1379s # g_variant_iter_init (&iter, parameters); 1379s # n = 1; 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_signal_emitv (paramv, signal_id, 0, NULL); 1379s # for (n = 0; n < num_params + 1; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1379s # GVariant *changed_properties, 1379s # const gchar *const *invalidated_properties) 1379s # { 1379s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1379s # guint n; 1379s # const gchar *key; 1379s # GVariantIter *iter; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # g_variant_get (changed_properties, "a{sv}", &iter); 1379s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1379s # g_datalist_remove_data (&proxy->priv->qdata, key); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # g_variant_iter_free (iter); 1379s # for (n = 0; invalidated_properties[n] != NULL; n++) 1379s # { 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1379s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1379s # if (info != NULL) 1379s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1379s # } 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1379s # #else 1379s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1379s # #endif 1379s # 1379s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusProxyClass *proxy_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1379s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1379s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1379s # 1379s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1379s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1379s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_sync: 1379s # * @connection: A #GDBusConnection. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_sync ( 1379s # GDBusConnection *connection, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1379s # * @user_data: User data to pass to @callback. 1379s # * 1379s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1379s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1379s # */ 1379s # void 1379s # org_project_useful_interface_proxy_new_for_bus ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GAsyncReadyCallback callback, 1379s # gpointer user_data) 1379s # { 1379s # g_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); 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_finish: 1379s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_finish ( 1379s # GAsyncResult *res, 1379s # GError **error) 1379s # { 1379s # GObject *ret; 1379s # GObject *source_object; 1379s # source_object = g_async_result_get_source_object (res); 1379s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1379s # g_object_unref (source_object); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_proxy_new_for_bus_sync: 1379s # * @bus_type: A #GBusType. 1379s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1379s # * @name: A bus name (well-known or unique). 1379s # * @object_path: An object path. 1379s # * @cancellable: (nullable): A #GCancellable or %NULL. 1379s # * @error: Return location for error or %NULL 1379s # * 1379s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1379s # * 1379s # * The calling thread is blocked until a reply is received. 1379s # * 1379s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_proxy_new_for_bus_sync ( 1379s # GBusType bus_type, 1379s # GDBusProxyFlags flags, 1379s # const gchar *name, 1379s # const gchar *object_path, 1379s # GCancellable *cancellable, 1379s # GError **error) 1379s # { 1379s # GInitable *ret; 1379s # 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); 1379s # if (ret != NULL) 1379s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1379s # else 1379s # return NULL; 1379s # } 1379s # 1379s # 1379s # /* ------------------------------------------------------------------------ */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeleton: 1379s # * 1379s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1379s # */ 1379s # 1379s # /** 1379s # * OrgProjectUsefulInterfaceSkeletonClass: 1379s # * @parent_class: The parent class. 1379s # * 1379s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1379s # */ 1379s # 1379s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1379s # { 1379s # GValue *properties; 1379s # GList *changed_properties; 1379s # GSource *changed_properties_idle_source; 1379s # GMainContext *context; 1379s # GMutex lock; 1379s # }; 1379s # 1379s # static void 1379s # _org_project_useful_interface_skeleton_handle_method_call ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name, 1379s # const gchar *method_name, 1379s # GVariant *parameters, 1379s # GDBusMethodInvocation *invocation, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # _ExtendedGDBusMethodInfo *info; 1379s # GVariantIter iter; 1379s # GVariant *child; 1379s # GValue *paramv; 1379s # gsize num_params; 1379s # guint num_extra; 1379s # gsize n; 1379s # guint signal_id; 1379s # GValue return_value = G_VALUE_INIT; 1379s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1379s # g_assert (info != NULL); 1379s # num_params = g_variant_n_children (parameters); 1379s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1379s # n = 0; 1379s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_set_object (¶mv[n++], skeleton); 1379s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1379s # g_value_set_object (¶mv[n++], invocation); 1379s # if (info->pass_fdlist) 1379s # { 1379s # #ifdef G_OS_UNIX 1379s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1379s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1379s # #else 1379s # g_assert_not_reached (); 1379s # #endif 1379s # } 1379s # g_variant_iter_init (&iter, parameters); 1379s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1379s # { 1379s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1379s # if (arg_info->use_gvariant) 1379s # { 1379s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1379s # g_value_set_variant (¶mv[n], child); 1379s # n++; 1379s # } 1379s # else 1379s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1379s # g_variant_unref (child); 1379s # } 1379s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1379s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1379s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1379s # if (!g_value_get_boolean (&return_value)) 1379s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1379s # g_value_unset (&return_value); 1379s # for (n = 0; n < num_params + num_extra; n++) 1379s # g_value_unset (¶mv[n]); 1379s # g_free (paramv); 1379s # } 1379s # 1379s # static GVariant * 1379s # _org_project_useful_interface_skeleton_handle_get_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # GVariant *ret; 1379s # ret = NULL; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # g_value_init (&value, pspec->value_type); 1379s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1379s # g_value_unset (&value); 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static gboolean 1379s # _org_project_useful_interface_skeleton_handle_set_property ( 1379s # GDBusConnection *connection G_GNUC_UNUSED, 1379s # const gchar *sender G_GNUC_UNUSED, 1379s # const gchar *object_path G_GNUC_UNUSED, 1379s # const gchar *interface_name G_GNUC_UNUSED, 1379s # const gchar *property_name, 1379s # GVariant *variant, 1379s # GError **error, 1379s # gpointer user_data) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1379s # GValue value = G_VALUE_INIT; 1379s # GParamSpec *pspec; 1379s # _ExtendedGDBusPropertyInfo *info; 1379s # gboolean ret; 1379s # ret = FALSE; 1379s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1379s # g_assert (info != NULL); 1379s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1379s # if (pspec == NULL) 1379s # { 1379s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1379s # } 1379s # else 1379s # { 1379s # if (info->use_gvariant) 1379s # g_value_set_variant (&value, variant); 1379s # else 1379s # g_dbus_gvariant_to_gvalue (variant, &value); 1379s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1379s # g_value_unset (&value); 1379s # ret = TRUE; 1379s # } 1379s # return ret; 1379s # } 1379s # 1379s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1379s # { 1379s # _org_project_useful_interface_skeleton_handle_method_call, 1379s # _org_project_useful_interface_skeleton_handle_get_property, 1379s # _org_project_useful_interface_skeleton_handle_set_property, 1379s # {NULL} 1379s # }; 1379s # 1379s # static GDBusInterfaceInfo * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return org_project_useful_interface_interface_info (); 1379s # } 1379s # 1379s # static GDBusInterfaceVTable * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1379s # { 1379s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1379s # } 1379s # 1379s # static GVariant * 1379s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1379s # 1379s # GVariantBuilder builder; 1379s # guint n; 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1379s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #else 1379s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1379s # #endif 1379s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1379s # goto out; 1379s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1379s # { 1379s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1379s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1379s # { 1379s # GVariant *value; 1379s # 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); 1379s # if (value != NULL) 1379s # { 1379s # g_variant_take_ref (value); 1379s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1379s # g_variant_unref (value); 1379s # } 1379s # } 1379s # } 1379s # out: 1379s # return g_variant_builder_end (&builder); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #else 1379s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1379s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1379s # 1379s # #endif 1379s # static void 1379s # org_project_useful_interface_skeleton_finalize (GObject *object) 1379s # { 1379s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1379s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # /* coverity[missing_lock : SUPPRESS] */ 1379s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1379s # #else 1379s # if (skeleton->priv->changed_properties_idle_source != NULL) 1379s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1379s # skeleton->priv->changed_properties_idle_source = NULL; 1379s # #endif 1379s # g_main_context_unref (skeleton->priv->context); 1379s # g_mutex_clear (&skeleton->priv->lock); 1379s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1379s # { 1379s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1379s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1379s # #else 1379s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1379s # #endif 1379s # 1379s # g_mutex_init (&skeleton->priv->lock); 1379s # skeleton->priv->context = g_main_context_ref_thread_default (); 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1379s # { 1379s # GObjectClass *gobject_class; 1379s # GDBusInterfaceSkeletonClass *skeleton_class; 1379s # 1379s # gobject_class = G_OBJECT_CLASS (klass); 1379s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1379s # 1379s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1379s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1379s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1379s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1379s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1379s # 1379s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1379s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1379s # #endif 1379s # } 1379s # 1379s # static void 1379s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1379s # { 1379s # } 1379s # 1379s # /** 1379s # * org_project_useful_interface_skeleton_new: 1379s # * 1379s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1379s # * 1379s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1379s # */ 1379s # OrgProjectUsefulInterface * 1379s # org_project_useful_interface_skeleton_new (void) 1379s # { 1379s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1379s # } 1379s # Error: 1380s ok 17 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpw8ute60b 1380s # /tmp/tmpw8ute60b/tmp5ftknecc.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp5ftknecc.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodB", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-b", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-b", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_b, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_b: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_b ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodB", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_b_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_b_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gboolean* out_arg_b, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(b)", 1380s # out_arg_b); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_b_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_b_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gboolean* out_arg_b, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodB", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(b)", 1380s # out_arg_b); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_b: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_b: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_b ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gboolean arg_b) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(b)", 1380s # arg_b)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp4iu0trot.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp4iu0trot.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodY", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-y", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-y", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_y, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_y: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_y ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodY", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_y_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_y_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guchar* out_arg_y, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(y)", 1380s # out_arg_y); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_y_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_y_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guchar* out_arg_y, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodY", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(y)", 1380s # out_arg_y); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_y: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_y: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_y ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # guchar arg_y) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(y)", 1380s # arg_y)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpv8yfnjaq.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpv8yfnjaq.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodN", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-n", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-n", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_n, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_n: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_n ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodN", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_n_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_n_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint16* out_arg_n, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(n)", 1380s # out_arg_n); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_n_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_n_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint16* out_arg_n, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodN", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(n)", 1380s # out_arg_n); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_n: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_n: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_n ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gint16 arg_n) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(n)", 1380s # arg_n)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpi2gc6gnf.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpi2gc6gnf.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodQ", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-q", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-q", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_q, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_q: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_q ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodQ", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_q_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_q_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint16* out_arg_q, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(q)", 1380s # out_arg_q); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_q_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_q_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint16* out_arg_q, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodQ", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(q)", 1380s # out_arg_q); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_q: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_q: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_q ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # guint16 arg_q) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(q)", 1380s # arg_q)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp6k8rmu03.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp6k8rmu03.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodI", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-i", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-i", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_i, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_i: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_i ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodI", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_i_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_i_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint* out_arg_i, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(i)", 1380s # out_arg_i); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_i_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_i_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint* out_arg_i, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodI", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(i)", 1380s # out_arg_i); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_i: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_i: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_i ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gint arg_i) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(i)", 1380s # arg_i)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp05jkffc6.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp05jkffc6.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodU", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-u", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-u", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_u, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_u: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_u ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodU", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_u_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_u_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint* out_arg_u, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(u)", 1380s # out_arg_u); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_u_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_u_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint* out_arg_u, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodU", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(u)", 1380s # out_arg_u); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_u: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_u: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_u ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # guint arg_u) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(u)", 1380s # arg_u)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpsijrc1jn.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpsijrc1jn.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodX", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-x", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-x", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_x, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_x: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_x ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodX", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_x_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_x_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint64* out_arg_x, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(x)", 1380s # out_arg_x); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_x_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_x_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gint64* out_arg_x, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodX", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(x)", 1380s # out_arg_x); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_x: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_x: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_x ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gint64 arg_x) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(x)", 1380s # arg_x)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp8rxrhrtm.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp8rxrhrtm.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodT", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-t", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-t", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_t, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_t: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_t ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodT", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_t_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_t_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint64* out_arg_t, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(t)", 1380s # out_arg_t); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_t_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_t_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # guint64* out_arg_t, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodT", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(t)", 1380s # out_arg_t); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_t: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_t: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_t ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # guint64 arg_t) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(t)", 1380s # arg_t)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp4i8pzv8n.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp4i8pzv8n.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodD", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-d", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-d", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_d, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_d: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_d ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodD", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_d_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_d_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gdouble* out_arg_d, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(d)", 1380s # out_arg_d); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_d_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_d_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gdouble* out_arg_d, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodD", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(d)", 1380s # out_arg_d); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_d: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_d: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_d ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gdouble arg_d) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(d)", 1380s # arg_d)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp4uj4748y.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp4uj4748y.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodS", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-s", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-s", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_s, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_s: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_s ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodS", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_s_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_s_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_s, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(s)", 1380s # out_arg_s); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_s_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_s_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_s, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodS", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(s)", 1380s # out_arg_s); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_s: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_s: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_s ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *arg_s) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(s)", 1380s # arg_s)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpfns_iv6w.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpfns_iv6w.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodO", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-o", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-o", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_o, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_o: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_o ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodO", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_o_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_o_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_o, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(o)", 1380s # out_arg_o); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_o_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_o_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_o, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodO", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(o)", 1380s # out_arg_o); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_o: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_o: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_o ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *arg_o) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(o)", 1380s # arg_o)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp8bii15tp.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp8bii15tp.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodG", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-g", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-g", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_g, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_g: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_g ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodG", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_g_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_g_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_g, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(g)", 1380s # out_arg_g); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_g_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_g_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_g, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodG", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(g)", 1380s # out_arg_g); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_g: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_g: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_g ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *arg_g) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(g)", 1380s # arg_g)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpq5_ulfgx.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpq5_ulfgx.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodH", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-h", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-h", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_h, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_h: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_h ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodH", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_h_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_h_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GVariant ** out_arg_h, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(@h)", 1380s # out_arg_h); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_h_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_h_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GVariant ** out_arg_h, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodH", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(@h)", 1380s # out_arg_h); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_h: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_h: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_h ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # GVariant *arg_h) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(@h)", 1380s # arg_h)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmphkakqtqa.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmphkakqtqa.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodAy", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-ay", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-ay", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ay: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_ay ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAy", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_ay, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^ay)", 1380s # out_arg_ay); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar ** out_arg_ay, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAy", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^ay)", 1380s # out_arg_ay); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_ay: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_ay: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_ay ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *arg_ay) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(^ay)", 1380s # arg_ay)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmp9jcqcswt.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmp9jcqcswt.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodAs", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-as", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-as", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_as, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_as: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_as ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAs", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_as_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_as_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_as, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^as)", 1380s # out_arg_as); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_as_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_as_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_as, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAs", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^as)", 1380s # out_arg_as); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_as: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_as: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_as ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *const *arg_as) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(^as)", 1380s # arg_as)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpltb0bkt4.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpltb0bkt4.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodAo", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-ao", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-ao", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ao: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_ao ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAo", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_ao, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^ao)", 1380s # out_arg_ao); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_ao, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAo", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^ao)", 1380s # out_arg_ao); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_ao: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_ao: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_ao ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *const *arg_ao) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(^ao)", 1380s # arg_ao)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmphar14i3z.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmphar14i3z.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodAay", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-aay", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-aay", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_aay: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_aay ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAay", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_aay, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^aay)", 1380s # out_arg_aay); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # gchar *** out_arg_aay, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAay", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(^aay)", 1380s # out_arg_aay); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_aay: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_aay: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_aay ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # const gchar *const *arg_aay) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(^aay)", 1380s # arg_aay)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s # 1380s # /tmp/tmpw8ute60b/tmpbw2aa20z.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw8ute60b/tmpbw2aa20z.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "arg_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgMethodAsv", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-single-arg-method-asv", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-single-arg-method-asv", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_asv: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_useful_interface_call_single_arg_method_asv ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAsv", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GVariant ** out_arg_asv, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(@a{sv})", 1380s # out_arg_asv); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1380s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1380s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1380s # OrgProjectUsefulInterface *proxy, 1380s # GVariant ** out_arg_asv, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SingleArgMethodAsv", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(@a{sv})", 1380s # out_arg_asv); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_complete_single_arg_method_asv: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @arg_asv: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_useful_interface_complete_single_arg_method_asv ( 1380s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # GVariant *arg_asv) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(@a{sv})", 1380s # arg_asv)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 18 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpdimimnt3 1380s # /tmp/tmpdimimnt3/tmps6zwv4ki.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdimimnt3/tmps6zwv4ki.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 20); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # g_marshal_value_peek_boolean (param_values + 2), 1380s # g_marshal_value_peek_uchar (param_values + 3), 1380s # g_marshal_value_peek_int (param_values + 4), 1380s # g_marshal_value_peek_uint (param_values + 5), 1380s # g_marshal_value_peek_int (param_values + 6), 1380s # g_marshal_value_peek_uint (param_values + 7), 1380s # g_marshal_value_peek_int64 (param_values + 8), 1380s # g_marshal_value_peek_uint64 (param_values + 9), 1380s # g_marshal_value_peek_double (param_values + 10), 1380s # g_marshal_value_peek_string (param_values + 11), 1380s # g_marshal_value_peek_string (param_values + 12), 1380s # g_marshal_value_peek_string (param_values + 13), 1380s # g_marshal_value_peek_variant (param_values + 14), 1380s # g_marshal_value_peek_string (param_values + 15), 1380s # g_marshal_value_peek_boxed (param_values + 16), 1380s # g_marshal_value_peek_boxed (param_values + 17), 1380s # g_marshal_value_peek_boxed (param_values + 18), 1380s # g_marshal_value_peek_variant (param_values + 19), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.CallableIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectCallableIface 1380s # * @title: OrgProjectCallableIface 1380s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.CallableIface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1380s # { 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "MethodWithManyArgs", 1380s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "handle-method-with-many-args", 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1380s # { 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SameMethodWithManyArgs", 1380s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "handle-same-method-with-many-args", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1380s # { 1380s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1380s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.CallableIface", 1380s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-callable-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_callable_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_callable_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_callable_iface_method_marshal_method_with_many_args ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _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, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _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, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectCallableIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1380s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.CallableIface. 1380s # */ 1380s # 1380s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectCallableIface::handle-method-with-many-args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * @arg_an_b: Argument passed by remote caller. 1380s # * @arg_an_y: Argument passed by remote caller. 1380s # * @arg_an_n: Argument passed by remote caller. 1380s # * @arg_an_q: Argument passed by remote caller. 1380s # * @arg_an_i: Argument passed by remote caller. 1380s # * @arg_an_u: Argument passed by remote caller. 1380s # * @arg_an_x: Argument passed by remote caller. 1380s # * @arg_an_t: Argument passed by remote caller. 1380s # * @arg_an_d: Argument passed by remote caller. 1380s # * @arg_an_s: Argument passed by remote caller. 1380s # * @arg_an_o: Argument passed by remote caller. 1380s # * @arg_an_g: Argument passed by remote caller. 1380s # * @arg_an_h: Argument passed by remote caller. 1380s # * @arg_an_ay: Argument passed by remote caller. 1380s # * @arg_an_as: Argument passed by remote caller. 1380s # * @arg_an_ao: Argument passed by remote caller. 1380s # * @arg_an_aay: Argument passed by remote caller. 1380s # * @arg_an_asv: Argument passed by remote caller. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-method-with-many-args", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_callable_iface_method_marshal_method_with_many_args, 1380s # G_TYPE_BOOLEAN, 1380s # 19, 1380s # 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); 1380s # 1380s # /** 1380s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * @arg_an_b: Argument passed by remote caller. 1380s # * @arg_an_y: Argument passed by remote caller. 1380s # * @arg_an_n: Argument passed by remote caller. 1380s # * @arg_an_q: Argument passed by remote caller. 1380s # * @arg_an_i: Argument passed by remote caller. 1380s # * @arg_an_u: Argument passed by remote caller. 1380s # * @arg_an_x: Argument passed by remote caller. 1380s # * @arg_an_t: Argument passed by remote caller. 1380s # * @arg_an_d: Argument passed by remote caller. 1380s # * @arg_an_s: Argument passed by remote caller. 1380s # * @arg_an_o: Argument passed by remote caller. 1380s # * @arg_an_g: Argument passed by remote caller. 1380s # * @arg_an_h: Argument passed by remote caller. 1380s # * @arg_an_ay: Argument passed by remote caller. 1380s # * @arg_an_as: Argument passed by remote caller. 1380s # * @arg_an_ao: Argument passed by remote caller. 1380s # * @arg_an_aay: Argument passed by remote caller. 1380s # * @arg_an_asv: Argument passed by remote caller. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-same-method-with-many-args", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1380s # G_TYPE_BOOLEAN, 1380s # 19, 1380s # 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); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_callable_iface_call_method_with_many_args ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args_finish: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_method_with_many_args_finish ( 1380s # OrgProjectCallableIface *proxy, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args_sync: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_method_with_many_args_sync ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_same_method_with_many_args: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_callable_iface_call_same_method_with_many_args ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "SameMethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1380s # OrgProjectCallableIface *proxy, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "SameMethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_complete_method_with_many_args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_callable_iface_complete_method_with_many_args ( 1380s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("()")); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_complete_same_method_with_many_args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_callable_iface_complete_same_method_with_many_args ( 1380s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("()")); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceProxy: 1380s # * 1380s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectCallableIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectCallableIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_callable_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_callable_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_callable_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectCallableIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_callable_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_callable_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_callable_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1380s # { 1380s # _org_project_callable_iface_skeleton_handle_method_call, 1380s # _org_project_callable_iface_skeleton_handle_get_property, 1380s # _org_project_callable_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_callable_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_callable_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.OtherCallableIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectOtherCallableIface 1380s # * @title: OrgProjectOtherCallableIface 1380s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1380s # { 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "MethodWithManyArgs", 1380s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "handle-method-with-many-args", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1380s # { 1380s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.OtherCallableIface", 1380s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-other-callable-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_other_callable_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _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, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1380s # */ 1380s # 1380s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1380s # * @object: A #OrgProjectOtherCallableIface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * @arg_an_b: Argument passed by remote caller. 1380s # * @arg_an_y: Argument passed by remote caller. 1380s # * @arg_an_n: Argument passed by remote caller. 1380s # * @arg_an_q: Argument passed by remote caller. 1380s # * @arg_an_i: Argument passed by remote caller. 1380s # * @arg_an_u: Argument passed by remote caller. 1380s # * @arg_an_x: Argument passed by remote caller. 1380s # * @arg_an_t: Argument passed by remote caller. 1380s # * @arg_an_d: Argument passed by remote caller. 1380s # * @arg_an_s: Argument passed by remote caller. 1380s # * @arg_an_o: Argument passed by remote caller. 1380s # * @arg_an_g: Argument passed by remote caller. 1380s # * @arg_an_h: Argument passed by remote caller. 1380s # * @arg_an_ay: Argument passed by remote caller. 1380s # * @arg_an_as: Argument passed by remote caller. 1380s # * @arg_an_ao: Argument passed by remote caller. 1380s # * @arg_an_aay: Argument passed by remote caller. 1380s # * @arg_an_asv: Argument passed by remote caller. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-method-with-many-args", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1380s # G_TYPE_BOOLEAN, 1380s # 19, 1380s # 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); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_call_method_with_many_args: 1380s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_other_callable_iface_call_method_with_many_args ( 1380s # OrgProjectOtherCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1380s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1380s # OrgProjectOtherCallableIface *proxy, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1380s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1380s # * @arg_an_b: Argument to pass with the method invocation. 1380s # * @arg_an_y: Argument to pass with the method invocation. 1380s # * @arg_an_n: Argument to pass with the method invocation. 1380s # * @arg_an_q: Argument to pass with the method invocation. 1380s # * @arg_an_i: Argument to pass with the method invocation. 1380s # * @arg_an_u: Argument to pass with the method invocation. 1380s # * @arg_an_x: Argument to pass with the method invocation. 1380s # * @arg_an_t: Argument to pass with the method invocation. 1380s # * @arg_an_d: Argument to pass with the method invocation. 1380s # * @arg_an_s: Argument to pass with the method invocation. 1380s # * @arg_an_o: Argument to pass with the method invocation. 1380s # * @arg_an_g: Argument to pass with the method invocation. 1380s # * @arg_an_h: Argument to pass with the method invocation. 1380s # * @arg_an_ay: Argument to pass with the method invocation. 1380s # * @arg_an_as: Argument to pass with the method invocation. 1380s # * @arg_an_ao: Argument to pass with the method invocation. 1380s # * @arg_an_aay: Argument to pass with the method invocation. 1380s # * @arg_an_asv: Argument to pass with the method invocation. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1380s # OrgProjectOtherCallableIface *proxy, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "()"); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_complete_method_with_many_args: 1380s # * @object: A #OrgProjectOtherCallableIface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_other_callable_iface_complete_method_with_many_args ( 1380s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("()")); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIfaceProxy: 1380s # * 1380s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_callable_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherCallableIface * 1380s # org_project_other_callable_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherCallableIface * 1380s # org_project_other_callable_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_callable_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherCallableIface * 1380s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherCallableIface * 1380s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherCallableIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1380s # { 1380s # _org_project_other_callable_iface_skeleton_handle_method_call, 1380s # _org_project_other_callable_iface_skeleton_handle_get_property, 1380s # _org_project_other_callable_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_other_callable_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_callable_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectOtherCallableIface * 1380s # org_project_other_callable_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 19 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpib7d8yt_ 1380s # /tmp/tmpib7d8yt_/tmpd8qeb0g1.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpib7d8yt_/tmpd8qeb0g1.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.CallableIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectCallableIface 1380s # * @title: OrgProjectCallableIface 1380s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for org.project.CallableIface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1380s # { 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1380s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "MethodWithManyArgs", 1380s # NULL, 1380s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-method-with-many-args", 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1380s # { 1380s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.CallableIface", 1380s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-callable-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_callable_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_callable_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_callable_iface_method_marshal_method_with_many_args ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectCallableIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.CallableIface. 1380s # */ 1380s # 1380s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * OrgProjectCallableIface::handle-method-with-many-args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-method-with-many-args", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # org_project_callable_iface_method_marshal_method_with_many_args, 1380s # G_TYPE_BOOLEAN, 1380s # 1, 1380s # G_TYPE_DBUS_METHOD_INVOCATION); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # org_project_callable_iface_call_method_with_many_args ( 1380s # OrgProjectCallableIface *proxy, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args_finish: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_method_with_many_args_finish ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean* out_an_b, 1380s # guchar* out_an_y, 1380s # gint16* out_an_n, 1380s # guint16* out_an_q, 1380s # gint* out_an_i, 1380s # guint* out_an_u, 1380s # gint64* out_an_x, 1380s # guint64* out_an_t, 1380s # gdouble* out_an_d, 1380s # gchar ** out_an_s, 1380s # gchar ** out_an_o, 1380s # gchar ** out_an_g, 1380s # GVariant ** out_an_h, 1380s # gchar ** out_an_ay, 1380s # gchar *** out_an_as, 1380s # gchar *** out_an_ao, 1380s # gchar *** out_an_aay, 1380s # GVariant ** out_an_asv, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # out_an_b, 1380s # out_an_y, 1380s # out_an_n, 1380s # out_an_q, 1380s # out_an_i, 1380s # out_an_u, 1380s # out_an_x, 1380s # out_an_t, 1380s # out_an_d, 1380s # out_an_s, 1380s # out_an_o, 1380s # out_an_g, 1380s # out_an_h, 1380s # out_an_ay, 1380s # out_an_as, 1380s # out_an_ao, 1380s # out_an_aay, 1380s # out_an_asv); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_call_method_with_many_args_sync: 1380s # * @proxy: A #OrgProjectCallableIfaceProxy. 1380s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1380s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # org_project_callable_iface_call_method_with_many_args_sync ( 1380s # OrgProjectCallableIface *proxy, 1380s # gboolean* out_an_b, 1380s # guchar* out_an_y, 1380s # gint16* out_an_n, 1380s # guint16* out_an_q, 1380s # gint* out_an_i, 1380s # guint* out_an_u, 1380s # gint64* out_an_x, 1380s # guint64* out_an_t, 1380s # gdouble* out_an_d, 1380s # gchar ** out_an_s, 1380s # gchar ** out_an_o, 1380s # gchar ** out_an_g, 1380s # GVariant ** out_an_h, 1380s # gchar ** out_an_ay, 1380s # gchar *** out_an_as, 1380s # gchar *** out_an_ao, 1380s # gchar *** out_an_aay, 1380s # GVariant ** out_an_asv, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1380s # "MethodWithManyArgs", 1380s # g_variant_new ("()"), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # out_an_b, 1380s # out_an_y, 1380s # out_an_n, 1380s # out_an_q, 1380s # out_an_i, 1380s # out_an_u, 1380s # out_an_x, 1380s # out_an_t, 1380s # out_an_d, 1380s # out_an_s, 1380s # out_an_o, 1380s # out_an_g, 1380s # out_an_h, 1380s # out_an_ay, 1380s # out_an_as, 1380s # out_an_ao, 1380s # out_an_aay, 1380s # out_an_asv); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_complete_method_with_many_args: 1380s # * @object: A #OrgProjectCallableIface. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @an_b: Parameter to return. 1380s # * @an_y: Parameter to return. 1380s # * @an_n: Parameter to return. 1380s # * @an_q: Parameter to return. 1380s # * @an_i: Parameter to return. 1380s # * @an_u: Parameter to return. 1380s # * @an_x: Parameter to return. 1380s # * @an_t: Parameter to return. 1380s # * @an_d: Parameter to return. 1380s # * @an_s: Parameter to return. 1380s # * @an_o: Parameter to return. 1380s # * @an_g: Parameter to return. 1380s # * @an_h: Parameter to return. 1380s # * @an_ay: Parameter to return. 1380s # * @an_as: Parameter to return. 1380s # * @an_ao: Parameter to return. 1380s # * @an_aay: Parameter to return. 1380s # * @an_asv: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # org_project_callable_iface_complete_method_with_many_args ( 1380s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # gboolean an_b, 1380s # guchar an_y, 1380s # gint16 an_n, 1380s # guint16 an_q, 1380s # gint an_i, 1380s # guint an_u, 1380s # gint64 an_x, 1380s # guint64 an_t, 1380s # gdouble an_d, 1380s # const gchar *an_s, 1380s # const gchar *an_o, 1380s # const gchar *an_g, 1380s # GVariant *an_h, 1380s # const gchar *an_ay, 1380s # const gchar *const *an_as, 1380s # const gchar *const *an_ao, 1380s # const gchar *const *an_aay, 1380s # GVariant *an_asv) 1380s # { 1380s # g_dbus_method_invocation_return_value (invocation, 1380s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # an_b, 1380s # an_y, 1380s # an_n, 1380s # an_q, 1380s # an_i, 1380s # an_u, 1380s # an_x, 1380s # an_t, 1380s # an_d, 1380s # an_s, 1380s # an_o, 1380s # an_g, 1380s # an_h, 1380s # an_ay, 1380s # an_as, 1380s # an_ao, 1380s # an_aay, 1380s # an_asv)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceProxy: 1380s # * 1380s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectCallableIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectCallableIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_callable_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_callable_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_callable_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectCallableIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectCallableIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_callable_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_callable_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_callable_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1380s # { 1380s # _org_project_callable_iface_skeleton_handle_method_call, 1380s # _org_project_callable_iface_skeleton_handle_get_property, 1380s # _org_project_callable_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_callable_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_callable_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_callable_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectCallableIface * 1380s # org_project_callable_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 20 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpt28ycpss 1380s # /tmp/tmpt28ycpss/tmp20zxe0tv.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt28ycpss/tmp20zxe0tv.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1380s # (void *data1, 1380s # GDBusMethodInvocation *arg_method_invocation, 1380s # GUnixFDList *arg_fd_list, 1380s # const gchar *arg_greeting, 1380s # void *data2); 1380s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # gboolean v_return; 1380s # 1380s # g_return_if_fail (return_value != NULL); 1380s # g_return_if_fail (n_param_values == 4); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # v_return = 1380s # callback (data1, 1380s # g_marshal_value_peek_object (param_values + 1), 1380s # g_marshal_value_peek_object (param_values + 2), 1380s # g_marshal_value_peek_string (param_values + 3), 1380s # data2); 1380s # 1380s # g_value_set_boolean (return_value, v_return); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface test.FDPassing 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:TestFDPassing 1380s # * @title: TestFDPassing 1380s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1380s # * 1380s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1380s # */ 1380s # 1380s # /* ---- Introspection data for test.FDPassing ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "greeting", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1380s # { 1380s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "response", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1380s # { 1380s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "HelloFD", 1380s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1380s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "handle-hello-fd", 1380s # TRUE 1380s # }; 1380s # 1380s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1380s # { 1380s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "test.FDPassing", 1380s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1380s # NULL, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "test-fdpassing", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * test_fdpassing_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # test_fdpassing_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # test_fdpassing_method_marshal_hello_fd ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * TestFDPassing: 1380s # * 1380s # * Abstract interface type for the D-Bus interface test.FDPassing. 1380s # */ 1380s # 1380s # /** 1380s # * TestFDPassingIface: 1380s # * @parent_iface: The parent interface. 1380s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1380s # * 1380s # * Virtual table for the D-Bus interface test.FDPassing. 1380s # */ 1380s # 1380s # typedef TestFDPassingIface TestFDPassingInterface; 1380s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # test_fdpassing_default_init (TestFDPassingIface *iface) 1380s # { 1380s # /* GObject signals for incoming D-Bus method calls: */ 1380s # /** 1380s # * TestFDPassing::handle-hello-fd: 1380s # * @object: A #TestFDPassing. 1380s # * @invocation: A #GDBusMethodInvocation. 1380s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1380s # * @arg_greeting: Argument passed by remote caller. 1380s # * 1380s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1380s # * 1380s # * 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. 1380s # * 1380s # * 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. 1380s # */ 1380s # g_signal_new ("handle-hello-fd", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1380s # g_signal_accumulator_true_handled, 1380s # NULL, 1380s # test_fdpassing_method_marshal_hello_fd, 1380s # G_TYPE_BOOLEAN, 1380s # 3, 1380s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_call_hello_fd: 1380s # * @proxy: A #TestFDPassingProxy. 1380s # * @arg_greeting: Argument to pass with the method invocation. 1380s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1380s # * 1380s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1380s # */ 1380s # void 1380s # test_fdpassing_call_hello_fd ( 1380s # TestFDPassing *proxy, 1380s # const gchar *arg_greeting, 1380s # GUnixFDList *fd_list, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1380s # "HelloFD", 1380s # g_variant_new ("(s)", 1380s # arg_greeting), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # fd_list, 1380s # cancellable, 1380s # callback, 1380s # user_data); 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_call_hello_fd_finish: 1380s # * @proxy: A #TestFDPassingProxy. 1380s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # test_fdpassing_call_hello_fd_finish ( 1380s # TestFDPassing *proxy, 1380s # gchar ** out_response, 1380s # GUnixFDList **out_fd_list, 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(s)", 1380s # out_response); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_call_hello_fd_sync: 1380s # * @proxy: A #TestFDPassingProxy. 1380s # * @arg_greeting: Argument to pass with the method invocation. 1380s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1380s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1380s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL. 1380s # * 1380s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1380s # * 1380s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1380s # * 1380s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1380s # */ 1380s # gboolean 1380s # test_fdpassing_call_hello_fd_sync ( 1380s # TestFDPassing *proxy, 1380s # const gchar *arg_greeting, 1380s # GUnixFDList *fd_list, 1380s # gchar ** out_response, 1380s # GUnixFDList **out_fd_list, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GVariant *_ret; 1380s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1380s # "HelloFD", 1380s # g_variant_new ("(s)", 1380s # arg_greeting), 1380s # G_DBUS_CALL_FLAGS_NONE, 1380s # -1, 1380s # fd_list, 1380s # out_fd_list, 1380s # cancellable, 1380s # error); 1380s # if (_ret == NULL) 1380s # goto _out; 1380s # g_variant_get (_ret, 1380s # "(s)", 1380s # out_response); 1380s # g_variant_unref (_ret); 1380s # _out: 1380s # return _ret != NULL; 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_complete_hello_fd: 1380s # * @object: A #TestFDPassing. 1380s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1380s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1380s # * @response: Parameter to return. 1380s # * 1380s # * 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. 1380s # * 1380s # * This method will free @invocation, you cannot use it afterwards. 1380s # */ 1380s # void 1380s # test_fdpassing_complete_hello_fd ( 1380s # TestFDPassing *object G_GNUC_UNUSED, 1380s # GDBusMethodInvocation *invocation, 1380s # GUnixFDList *fd_list, 1380s # const gchar *response) 1380s # { 1380s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1380s # g_variant_new ("(s)", 1380s # response), 1380s # fd_list); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * TestFDPassingProxy: 1380s # * 1380s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * TestFDPassingProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #TestFDPassingProxy. 1380s # */ 1380s # 1380s # struct _TestFDPassingProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (TestFDPassingProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # test_fdpassing_proxy_finalize (GObject *object) 1380s # { 1380s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1380s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1380s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1380s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # test_fdpassing_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with test_fdpassing_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # TestFDPassing * 1380s # test_fdpassing_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return TEST_FDPASSING (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # TestFDPassing * 1380s # test_fdpassing_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return TEST_FDPASSING (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # test_fdpassing_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # TestFDPassing * 1380s # test_fdpassing_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return TEST_FDPASSING (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # TestFDPassing * 1380s # test_fdpassing_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return TEST_FDPASSING (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * TestFDPassingSkeleton: 1380s # * 1380s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * TestFDPassingSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #TestFDPassingSkeleton. 1380s # */ 1380s # 1380s # struct _TestFDPassingSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _test_fdpassing_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _test_fdpassing_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _test_fdpassing_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1380s # { 1380s # _test_fdpassing_skeleton_handle_method_call, 1380s # _test_fdpassing_skeleton_handle_get_property, 1380s # _test_fdpassing_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return test_fdpassing_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # test_fdpassing_skeleton_finalize (GObject *object) 1380s # { 1380s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * test_fdpassing_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1380s # * 1380s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1380s # */ 1380s # TestFDPassing * 1380s # test_fdpassing_skeleton_new (void) 1380s # { 1380s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 21 __main__.TestCodegen.test_generate_rst 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpc79rcfvc 1380s # /tmp/tmpc79rcfvc/tmp_f637kvt.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc79rcfvc/tmp_f637kvt.xml', '--generate-rst', 'test'] 1380s # Return code: 0 1380s # Output: 1380s # 1380s # Error: 1380s ok 22 __main__.TestCodegen.test_generate_rst_method 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpkgr_rlpq 1380s # /tmp/tmpkgr_rlpq/tmpjew5m79k.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkgr_rlpq/tmpjew5m79k.xml', '--generate-rst', 'test'] 1380s # Return code: 0 1380s # Output: 1380s # 1380s # Error: 1380s ok 23 __main__.TestCodegen.test_generate_rst_property 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpq2crsb2w 1380s # /tmp/tmpq2crsb2w/tmppzp8286n.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq2crsb2w/tmppzp8286n.xml', '--generate-rst', 'test'] 1380s # Return code: 0 1380s # Output: 1380s # 1380s # Error: 1380s ok 24 __main__.TestCodegen.test_generate_rst_signal 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpaasl4hz6 1380s # /tmp/tmpaasl4hz6/tmphiw8ry7e.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaasl4hz6/tmphiw8ry7e.xml', '--generate-rst', 'test'] 1380s # Return code: 0 1380s # Output: 1380s # 1380s # Error: 1380s ok 25 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpfrpa20kt 1380s # /tmp/tmpfrpa20kt/tmp6bx_yj2e.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfrpa20kt/tmp6bx_yj2e.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1380s # GClosure *closure, 1380s # GValue *return_value G_GNUC_UNUSED, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1380s # (void *data1, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv, 1380s # void *data2); 1380s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # 1380s # g_return_if_fail (n_param_values == 19); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # callback (data1, 1380s # g_marshal_value_peek_boolean (param_values + 1), 1380s # g_marshal_value_peek_uchar (param_values + 2), 1380s # g_marshal_value_peek_int (param_values + 3), 1380s # g_marshal_value_peek_uint (param_values + 4), 1380s # g_marshal_value_peek_int (param_values + 5), 1380s # g_marshal_value_peek_uint (param_values + 6), 1380s # g_marshal_value_peek_int64 (param_values + 7), 1380s # g_marshal_value_peek_uint64 (param_values + 8), 1380s # g_marshal_value_peek_double (param_values + 9), 1380s # g_marshal_value_peek_string (param_values + 10), 1380s # g_marshal_value_peek_string (param_values + 11), 1380s # g_marshal_value_peek_string (param_values + 12), 1380s # g_marshal_value_peek_variant (param_values + 13), 1380s # g_marshal_value_peek_string (param_values + 14), 1380s # g_marshal_value_peek_boxed (param_values + 15), 1380s # g_marshal_value_peek_boxed (param_values + 16), 1380s # g_marshal_value_peek_boxed (param_values + 17), 1380s # g_marshal_value_peek_variant (param_values + 18), 1380s # data2); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.SignalingIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectSignalingIface 1380s # * @title: OrgProjectSignalingIface 1380s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SignalWithManyArgs", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "signal-with-many-args" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.SignalingIface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-signaling-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_signaling_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectSignalingIface::signal-with-many-args: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_b: Argument. 1380s # * @arg_an_y: Argument. 1380s # * @arg_an_n: Argument. 1380s # * @arg_an_q: Argument. 1380s # * @arg_an_i: Argument. 1380s # * @arg_an_u: Argument. 1380s # * @arg_an_x: Argument. 1380s # * @arg_an_t: Argument. 1380s # * @arg_an_d: Argument. 1380s # * @arg_an_s: Argument. 1380s # * @arg_an_o: Argument. 1380s # * @arg_an_g: Argument. 1380s # * @arg_an_h: Argument. 1380s # * @arg_an_ay: Argument. 1380s # * @arg_an_as: Argument. 1380s # * @arg_an_ao: Argument. 1380s # * @arg_an_aay: Argument. 1380s # * @arg_an_asv: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1380s # g_signal_new ("signal-with-many-args", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1380s # G_TYPE_NONE, 1380s # 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); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_signal_with_many_args: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_b: Argument to pass with the signal. 1380s # * @arg_an_y: Argument to pass with the signal. 1380s # * @arg_an_n: Argument to pass with the signal. 1380s # * @arg_an_q: Argument to pass with the signal. 1380s # * @arg_an_i: Argument to pass with the signal. 1380s # * @arg_an_u: Argument to pass with the signal. 1380s # * @arg_an_x: Argument to pass with the signal. 1380s # * @arg_an_t: Argument to pass with the signal. 1380s # * @arg_an_d: Argument to pass with the signal. 1380s # * @arg_an_s: Argument to pass with the signal. 1380s # * @arg_an_o: Argument to pass with the signal. 1380s # * @arg_an_g: Argument to pass with the signal. 1380s # * @arg_an_h: Argument to pass with the signal. 1380s # * @arg_an_ay: Argument to pass with the signal. 1380s # * @arg_an_as: Argument to pass with the signal. 1380s # * @arg_an_ao: Argument to pass with the signal. 1380s # * @arg_an_aay: Argument to pass with the signal. 1380s # * @arg_an_asv: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SignalWithManyArgs" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_signal_with_many_args ( 1380s # OrgProjectSignalingIface *object, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxy: 1380s # * 1380s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_signaling_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_signaling_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_signaling_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1380s # { 1380s # _org_project_signaling_iface_skeleton_handle_method_call, 1380s # _org_project_signaling_iface_skeleton_handle_get_property, 1380s # _org_project_signaling_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_signaling_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1380s # OrgProjectSignalingIface *object, 1380s # gboolean arg_an_b, 1380s # guchar arg_an_y, 1380s # gint16 arg_an_n, 1380s # guint16 arg_an_q, 1380s # gint arg_an_i, 1380s # guint arg_an_u, 1380s # gint64 arg_an_x, 1380s # guint64 arg_an_t, 1380s # gdouble arg_an_d, 1380s # const gchar *arg_an_s, 1380s # const gchar *arg_an_o, 1380s # const gchar *arg_an_g, 1380s # GVariant *arg_an_h, 1380s # const gchar *arg_an_ay, 1380s # const gchar *const *arg_an_as, 1380s # const gchar *const *arg_an_ao, 1380s # const gchar *const *arg_an_aay, 1380s # GVariant *arg_an_asv) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1380s # arg_an_b, 1380s # arg_an_y, 1380s # arg_an_n, 1380s # arg_an_q, 1380s # arg_an_i, 1380s # arg_an_u, 1380s # arg_an_x, 1380s # arg_an_t, 1380s # arg_an_d, 1380s # arg_an_s, 1380s # arg_an_o, 1380s # arg_an_g, 1380s # arg_an_h, 1380s # arg_an_ay, 1380s # arg_an_as, 1380s # arg_an_ao, 1380s # arg_an_aay, 1380s # arg_an_asv)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 26 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmph4rzewpd 1380s # /tmp/tmph4rzewpd/tmp5325f2ck.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph4rzewpd/tmp5325f2ck.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_VOID__INT64 ( 1380s # GClosure *closure, 1380s # GValue *return_value G_GNUC_UNUSED, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1380s # (void *data1, 1380s # gint64 arg_an_x, 1380s # void *data2); 1380s # _GDbusCodegenMarshalVoid_Int64Func callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # callback (data1, 1380s # g_marshal_value_peek_int64 (param_values + 1), 1380s # data2); 1380s # } 1380s # 1380s # static void 1380s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1380s # GClosure *closure, 1380s # GValue *return_value G_GNUC_UNUSED, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint G_GNUC_UNUSED, 1380s # void *marshal_data) 1380s # { 1380s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1380s # (void *data1, 1380s # guint64 arg_an_t, 1380s # void *data2); 1380s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1380s # GCClosure *cc = (GCClosure*) closure; 1380s # void *data1, *data2; 1380s # 1380s # g_return_if_fail (n_param_values == 2); 1380s # 1380s # if (G_CCLOSURE_SWAP_DATA (closure)) 1380s # { 1380s # data1 = closure->data; 1380s # data2 = g_value_peek_pointer (param_values + 0); 1380s # } 1380s # else 1380s # { 1380s # data1 = g_value_peek_pointer (param_values + 0); 1380s # data2 = closure->data; 1380s # } 1380s # 1380s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1380s # (marshal_data ? marshal_data : cc->callback); 1380s # 1380s # callback (data1, 1380s # g_marshal_value_peek_uint64 (param_values + 1), 1380s # data2); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.SignalingIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectSignalingIface 1380s # * @title: OrgProjectSignalingIface 1380s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1380s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "NoArgSignal", 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "no-arg-signal" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_b", 1380s # (gchar *) "b", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalB", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-b" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_y", 1380s # (gchar *) "y", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalY", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-y" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_n", 1380s # (gchar *) "n", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalN", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-n" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_q", 1380s # (gchar *) "q", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalQ", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-q" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_i", 1380s # (gchar *) "i", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalI", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-i" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_u", 1380s # (gchar *) "u", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalU", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-u" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_x", 1380s # (gchar *) "x", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalX", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-x" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_t", 1380s # (gchar *) "t", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalT", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-t" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_d", 1380s # (gchar *) "d", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalD", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-d" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_s", 1380s # (gchar *) "s", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalS", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-s" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_o", 1380s # (gchar *) "o", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalO", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-o" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_g", 1380s # (gchar *) "g", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalG", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-g" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_h", 1380s # (gchar *) "h", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalH", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-h" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ay", 1380s # (gchar *) "ay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalAY", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-ay" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_as", 1380s # (gchar *) "as", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalAS", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-as" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_ao", 1380s # (gchar *) "ao", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalAO", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-ao" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_aay", 1380s # (gchar *) "aay", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalAAY", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-aay" 1380s # }; 1380s # 1380s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "an_asv", 1380s # (gchar *) "a{sv}", 1380s # NULL 1380s # }, 1380s # FALSE 1380s # }; 1380s # 1380s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SingleArgSignalASV", 1380s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1380s # NULL 1380s # }, 1380s # "single-arg-signal-asv" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1380s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.SignalingIface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-signaling-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_signaling_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VOID (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__UCHAR (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__INT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__UINT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__INT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__UINT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__DOUBLE (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__STRING (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__STRING (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__STRING (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VARIANT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__STRING (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__BOXED (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__BOXED (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__BOXED (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VARIANT (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1380s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1380s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1380s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1380s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1380s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1380s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1380s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1380s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1380s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1380s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1380s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1380s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1380s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1380s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1380s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1380s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1380s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1380s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectSignalingIface::no-arg-signal: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1380s # g_signal_new ("no-arg-signal", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1380s # G_TYPE_NONE, 1380s # 0); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-b: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_b: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1380s # g_signal_new ("single-arg-signal-b", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_BOOLEAN); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-y: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_y: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1380s # g_signal_new ("single-arg-signal-y", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_UCHAR); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-n: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_n: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1380s # g_signal_new ("single-arg-signal-n", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_INT); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-q: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_q: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1380s # g_signal_new ("single-arg-signal-q", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_UINT); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-i: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_i: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1380s # g_signal_new ("single-arg-signal-i", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_INT); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-u: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_u: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1380s # g_signal_new ("single-arg-signal-u", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_UINT); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-x: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_x: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1380s # g_signal_new ("single-arg-signal-x", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_INT64); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-t: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_t: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1380s # g_signal_new ("single-arg-signal-t", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_UINT64); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-d: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_d: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1380s # g_signal_new ("single-arg-signal-d", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_DOUBLE); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-s: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_s: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1380s # g_signal_new ("single-arg-signal-s", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRING); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-o: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_o: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1380s # g_signal_new ("single-arg-signal-o", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRING); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-g: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_g: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1380s # g_signal_new ("single-arg-signal-g", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRING); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-h: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_h: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1380s # g_signal_new ("single-arg-signal-h", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_VARIANT); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-ay: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_ay: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1380s # g_signal_new ("single-arg-signal-ay", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRING); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-as: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_as: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1380s # g_signal_new ("single-arg-signal-as", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRV); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-ao: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_ao: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1380s # g_signal_new ("single-arg-signal-ao", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRV); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-aay: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_aay: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1380s # g_signal_new ("single-arg-signal-aay", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_STRV); 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface::single-arg-signal-asv: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_asv: Argument. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1380s # g_signal_new ("single-arg-signal-asv", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1380s # G_TYPE_NONE, 1380s # 1, G_TYPE_VARIANT); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_no_arg_signal: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * 1380s # * Emits the "NoArgSignal" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_no_arg_signal ( 1380s # OrgProjectSignalingIface *object) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_b: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_b: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalB" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_b ( 1380s # OrgProjectSignalingIface *object, 1380s # gboolean arg_an_b) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_y: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_y: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalY" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_y ( 1380s # OrgProjectSignalingIface *object, 1380s # guchar arg_an_y) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_n: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_n: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalN" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_n ( 1380s # OrgProjectSignalingIface *object, 1380s # gint16 arg_an_n) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_q: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_q: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalQ" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_q ( 1380s # OrgProjectSignalingIface *object, 1380s # guint16 arg_an_q) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_i: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_i: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalI" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_i ( 1380s # OrgProjectSignalingIface *object, 1380s # gint arg_an_i) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_u: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_u: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalU" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_u ( 1380s # OrgProjectSignalingIface *object, 1380s # guint arg_an_u) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_x: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_x: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalX" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_x ( 1380s # OrgProjectSignalingIface *object, 1380s # gint64 arg_an_x) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_t: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_t: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalT" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_t ( 1380s # OrgProjectSignalingIface *object, 1380s # guint64 arg_an_t) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_d: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_d: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalD" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_d ( 1380s # OrgProjectSignalingIface *object, 1380s # gdouble arg_an_d) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_s: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_s: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalS" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_s ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_s) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_o: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_o: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalO" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_o ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_o) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_g: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_g: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalG" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_g ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_g) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_h: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_h: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalH" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_h ( 1380s # OrgProjectSignalingIface *object, 1380s # GVariant *arg_an_h) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_ay: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalAY" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_ay) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_as: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_as: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalAS" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_as ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_as) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_ao: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalAO" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_ao) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_aay: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_aay) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * @arg_an_asv: Argument to pass with the signal. 1380s # * 1380s # * Emits the "SingleArgSignalASV" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1380s # OrgProjectSignalingIface *object, 1380s # GVariant *arg_an_asv) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxy: 1380s # * 1380s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_signaling_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_signaling_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_signaling_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1380s # { 1380s # _org_project_signaling_iface_skeleton_handle_method_call, 1380s # _org_project_signaling_iface_skeleton_handle_get_property, 1380s # _org_project_signaling_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_signaling_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1380s # OrgProjectSignalingIface *object) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1380s # OrgProjectSignalingIface *object, 1380s # gboolean arg_an_b) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1380s # arg_an_b)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1380s # OrgProjectSignalingIface *object, 1380s # guchar arg_an_y) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1380s # arg_an_y)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1380s # OrgProjectSignalingIface *object, 1380s # gint16 arg_an_n) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1380s # arg_an_n)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1380s # OrgProjectSignalingIface *object, 1380s # guint16 arg_an_q) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1380s # arg_an_q)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1380s # OrgProjectSignalingIface *object, 1380s # gint arg_an_i) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1380s # arg_an_i)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1380s # OrgProjectSignalingIface *object, 1380s # guint arg_an_u) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1380s # arg_an_u)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1380s # OrgProjectSignalingIface *object, 1380s # gint64 arg_an_x) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1380s # arg_an_x)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1380s # OrgProjectSignalingIface *object, 1380s # guint64 arg_an_t) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1380s # arg_an_t)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1380s # OrgProjectSignalingIface *object, 1380s # gdouble arg_an_d) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1380s # arg_an_d)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_s) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1380s # arg_an_s)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_o) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1380s # arg_an_o)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_g) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1380s # arg_an_g)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1380s # OrgProjectSignalingIface *object, 1380s # GVariant *arg_an_h) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1380s # arg_an_h)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *arg_an_ay) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1380s # arg_an_ay)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_as) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1380s # arg_an_as)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_ao) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1380s # arg_an_ao)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1380s # OrgProjectSignalingIface *object, 1380s # const gchar *const *arg_an_aay) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1380s # arg_an_aay)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1380s # OrgProjectSignalingIface *object, 1380s # GVariant *arg_an_asv) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1380s # arg_an_asv)); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1380s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1380s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1380s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1380s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1380s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1380s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1380s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1380s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1380s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1380s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1380s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1380s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1380s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1380s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1380s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1380s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1380s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1380s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 27 __main__.TestCodegen.test_generate_signal_id_simple_signal 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpnz3eylvo 1380s # /tmp/tmpnz3eylvo/tmpf7c9l1tl.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnz3eylvo/tmpf7c9l1tl.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.UsefulInterface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectUsefulInterface 1380s # * @title: OrgProjectUsefulInterface 1380s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SimpleSignal", 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "simple-signal" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.UsefulInterface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-useful-interface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_useful_interface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_useful_interface_signal_marshal_simple_signal ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VOID (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1380s # */ 1380s # 1380s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectUsefulInterface::simple-signal: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1380s # g_signal_new ("simple-signal", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1380s # NULL, 1380s # NULL, 1380s # org_project_useful_interface_signal_marshal_simple_signal, 1380s # G_TYPE_NONE, 1380s # 0); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_emit_simple_signal: 1380s # * @object: A #OrgProjectUsefulInterface. 1380s # * 1380s # * Emits the "SimpleSignal" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_useful_interface_emit_simple_signal ( 1380s # OrgProjectUsefulInterface *object) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxy: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1380s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1380s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_useful_interface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # g_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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeleton: 1380s # * 1380s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectUsefulInterfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_useful_interface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_useful_interface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_useful_interface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1380s # { 1380s # _org_project_useful_interface_skeleton_handle_method_call, 1380s # _org_project_useful_interface_skeleton_handle_get_property, 1380s # _org_project_useful_interface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_useful_interface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_useful_interface_on_signal_simple_signal ( 1380s # OrgProjectUsefulInterface *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_useful_interface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1380s # { 1380s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1380s # } 1380s # 1380s # /** 1380s # * org_project_useful_interface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectUsefulInterface * 1380s # org_project_useful_interface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.OtherIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectOtherIface 1380s # * @title: OrgProjectOtherIface 1380s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.OtherIface ---- */ 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SimpleSignal", 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "simple-signal" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.OtherIface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-other-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_other_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_other_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_other_iface_signal_marshal_simple_signal ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VOID (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectOtherIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.OtherIface. 1380s # */ 1380s # 1380s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectOtherIface::simple-signal: 1380s # * @object: A #OrgProjectOtherIface. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1380s # g_signal_new ("simple-signal", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1380s # NULL, 1380s # NULL, 1380s # org_project_other_iface_signal_marshal_simple_signal, 1380s # G_TYPE_NONE, 1380s # 0); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_emit_simple_signal: 1380s # * @object: A #OrgProjectOtherIface. 1380s # * 1380s # * Emits the "SimpleSignal" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_other_iface_emit_simple_signal ( 1380s # OrgProjectOtherIface *object) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherIfaceProxy: 1380s # * 1380s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherIface * 1380s # org_project_other_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherIface * 1380s # org_project_other_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherIface * 1380s # org_project_other_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherIface * 1380s # org_project_other_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_other_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_other_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_other_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1380s # { 1380s # _org_project_other_iface_skeleton_handle_method_call, 1380s # _org_project_other_iface_skeleton_handle_get_property, 1380s # _org_project_other_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_other_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_other_iface_on_signal_simple_signal ( 1380s # OrgProjectOtherIface *object) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1380s # { 1380s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectOtherIface * 1380s # org_project_other_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1380s ok 28 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1380s # gdbus-codegen: /usr/bin/gdbus-codegen 1380s # tmpdir: /tmp/tmpvn3ka1wx 1380s # /tmp/tmpvn3ka1wx/tmphblwzyf9.xml: 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # 1380s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvn3ka1wx/tmphblwzyf9.xml', '--output', '-', '--body'] 1380s # Return code: 0 1380s # Output: 1380s # /* 1380s # * This file is generated by gdbus-codegen, do not modify it. 1380s # * 1380s # * The license of this code is the same as for the D-Bus interface description 1380s # * it was derived from. Note that it links to GLib, so must comply with the 1380s # * LGPL linking clauses. 1380s # */ 1380s # 1380s # #ifdef HAVE_CONFIG_H 1380s # # include "config.h" 1380s # #endif 1380s # 1380s # #include 1380s # #ifdef G_OS_UNIX 1380s # # include 1380s # #endif 1380s # 1380s # #ifdef G_ENABLE_DEBUG 1380s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1380s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1380s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1380s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1380s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1380s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1380s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1380s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1380s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1380s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1380s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1380s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1380s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1380s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1380s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1380s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1380s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1380s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1380s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1380s # #else /* !G_ENABLE_DEBUG */ 1380s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1380s # * Do not access GValues directly in your code. Instead, use the 1380s # * g_value_get_*() functions 1380s # */ 1380s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1380s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1380s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1380s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1380s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1380s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1380s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1380s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1380s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1380s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1380s # #endif /* !G_ENABLE_DEBUG */ 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusArgInfo parent_struct; 1380s # gboolean use_gvariant; 1380s # } _ExtendedGDBusArgInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusMethodInfo parent_struct; 1380s # const gchar *signal_name; 1380s # gboolean pass_fdlist; 1380s # } _ExtendedGDBusMethodInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusSignalInfo parent_struct; 1380s # const gchar *signal_name; 1380s # } _ExtendedGDBusSignalInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusPropertyInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # guint use_gvariant : 1; 1380s # guint emits_changed_signal : 1; 1380s # } _ExtendedGDBusPropertyInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # GDBusInterfaceInfo parent_struct; 1380s # const gchar *hyphen_name; 1380s # } _ExtendedGDBusInterfaceInfo; 1380s # 1380s # typedef struct 1380s # { 1380s # const _ExtendedGDBusPropertyInfo *info; 1380s # guint prop_id; 1380s # GValue orig_value; /* the value before the change */ 1380s # } ChangedProperty; 1380s # 1380s # static void 1380s # _changed_property_free (ChangedProperty *data) 1380s # { 1380s # g_value_unset (&data->orig_value); 1380s # g_free (data); 1380s # } 1380s # 1380s # static gboolean 1380s # _g_strv_equal0 (gchar **a, gchar **b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # guint n; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # if (g_strv_length (a) != g_strv_length (b)) 1380s # goto out; 1380s # for (n = 0; a[n] != NULL; n++) 1380s # if (g_strcmp0 (a[n], b[n]) != 0) 1380s # goto out; 1380s # ret = TRUE; 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _g_variant_equal0 (GVariant *a, GVariant *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # if (a == NULL && b == NULL) 1380s # { 1380s # ret = TRUE; 1380s # goto out; 1380s # } 1380s # if (a == NULL || b == NULL) 1380s # goto out; 1380s # ret = g_variant_equal (a, b); 1380s # out: 1380s # return ret; 1380s # } 1380s # 1380s # G_GNUC_UNUSED static gboolean 1380s # _g_value_equal (const GValue *a, const GValue *b) 1380s # { 1380s # gboolean ret = FALSE; 1380s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1380s # switch (G_VALUE_TYPE (a)) 1380s # { 1380s # case G_TYPE_BOOLEAN: 1380s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1380s # break; 1380s # case G_TYPE_UCHAR: 1380s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1380s # break; 1380s # case G_TYPE_INT: 1380s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1380s # break; 1380s # case G_TYPE_UINT: 1380s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1380s # break; 1380s # case G_TYPE_INT64: 1380s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1380s # break; 1380s # case G_TYPE_UINT64: 1380s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1380s # break; 1380s # case G_TYPE_DOUBLE: 1380s # { 1380s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1380s # gdouble da = g_value_get_double (a); 1380s # gdouble db = g_value_get_double (b); 1380s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1380s # } 1380s # break; 1380s # case G_TYPE_STRING: 1380s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1380s # break; 1380s # case G_TYPE_VARIANT: 1380s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1380s # break; 1380s # default: 1380s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1380s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1380s # else 1380s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1380s # break; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.SignalingIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectSignalingIface 1380s # * @title: OrgProjectSignalingIface 1380s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SimpleSignal", 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "simple-signal" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.SignalingIface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-signaling-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_signaling_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_signaling_iface_signal_marshal_simple_signal ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VOID (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectSignalingIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1380s # */ 1380s # 1380s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectSignalingIface::simple-signal: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1380s # g_signal_new ("simple-signal", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1380s # NULL, 1380s # NULL, 1380s # org_project_signaling_iface_signal_marshal_simple_signal, 1380s # G_TYPE_NONE, 1380s # 0); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_emit_simple_signal: 1380s # * @object: A #OrgProjectSignalingIface. 1380s # * 1380s # * Emits the "SimpleSignal" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_emit_simple_signal ( 1380s # OrgProjectSignalingIface *object) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxy: 1380s # * 1380s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_signaling_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectSignalingIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_signaling_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_signaling_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_signaling_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1380s # { 1380s # _org_project_signaling_iface_skeleton_handle_method_call, 1380s # _org_project_signaling_iface_skeleton_handle_get_property, 1380s # _org_project_signaling_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_signaling_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_signaling_iface_on_signal_simple_signal ( 1380s # OrgProjectSignalingIface *object) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1380s # { 1380s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1380s # } 1380s # 1380s # /** 1380s # * org_project_signaling_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectSignalingIface * 1380s # org_project_signaling_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ 1380s # * Code for interface org.project.OtherSignalingIface 1380s # * ------------------------------------------------------------------------ 1380s # */ 1380s # 1380s # /** 1380s # * SECTION:OrgProjectOtherSignalingIface 1380s # * @title: OrgProjectOtherSignalingIface 1380s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1380s # * 1380s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1380s # */ 1380s # 1380s # enum 1380s # { 1380s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1380s # }; 1380s # 1380s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1380s # 1380s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1380s # 1380s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "SimpleSignal", 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "simple-signal" 1380s # }; 1380s # 1380s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1380s # { 1380s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1380s # NULL 1380s # }; 1380s # 1380s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1380s # { 1380s # { 1380s # -1, 1380s # (gchar *) "org.project.OtherSignalingIface", 1380s # NULL, 1380s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1380s # NULL, 1380s # NULL 1380s # }, 1380s # "org-project-other-signaling-iface", 1380s # }; 1380s # 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_interface_info: 1380s # * 1380s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1380s # * 1380s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1380s # */ 1380s # GDBusInterfaceInfo * 1380s # org_project_other_signaling_iface_interface_info (void) 1380s # { 1380s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_override_properties: 1380s # * @klass: The class structure for a #GObject derived class. 1380s # * @property_id_begin: The property id to assign to the first overridden property. 1380s # * 1380s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1380s # * The properties are overridden in the order they are defined. 1380s # * 1380s # * Returns: The last property id. 1380s # */ 1380s # guint 1380s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1380s # { 1380s # return property_id_begin - 1; 1380s # } 1380s # 1380s # 1380s # inline static void 1380s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1380s # GClosure *closure, 1380s # GValue *return_value, 1380s # unsigned int n_param_values, 1380s # const GValue *param_values, 1380s # void *invocation_hint, 1380s # void *marshal_data) 1380s # { 1380s # g_cclosure_marshal_VOID__VOID (closure, 1380s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1380s # } 1380s # 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIface: 1380s # * 1380s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIfaceIface: 1380s # * @parent_iface: The parent interface. 1380s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1380s # * 1380s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1380s # */ 1380s # 1380s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1380s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1380s # { 1380s # /* GObject signals for received D-Bus signals: */ 1380s # /** 1380s # * OrgProjectOtherSignalingIface::simple-signal: 1380s # * @object: A #OrgProjectOtherSignalingIface. 1380s # * 1380s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1380s # * 1380s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1380s # */ 1380s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1380s # g_signal_new ("simple-signal", 1380s # G_TYPE_FROM_INTERFACE (iface), 1380s # G_SIGNAL_RUN_LAST, 1380s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1380s # NULL, 1380s # NULL, 1380s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1380s # G_TYPE_NONE, 1380s # 0); 1380s # 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_emit_simple_signal: 1380s # * @object: A #OrgProjectOtherSignalingIface. 1380s # * 1380s # * Emits the "SimpleSignal" D-Bus signal. 1380s # */ 1380s # void 1380s # org_project_other_signaling_iface_emit_simple_signal ( 1380s # OrgProjectOtherSignalingIface *object) 1380s # { 1380s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1380s # } 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIfaceProxy: 1380s # * 1380s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIfaceProxyClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1380s # { 1380s # GData *qdata; 1380s # }; 1380s # 1380s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1380s # g_datalist_clear (&proxy->priv->qdata); 1380s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1380s # guint prop_id G_GNUC_UNUSED, 1380s # const GValue *value G_GNUC_UNUSED, 1380s # GParamSpec *pspec G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1380s # const gchar *sender_name G_GNUC_UNUSED, 1380s # const gchar *signal_name, 1380s # GVariant *parameters) 1380s # { 1380s # _ExtendedGDBusSignalInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # gsize n; 1380s # guint signal_id; 1380s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1380s # if (info == NULL) 1380s # return; 1380s # num_params = g_variant_n_children (parameters); 1380s # paramv = g_new0 (GValue, num_params + 1); 1380s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[0], proxy); 1380s # g_variant_iter_init (&iter, parameters); 1380s # n = 1; 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1380s # g_signal_emitv (paramv, signal_id, 0, NULL); 1380s # for (n = 0; n < num_params + 1; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1380s # GVariant *changed_properties, 1380s # const gchar *const *invalidated_properties) 1380s # { 1380s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1380s # guint n; 1380s # const gchar *key; 1380s # GVariantIter *iter; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # g_variant_get (changed_properties, "a{sv}", &iter); 1380s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1380s # g_datalist_remove_data (&proxy->priv->qdata, key); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # g_variant_iter_free (iter); 1380s # for (n = 0; invalidated_properties[n] != NULL; n++) 1380s # { 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1380s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1380s # if (info != NULL) 1380s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1380s # } 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1380s # #else 1380s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1380s # #endif 1380s # 1380s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusProxyClass *proxy_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1380s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1380s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1380s # 1380s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1380s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1380s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_signaling_iface_proxy_new ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherSignalingIface * 1380s # org_project_other_signaling_iface_proxy_new_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new_sync: 1380s # * @connection: A #GDBusConnection. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherSignalingIface * 1380s # org_project_other_signaling_iface_proxy_new_sync ( 1380s # GDBusConnection *connection, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new_for_bus: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1380s # * @user_data: User data to pass to @callback. 1380s # * 1380s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1380s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1380s # * 1380s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1380s # */ 1380s # void 1380s # org_project_other_signaling_iface_proxy_new_for_bus ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GAsyncReadyCallback callback, 1380s # gpointer user_data) 1380s # { 1380s # 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); 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1380s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherSignalingIface * 1380s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1380s # GAsyncResult *res, 1380s # GError **error) 1380s # { 1380s # GObject *ret; 1380s # GObject *source_object; 1380s # source_object = g_async_result_get_source_object (res); 1380s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1380s # g_object_unref (source_object); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1380s # * @bus_type: A #GBusType. 1380s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1380s # * @name: A bus name (well-known or unique). 1380s # * @object_path: An object path. 1380s # * @cancellable: (nullable): A #GCancellable or %NULL. 1380s # * @error: Return location for error or %NULL 1380s # * 1380s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1380s # * 1380s # * The calling thread is blocked until a reply is received. 1380s # * 1380s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1380s # */ 1380s # OrgProjectOtherSignalingIface * 1380s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1380s # GBusType bus_type, 1380s # GDBusProxyFlags flags, 1380s # const gchar *name, 1380s # const gchar *object_path, 1380s # GCancellable *cancellable, 1380s # GError **error) 1380s # { 1380s # GInitable *ret; 1380s # 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); 1380s # if (ret != NULL) 1380s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1380s # else 1380s # return NULL; 1380s # } 1380s # 1380s # 1380s # /* ------------------------------------------------------------------------ */ 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIfaceSkeleton: 1380s # * 1380s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1380s # */ 1380s # 1380s # /** 1380s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1380s # * @parent_class: The parent class. 1380s # * 1380s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1380s # */ 1380s # 1380s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1380s # { 1380s # GValue *properties; 1380s # GList *changed_properties; 1380s # GSource *changed_properties_idle_source; 1380s # GMainContext *context; 1380s # GMutex lock; 1380s # }; 1380s # 1380s # static void 1380s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name, 1380s # const gchar *method_name, 1380s # GVariant *parameters, 1380s # GDBusMethodInvocation *invocation, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1380s # _ExtendedGDBusMethodInfo *info; 1380s # GVariantIter iter; 1380s # GVariant *child; 1380s # GValue *paramv; 1380s # gsize num_params; 1380s # guint num_extra; 1380s # gsize n; 1380s # guint signal_id; 1380s # GValue return_value = G_VALUE_INIT; 1380s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1380s # g_assert (info != NULL); 1380s # num_params = g_variant_n_children (parameters); 1380s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1380s # n = 0; 1380s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1380s # g_value_set_object (¶mv[n++], skeleton); 1380s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1380s # g_value_set_object (¶mv[n++], invocation); 1380s # if (info->pass_fdlist) 1380s # { 1380s # #ifdef G_OS_UNIX 1380s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1380s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1380s # #else 1380s # g_assert_not_reached (); 1380s # #endif 1380s # } 1380s # g_variant_iter_init (&iter, parameters); 1380s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1380s # { 1380s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1380s # if (arg_info->use_gvariant) 1380s # { 1380s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1380s # g_value_set_variant (¶mv[n], child); 1380s # n++; 1380s # } 1380s # else 1380s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1380s # g_variant_unref (child); 1380s # } 1380s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1380s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1380s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1380s # if (!g_value_get_boolean (&return_value)) 1380s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1380s # g_value_unset (&return_value); 1380s # for (n = 0; n < num_params + num_extra; n++) 1380s # g_value_unset (¶mv[n]); 1380s # g_free (paramv); 1380s # } 1380s # 1380s # static GVariant * 1380s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # GVariant *ret; 1380s # ret = NULL; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # g_value_init (&value, pspec->value_type); 1380s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1380s # g_value_unset (&value); 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static gboolean 1380s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1380s # GDBusConnection *connection G_GNUC_UNUSED, 1380s # const gchar *sender G_GNUC_UNUSED, 1380s # const gchar *object_path G_GNUC_UNUSED, 1380s # const gchar *interface_name G_GNUC_UNUSED, 1380s # const gchar *property_name, 1380s # GVariant *variant, 1380s # GError **error, 1380s # gpointer user_data) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1380s # GValue value = G_VALUE_INIT; 1380s # GParamSpec *pspec; 1380s # _ExtendedGDBusPropertyInfo *info; 1380s # gboolean ret; 1380s # ret = FALSE; 1380s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1380s # g_assert (info != NULL); 1380s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1380s # if (pspec == NULL) 1380s # { 1380s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1380s # } 1380s # else 1380s # { 1380s # if (info->use_gvariant) 1380s # g_value_set_variant (&value, variant); 1380s # else 1380s # g_dbus_gvariant_to_gvalue (variant, &value); 1380s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1380s # g_value_unset (&value); 1380s # ret = TRUE; 1380s # } 1380s # return ret; 1380s # } 1380s # 1380s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1380s # { 1380s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1380s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1380s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1380s # {NULL} 1380s # }; 1380s # 1380s # static GDBusInterfaceInfo * 1380s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return org_project_other_signaling_iface_interface_info (); 1380s # } 1380s # 1380s # static GDBusInterfaceVTable * 1380s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1380s # { 1380s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1380s # } 1380s # 1380s # static GVariant * 1380s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1380s # 1380s # GVariantBuilder builder; 1380s # guint n; 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1380s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #else 1380s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1380s # #endif 1380s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1380s # goto out; 1380s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1380s # { 1380s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1380s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1380s # { 1380s # GVariant *value; 1380s # 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); 1380s # if (value != NULL) 1380s # { 1380s # g_variant_take_ref (value); 1380s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1380s # g_variant_unref (value); 1380s # } 1380s # } 1380s # } 1380s # out: 1380s # return g_variant_builder_end (&builder); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1380s # { 1380s # } 1380s # 1380s # static void 1380s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1380s # OrgProjectOtherSignalingIface *object) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1380s # 1380s # GList *connections, *l; 1380s # GVariant *signal_variant; 1380s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1380s # 1380s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1380s # for (l = connections; l != NULL; l = l->next) 1380s # { 1380s # GDBusConnection *connection = l->data; 1380s # g_dbus_connection_emit_signal (connection, 1380s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1380s # signal_variant, NULL); 1380s # } 1380s # g_variant_unref (signal_variant); 1380s # g_list_free_full (connections, g_object_unref); 1380s # } 1380s # 1380s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #else 1380s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1380s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1380s # 1380s # #endif 1380s # static void 1380s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1380s # { 1380s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1380s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # /* coverity[missing_lock : SUPPRESS] */ 1380s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1380s # #else 1380s # if (skeleton->priv->changed_properties_idle_source != NULL) 1380s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1380s # skeleton->priv->changed_properties_idle_source = NULL; 1380s # #endif 1380s # g_main_context_unref (skeleton->priv->context); 1380s # g_mutex_clear (&skeleton->priv->lock); 1380s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1380s # { 1380s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1380s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1380s # #else 1380s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1380s # #endif 1380s # 1380s # g_mutex_init (&skeleton->priv->lock); 1380s # skeleton->priv->context = g_main_context_ref_thread_default (); 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1380s # { 1380s # GObjectClass *gobject_class; 1380s # GDBusInterfaceSkeletonClass *skeleton_class; 1380s # 1380s # gobject_class = G_OBJECT_CLASS (klass); 1380s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1380s # 1380s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1380s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1380s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1380s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1380s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1380s # 1380s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1380s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1380s # #endif 1380s # } 1380s # 1380s # static void 1380s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1380s # { 1380s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1380s # } 1380s # 1380s # /** 1380s # * org_project_other_signaling_iface_skeleton_new: 1380s # * 1380s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1380s # * 1380s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1380s # */ 1380s # OrgProjectOtherSignalingIface * 1380s # org_project_other_signaling_iface_skeleton_new (void) 1380s # { 1380s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1380s # } 1380s # Error: 1381s ok 29 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmprsufrmxg 1381s # /tmp/tmprsufrmxg/tmpqlv09v1v.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpqlv09v1v.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_b", 1381s # (gchar *) "b", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalB", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-b" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-b: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_b: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1381s # g_signal_new ("single-arg-signal-b", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_BOOLEAN); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_b: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_b: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalB" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_b ( 1381s # OrgProjectSignalingIface *object, 1381s # gboolean arg_arg_b) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1381s # OrgProjectSignalingIface *object, 1381s # gboolean arg_arg_b) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1381s # arg_arg_b)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp8uavz9p2.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp8uavz9p2.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_y", 1381s # (gchar *) "y", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalY", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-y" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__UCHAR (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-y: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_y: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1381s # g_signal_new ("single-arg-signal-y", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_UCHAR); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_y: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_y: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalY" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_y ( 1381s # OrgProjectSignalingIface *object, 1381s # guchar arg_arg_y) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1381s # OrgProjectSignalingIface *object, 1381s # guchar arg_arg_y) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1381s # arg_arg_y)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp785ad0tz.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp785ad0tz.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_n", 1381s # (gchar *) "n", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalN", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-n" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__INT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-n: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_n: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1381s # g_signal_new ("single-arg-signal-n", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_INT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_n: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_n: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalN" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_n ( 1381s # OrgProjectSignalingIface *object, 1381s # gint16 arg_arg_n) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1381s # OrgProjectSignalingIface *object, 1381s # gint16 arg_arg_n) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1381s # arg_arg_n)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp7ui4rxz8.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp7ui4rxz8.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_q", 1381s # (gchar *) "q", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalQ", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-q" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__UINT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-q: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_q: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1381s # g_signal_new ("single-arg-signal-q", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_UINT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_q: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_q: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalQ" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_q ( 1381s # OrgProjectSignalingIface *object, 1381s # guint16 arg_arg_q) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1381s # OrgProjectSignalingIface *object, 1381s # guint16 arg_arg_q) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1381s # arg_arg_q)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp2cklgplt.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp2cklgplt.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_i", 1381s # (gchar *) "i", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalI", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-i" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__INT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-i: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_i: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1381s # g_signal_new ("single-arg-signal-i", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_INT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_i: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_i: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalI" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_i ( 1381s # OrgProjectSignalingIface *object, 1381s # gint arg_arg_i) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1381s # OrgProjectSignalingIface *object, 1381s # gint arg_arg_i) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1381s # arg_arg_i)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpykx6qx_4.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpykx6qx_4.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_u", 1381s # (gchar *) "u", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalU", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-u" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__UINT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-u: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_u: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1381s # g_signal_new ("single-arg-signal-u", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_UINT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_u: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_u: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalU" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_u ( 1381s # OrgProjectSignalingIface *object, 1381s # guint arg_arg_u) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1381s # OrgProjectSignalingIface *object, 1381s # guint arg_arg_u) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1381s # arg_arg_u)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpo1ygv02f.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpo1ygv02f.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static void 1381s # _g_dbus_codegen_marshal_VOID__INT64 ( 1381s # GClosure *closure, 1381s # GValue *return_value G_GNUC_UNUSED, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint G_GNUC_UNUSED, 1381s # void *marshal_data) 1381s # { 1381s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1381s # (void *data1, 1381s # gint64 arg_arg_x, 1381s # void *data2); 1381s # _GDbusCodegenMarshalVoid_Int64Func callback; 1381s # GCClosure *cc = (GCClosure*) closure; 1381s # void *data1, *data2; 1381s # 1381s # g_return_if_fail (n_param_values == 2); 1381s # 1381s # if (G_CCLOSURE_SWAP_DATA (closure)) 1381s # { 1381s # data1 = closure->data; 1381s # data2 = g_value_peek_pointer (param_values + 0); 1381s # } 1381s # else 1381s # { 1381s # data1 = g_value_peek_pointer (param_values + 0); 1381s # data2 = closure->data; 1381s # } 1381s # 1381s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1381s # (marshal_data ? marshal_data : cc->callback); 1381s # 1381s # callback (data1, 1381s # g_marshal_value_peek_int64 (param_values + 1), 1381s # data2); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_x", 1381s # (gchar *) "x", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalX", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-x" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-x: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_x: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1381s # g_signal_new ("single-arg-signal-x", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_INT64); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_x: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_x: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalX" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_x ( 1381s # OrgProjectSignalingIface *object, 1381s # gint64 arg_arg_x) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1381s # OrgProjectSignalingIface *object, 1381s # gint64 arg_arg_x) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1381s # arg_arg_x)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpoiv6cbgx.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpoiv6cbgx.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static void 1381s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1381s # GClosure *closure, 1381s # GValue *return_value G_GNUC_UNUSED, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint G_GNUC_UNUSED, 1381s # void *marshal_data) 1381s # { 1381s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1381s # (void *data1, 1381s # guint64 arg_arg_t, 1381s # void *data2); 1381s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1381s # GCClosure *cc = (GCClosure*) closure; 1381s # void *data1, *data2; 1381s # 1381s # g_return_if_fail (n_param_values == 2); 1381s # 1381s # if (G_CCLOSURE_SWAP_DATA (closure)) 1381s # { 1381s # data1 = closure->data; 1381s # data2 = g_value_peek_pointer (param_values + 0); 1381s # } 1381s # else 1381s # { 1381s # data1 = g_value_peek_pointer (param_values + 0); 1381s # data2 = closure->data; 1381s # } 1381s # 1381s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1381s # (marshal_data ? marshal_data : cc->callback); 1381s # 1381s # callback (data1, 1381s # g_marshal_value_peek_uint64 (param_values + 1), 1381s # data2); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_t", 1381s # (gchar *) "t", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalT", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-t" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-t: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_t: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1381s # g_signal_new ("single-arg-signal-t", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_UINT64); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_t: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_t: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalT" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_t ( 1381s # OrgProjectSignalingIface *object, 1381s # guint64 arg_arg_t) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1381s # OrgProjectSignalingIface *object, 1381s # guint64 arg_arg_t) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1381s # arg_arg_t)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp2n5qosen.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp2n5qosen.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_d", 1381s # (gchar *) "d", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalD", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-d" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__DOUBLE (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-d: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_d: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1381s # g_signal_new ("single-arg-signal-d", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_DOUBLE); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_d: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_d: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalD" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_d ( 1381s # OrgProjectSignalingIface *object, 1381s # gdouble arg_arg_d) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1381s # OrgProjectSignalingIface *object, 1381s # gdouble arg_arg_d) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1381s # arg_arg_d)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpgt414e5_.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpgt414e5_.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_s", 1381s # (gchar *) "s", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalS", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-s" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__STRING (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-s: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_s: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1381s # g_signal_new ("single-arg-signal-s", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRING); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_s: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_s: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalS" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_s ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_s) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_s) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1381s # arg_arg_s)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmphbyhjylm.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmphbyhjylm.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_o", 1381s # (gchar *) "o", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalO", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-o" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__STRING (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-o: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_o: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1381s # g_signal_new ("single-arg-signal-o", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRING); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_o: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_o: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalO" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_o ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_o) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_o) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1381s # arg_arg_o)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpd2bvr9oc.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpd2bvr9oc.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_g", 1381s # (gchar *) "g", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalG", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-g" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__STRING (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-g: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_g: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1381s # g_signal_new ("single-arg-signal-g", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRING); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_g: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_g: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalG" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_g ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_g) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_g) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1381s # arg_arg_g)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpvno4k0f4.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpvno4k0f4.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_h", 1381s # (gchar *) "h", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalH", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-h" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VARIANT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-h: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_h: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1381s # g_signal_new ("single-arg-signal-h", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_VARIANT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_h: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_h: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalH" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_h ( 1381s # OrgProjectSignalingIface *object, 1381s # GVariant *arg_arg_h) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1381s # OrgProjectSignalingIface *object, 1381s # GVariant *arg_arg_h) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1381s # arg_arg_h)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpfgpa364w.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpfgpa364w.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_ay", 1381s # (gchar *) "ay", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalAy", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-ay" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__STRING (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-ay: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_ay: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1381s # g_signal_new ("single-arg-signal-ay", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRING); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_ay: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalAy" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_ay) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *arg_arg_ay) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1381s # arg_arg_ay)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpi7n3zvax.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpi7n3zvax.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_as", 1381s # (gchar *) "as", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalAs", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-as" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__BOXED (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-as: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_as: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1381s # g_signal_new ("single-arg-signal-as", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRV); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_as: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_as: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalAs" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_as ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_as) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_as) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1381s # arg_arg_as)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmpk21n7cen.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmpk21n7cen.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_ao", 1381s # (gchar *) "ao", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalAo", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-ao" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__BOXED (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-ao: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_ao: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1381s # g_signal_new ("single-arg-signal-ao", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRV); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_ao: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalAo" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_ao) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_ao) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1381s # arg_arg_ao)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmp6li0apnf.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmp6li0apnf.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_aay", 1381s # (gchar *) "aay", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalAay", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-aay" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__BOXED (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-aay: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_aay: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1381s # g_signal_new ("single-arg-signal-aay", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_STRV); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_aay: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalAay" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_aay) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1381s # OrgProjectSignalingIface *object, 1381s # const gchar *const *arg_arg_aay) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1381s # arg_arg_aay)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # /tmp/tmprsufrmxg/tmphjkejke5.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprsufrmxg/tmphjkejke5.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "arg_asv", 1381s # (gchar *) "a{sv}", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SingleArgSignalAsv", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "single-arg-signal-asv" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VARIANT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::single-arg-signal-asv: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_asv: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1381s # g_signal_new ("single-arg-signal-asv", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1381s # G_TYPE_NONE, 1381s # 1, G_TYPE_VARIANT); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_arg_asv: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1381s # OrgProjectSignalingIface *object, 1381s # GVariant *arg_arg_asv) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1381s # OrgProjectSignalingIface *object, 1381s # GVariant *arg_arg_asv) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1381s # arg_arg_asv)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s ok 30 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmp7ekvo5s7 1381s # /tmp/tmp7ekvo5s7/tmpsx4c0cqs.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7ekvo5s7/tmpsx4c0cqs.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static void 1381s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1381s # GClosure *closure, 1381s # GValue *return_value G_GNUC_UNUSED, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint G_GNUC_UNUSED, 1381s # void *marshal_data) 1381s # { 1381s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1381s # (void *data1, 1381s # gboolean arg_an_b, 1381s # guchar arg_an_y, 1381s # gint16 arg_an_n, 1381s # guint16 arg_an_q, 1381s # gint arg_an_i, 1381s # guint arg_an_u, 1381s # gint64 arg_an_x, 1381s # guint64 arg_an_t, 1381s # gdouble arg_an_d, 1381s # const gchar *arg_an_s, 1381s # const gchar *arg_an_o, 1381s # const gchar *arg_an_g, 1381s # GVariant *arg_an_h, 1381s # const gchar *arg_an_ay, 1381s # const gchar *const *arg_an_as, 1381s # const gchar *const *arg_an_ao, 1381s # const gchar *const *arg_an_aay, 1381s # GVariant *arg_an_asv, 1381s # void *data2); 1381s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1381s # GCClosure *cc = (GCClosure*) closure; 1381s # void *data1, *data2; 1381s # 1381s # g_return_if_fail (n_param_values == 19); 1381s # 1381s # if (G_CCLOSURE_SWAP_DATA (closure)) 1381s # { 1381s # data1 = closure->data; 1381s # data2 = g_value_peek_pointer (param_values + 0); 1381s # } 1381s # else 1381s # { 1381s # data1 = g_value_peek_pointer (param_values + 0); 1381s # data2 = closure->data; 1381s # } 1381s # 1381s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1381s # (marshal_data ? marshal_data : cc->callback); 1381s # 1381s # callback (data1, 1381s # g_marshal_value_peek_boolean (param_values + 1), 1381s # g_marshal_value_peek_uchar (param_values + 2), 1381s # g_marshal_value_peek_int (param_values + 3), 1381s # g_marshal_value_peek_uint (param_values + 4), 1381s # g_marshal_value_peek_int (param_values + 5), 1381s # g_marshal_value_peek_uint (param_values + 6), 1381s # g_marshal_value_peek_int64 (param_values + 7), 1381s # g_marshal_value_peek_uint64 (param_values + 8), 1381s # g_marshal_value_peek_double (param_values + 9), 1381s # g_marshal_value_peek_string (param_values + 10), 1381s # g_marshal_value_peek_string (param_values + 11), 1381s # g_marshal_value_peek_string (param_values + 12), 1381s # g_marshal_value_peek_variant (param_values + 13), 1381s # g_marshal_value_peek_string (param_values + 14), 1381s # g_marshal_value_peek_boxed (param_values + 15), 1381s # g_marshal_value_peek_boxed (param_values + 16), 1381s # g_marshal_value_peek_boxed (param_values + 17), 1381s # g_marshal_value_peek_variant (param_values + 18), 1381s # data2); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.SignalingIface 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectSignalingIface 1381s # * @title: OrgProjectSignalingIface 1381s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1381s # }; 1381s # 1381s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1381s # 1381s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SimpleSignal", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "simple-signal" 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_b", 1381s # (gchar *) "b", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_y", 1381s # (gchar *) "y", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_n", 1381s # (gchar *) "n", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_q", 1381s # (gchar *) "q", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_i", 1381s # (gchar *) "i", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_u", 1381s # (gchar *) "u", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_x", 1381s # (gchar *) "x", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_t", 1381s # (gchar *) "t", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_d", 1381s # (gchar *) "d", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_s", 1381s # (gchar *) "s", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_o", 1381s # (gchar *) "o", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_g", 1381s # (gchar *) "g", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_h", 1381s # (gchar *) "h", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_ay", 1381s # (gchar *) "ay", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_as", 1381s # (gchar *) "as", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_ao", 1381s # (gchar *) "ao", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_aay", 1381s # (gchar *) "aay", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "an_asv", 1381s # (gchar *) "a{sv}", 1381s # NULL 1381s # }, 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "SignalWithManyArgs", 1381s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1381s # NULL 1381s # }, 1381s # "signal-with-many-args" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1381s # { 1381s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1381s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.SignalingIface", 1381s # NULL, 1381s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-signaling-iface", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_signaling_iface_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_simple_signal ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceIface: 1381s # * @parent_iface: The parent interface. 1381s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1381s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1381s # */ 1381s # 1381s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * OrgProjectSignalingIface::simple-signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1381s # g_signal_new ("simple-signal", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_simple_signal, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /** 1381s # * OrgProjectSignalingIface::signal-with-many-args: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_an_b: Argument. 1381s # * @arg_an_y: Argument. 1381s # * @arg_an_n: Argument. 1381s # * @arg_an_q: Argument. 1381s # * @arg_an_i: Argument. 1381s # * @arg_an_u: Argument. 1381s # * @arg_an_x: Argument. 1381s # * @arg_an_t: Argument. 1381s # * @arg_an_d: Argument. 1381s # * @arg_an_s: Argument. 1381s # * @arg_an_o: Argument. 1381s # * @arg_an_g: Argument. 1381s # * @arg_an_h: Argument. 1381s # * @arg_an_ay: Argument. 1381s # * @arg_an_as: Argument. 1381s # * @arg_an_ao: Argument. 1381s # * @arg_an_aay: Argument. 1381s # * @arg_an_asv: Argument. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1381s # g_signal_new ("signal-with-many-args", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1381s # NULL, 1381s # NULL, 1381s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1381s # G_TYPE_NONE, 1381s # 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); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_simple_signal: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * 1381s # * Emits the "SimpleSignal" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_emit_signal_with_many_args: 1381s # * @object: A #OrgProjectSignalingIface. 1381s # * @arg_an_b: Argument to pass with the signal. 1381s # * @arg_an_y: Argument to pass with the signal. 1381s # * @arg_an_n: Argument to pass with the signal. 1381s # * @arg_an_q: Argument to pass with the signal. 1381s # * @arg_an_i: Argument to pass with the signal. 1381s # * @arg_an_u: Argument to pass with the signal. 1381s # * @arg_an_x: Argument to pass with the signal. 1381s # * @arg_an_t: Argument to pass with the signal. 1381s # * @arg_an_d: Argument to pass with the signal. 1381s # * @arg_an_s: Argument to pass with the signal. 1381s # * @arg_an_o: Argument to pass with the signal. 1381s # * @arg_an_g: Argument to pass with the signal. 1381s # * @arg_an_h: Argument to pass with the signal. 1381s # * @arg_an_ay: Argument to pass with the signal. 1381s # * @arg_an_as: Argument to pass with the signal. 1381s # * @arg_an_ao: Argument to pass with the signal. 1381s # * @arg_an_aay: Argument to pass with the signal. 1381s # * @arg_an_asv: Argument to pass with the signal. 1381s # * 1381s # * Emits the "SignalWithManyArgs" D-Bus signal. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_emit_signal_with_many_args ( 1381s # OrgProjectSignalingIface *object, 1381s # gboolean arg_an_b, 1381s # guchar arg_an_y, 1381s # gint16 arg_an_n, 1381s # guint16 arg_an_q, 1381s # gint arg_an_i, 1381s # guint arg_an_u, 1381s # gint64 arg_an_x, 1381s # guint64 arg_an_t, 1381s # gdouble arg_an_d, 1381s # const gchar *arg_an_s, 1381s # const gchar *arg_an_o, 1381s # const gchar *arg_an_g, 1381s # GVariant *arg_an_h, 1381s # const gchar *arg_an_ay, 1381s # const gchar *const *arg_an_as, 1381s # const gchar *const *arg_an_ao, 1381s # const gchar *const *arg_an_aay, 1381s # GVariant *arg_an_asv) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxy: 1381s # * 1381s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1381s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1381s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_signaling_iface_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeleton: 1381s # * 1381s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectSignalingIfaceSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_signaling_iface_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_signaling_iface_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_signaling_iface_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1381s # { 1381s # _org_project_signaling_iface_skeleton_handle_method_call, 1381s # _org_project_signaling_iface_skeleton_handle_get_property, 1381s # _org_project_signaling_iface_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_signaling_iface_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_simple_signal ( 1381s # OrgProjectSignalingIface *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void 1381s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1381s # OrgProjectSignalingIface *object, 1381s # gboolean arg_an_b, 1381s # guchar arg_an_y, 1381s # gint16 arg_an_n, 1381s # guint16 arg_an_q, 1381s # gint arg_an_i, 1381s # guint arg_an_u, 1381s # gint64 arg_an_x, 1381s # guint64 arg_an_t, 1381s # gdouble arg_an_d, 1381s # const gchar *arg_an_s, 1381s # const gchar *arg_an_o, 1381s # const gchar *arg_an_g, 1381s # GVariant *arg_an_h, 1381s # const gchar *arg_an_ay, 1381s # const gchar *const *arg_an_as, 1381s # const gchar *const *arg_an_ao, 1381s # const gchar *const *arg_an_aay, 1381s # GVariant *arg_an_asv) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1381s # arg_an_b, 1381s # arg_an_y, 1381s # arg_an_n, 1381s # arg_an_q, 1381s # arg_an_i, 1381s # arg_an_u, 1381s # arg_an_x, 1381s # arg_an_t, 1381s # arg_an_d, 1381s # arg_an_s, 1381s # arg_an_o, 1381s # arg_an_g, 1381s # arg_an_h, 1381s # arg_an_ay, 1381s # arg_an_as, 1381s # arg_an_ao, 1381s # arg_an_aay, 1381s # arg_an_asv)); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1381s # { 1381s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1381s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1381s # } 1381s # 1381s # /** 1381s # * org_project_signaling_iface_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectSignalingIface * 1381s # org_project_signaling_iface_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s ok 31 __main__.TestCodegen.test_generate_valid_docbook 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpzto3_rg_ 1381s # /tmp/tmpzto3_rg_/tmpd2el2gr0.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzto3_rg_/tmpd2el2gr0.xml', '--generate-docbook', 'test'] 1381s # Return code: 0 1381s # Output: 1381s # 1381s # Error: 1381s ok 32 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpllabmiy2 1381s # /tmp/tmpllabmiy2/tmp52632jb8.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpllabmiy2/tmp52632jb8.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1381s # Return code: 1 1381s # Output: 1381s # 1381s # Error: 1381s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1381s ok 33 __main__.TestCodegen.test_glib_max_allowed_major_only 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpmesn4vd1 1381s # /tmp/tmpmesn4vd1/tmpnf91p5ly.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmesn4vd1/tmpnf91p5ly.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s ok 34 __main__.TestCodegen.test_glib_max_allowed_too_low 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpwxso6_9a 1381s # /tmp/tmpwxso6_9a/tmp7qa97bue.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwxso6_9a/tmp7qa97bue.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1381s # Return code: 1 1381s # Output: 1381s # 1381s # Error: 1381s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1381s ok 35 __main__.TestCodegen.test_glib_max_allowed_unstable 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpaqu36vm8 1381s # /tmp/tmpaqu36vm8/tmp045_rj4h.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaqu36vm8/tmp045_rj4h.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s ok 36 __main__.TestCodegen.test_glib_max_allowed_with_micro 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmp7p36jedo 1381s # /tmp/tmp7p36jedo/tmp3q7o5pks.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7p36jedo/tmp3q7o5pks.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s ok 37 __main__.TestCodegen.test_glib_min_required_invalid 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpk_nmocsz 1381s # /tmp/tmpk_nmocsz/tmp5g3ayy27.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk_nmocsz/tmp5g3ayy27.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1381s # Return code: 1 1381s # Output: 1381s # 1381s # Error: 1381s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1381s ok 38 __main__.TestCodegen.test_glib_min_required_major_only 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpk5u0v9ll 1381s # /tmp/tmpk5u0v9ll/tmpqym341pk.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk5u0v9ll/tmpqym341pk.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s ok 39 __main__.TestCodegen.test_glib_min_required_too_low 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpe44jmfu1 1381s # /tmp/tmpe44jmfu1/tmpbk_ozsj6.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe44jmfu1/tmpbk_ozsj6.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1381s # Return code: 1 1381s # Output: 1381s # 1381s # Error: 1381s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1381s ok 40 __main__.TestCodegen.test_glib_min_required_with_micro 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpraipbk3r 1381s # /tmp/tmpraipbk3r/tmptree6yyw.xml: 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpraipbk3r/tmptree6yyw.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s ok 41 __main__.TestCodegen.test_help 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpjqj12ifa 1381s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1381s # Return code: 0 1381s # Output: 1381s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1381s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1381s # [--c-generate-autocleanup {none,objects,all}] 1381s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1381s # [--generate-rst OUTFILES] [--pragma-once] 1381s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1381s # [--glib-min-required VERSION] 1381s # [--glib-max-allowed VERSION] 1381s # [--symbol-decorator SYMBOL_DECORATOR] 1381s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1381s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1381s # [--extension-path EXTENSION_PATH] 1381s # [--generate-c-code OUTFILES | --header | --body | 1381s # --interface-info-header | --interface-info-body] 1381s # [--output FILE | --output-directory OUTDIR] 1381s # FILE [FILE ...] 1381s # 1381s # D-Bus code and documentation generator 1381s # 1381s # positional arguments: 1381s # FILE D-Bus introspection XML file 1381s # 1381s # options: 1381s # -h, --help show this help message and exit 1381s # --interface-prefix PREFIX 1381s # String to strip from D-Bus interface names for code 1381s # and docs 1381s # --c-namespace NAMESPACE 1381s # The namespace to use for generated C code 1381s # --c-generate-object-manager 1381s # Generate a GDBusObjectManagerClient subclass when 1381s # generating C code 1381s # --c-generate-autocleanup {none,objects,all} 1381s # Generate autocleanup support 1381s # --generate-docbook OUTFILES 1381s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1381s # --generate-md OUTFILES 1381s # Generate Markdown in OUTFILES-org.Project.IFace.md 1381s # --generate-rst OUTFILES 1381s # Generate reStructuredText in OUTFILES- 1381s # org.Project.IFace.rst 1381s # --pragma-once Use "pragma once" as the inclusion guard 1381s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1381s # Add annotation (may be used several times) 1381s # --glib-min-required VERSION 1381s # Minimum version of GLib to be supported by the 1381s # outputted code (default: 2.30) 1381s # --glib-max-allowed VERSION 1381s # Maximum version of GLib to be used by the outputted 1381s # code (default: current GLib version) 1381s # --symbol-decorator SYMBOL_DECORATOR 1381s # Macro used to decorate a symbol in the outputted 1381s # header, possibly to export symbols 1381s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1381s # Additional header required for decorator specified by 1381s # --symbol-decorator 1381s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1381s # Additional define required for decorator specified by 1381s # --symbol-decorator 1381s # --extension-path EXTENSION_PATH 1381s # Path to a gdbus-codegen Python extension file 1381s # (unstable API) 1381s # --generate-c-code OUTFILES 1381s # Generate C code in OUTFILES.[ch] 1381s # --header Generate C headers 1381s # --body Generate C code 1381s # --interface-info-header 1381s # Generate GDBusInterfaceInfo C header 1381s # --interface-info-body 1381s # Generate GDBusInterfaceInfo C code 1381s # --output FILE Write output into the specified file 1381s # --output-directory OUTDIR 1381s # Location to output generated files 1381s # Error: 1381s ok 42 __main__.TestCodegen.test_indentation_preservation_in_comments 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpquv4l932 1381s # /tmp/tmpquv4l932/tmp9upnapvo.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpquv4l932/tmp9upnapvo.xml', '--generate-rst', 'test'] 1381s # Return code: 0 1381s # Output: 1381s # 1381s # Error: 1381s # 1381s # /tmp/tmpquv4l932/tmp619lgw6k.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpquv4l932/tmp619lgw6k.xml', '--generate-md', 'test'] 1381s # Return code: 0 1381s # Output: 1381s # 1381s # Error: 1381s # 1381s # /tmp/tmpquv4l932/tmpv2s3u37y.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpquv4l932/tmpv2s3u37y.xml', '--generate-docbook', 'test'] 1381s # Return code: 0 1381s # Output: 1381s # 1381s # Error: 1381s ok 43 __main__.TestCodegen.test_no_args 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmp7suuwtco 1381s # Running: ['/usr/bin/gdbus-codegen'] 1381s # Return code: 2 1381s # Output: 1381s # 1381s # Error: 1381s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1381s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1381s # [--c-generate-autocleanup {none,objects,all}] 1381s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1381s # [--generate-rst OUTFILES] [--pragma-once] 1381s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1381s # [--glib-min-required VERSION] 1381s # [--glib-max-allowed VERSION] 1381s # [--symbol-decorator SYMBOL_DECORATOR] 1381s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1381s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1381s # [--extension-path EXTENSION_PATH] 1381s # [--generate-c-code OUTFILES | --header | --body | 1381s # --interface-info-header | --interface-info-body] 1381s # [--output FILE | --output-directory OUTDIR] 1381s # FILE [FILE ...] 1381s # gdbus-codegen: error: the following arguments are required: FILE 1381s ok 44 __main__.TestCodegen.test_reproducible 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmpbpjb3cvr 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpjb3cvr/tmp1peo888u1.xml', '/tmp/tmpbpjb3cvr/tmpz92mm8qs2.xml', '--output', '-', '--header'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for com.acme.Coyote */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1381s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1381s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1381s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1381s # 1381s # struct _ComAcmeCoyote; 1381s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1381s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1381s # 1381s # struct _ComAcmeCoyoteIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # 1381s # 1381s # gboolean (*handle_attack) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # gboolean (*handle_run) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # gboolean (*handle_sleep) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1381s # 1381s # void (*surprised) ( 1381s # ComAcmeCoyote *object); 1381s # 1381s # }; 1381s # 1381s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1381s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void com_acme_coyote_complete_run ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # void com_acme_coyote_complete_sleep ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # void com_acme_coyote_complete_attack ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus signal emissions functions: */ 1381s # void com_acme_coyote_emit_surprised ( 1381s # ComAcmeCoyote *object); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void com_acme_coyote_call_run ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_run_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_run_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_call_sleep ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_sleep_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_sleep_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_call_attack ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_attack_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_attack_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* D-Bus property accessors: */ 1381s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1381s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1381s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1381s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1381s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1381s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1381s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1381s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1381s # 1381s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1381s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1381s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1381s # 1381s # struct _ComAcmeCoyoteProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # ComAcmeCoyoteProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _ComAcmeCoyoteProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void com_acme_coyote_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1381s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1381s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1381s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1381s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1381s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1381s # 1381s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1381s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1381s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1381s # 1381s # struct _ComAcmeCoyoteSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # ComAcmeCoyoteSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _ComAcmeCoyoteSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for org.project.Bar.Frobnicator */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1381s # 1381s # struct _OrgProjectBarFrobnicator; 1381s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1381s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1381s # 1381s # struct _OrgProjectBarFrobnicatorIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # gboolean (*handle_random_method) ( 1381s # OrgProjectBarFrobnicator *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1381s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void org_project_bar_frobnicator_complete_random_method ( 1381s # OrgProjectBarFrobnicator *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void org_project_bar_frobnicator_call_random_method ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1381s # 1381s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1381s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1381s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void org_project_bar_frobnicator_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1381s # 1381s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1381s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1381s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpjb3cvr/tmpz92mm8qs2.xml', '/tmp/tmpbpjb3cvr/tmp1peo888u1.xml', '--output', '-', '--header'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for com.acme.Coyote */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1381s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1381s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1381s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1381s # 1381s # struct _ComAcmeCoyote; 1381s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1381s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1381s # 1381s # struct _ComAcmeCoyoteIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # 1381s # 1381s # gboolean (*handle_attack) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # gboolean (*handle_run) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # gboolean (*handle_sleep) ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1381s # 1381s # void (*surprised) ( 1381s # ComAcmeCoyote *object); 1381s # 1381s # }; 1381s # 1381s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1381s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void com_acme_coyote_complete_run ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # void com_acme_coyote_complete_sleep ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # void com_acme_coyote_complete_attack ( 1381s # ComAcmeCoyote *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus signal emissions functions: */ 1381s # void com_acme_coyote_emit_surprised ( 1381s # ComAcmeCoyote *object); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void com_acme_coyote_call_run ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_run_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_run_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_call_sleep ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_sleep_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_sleep_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_call_attack ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean com_acme_coyote_call_attack_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean com_acme_coyote_call_attack_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* D-Bus property accessors: */ 1381s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1381s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1381s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1381s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1381s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1381s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1381s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1381s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1381s # 1381s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1381s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1381s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1381s # 1381s # struct _ComAcmeCoyoteProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # ComAcmeCoyoteProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _ComAcmeCoyoteProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void com_acme_coyote_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void com_acme_coyote_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1381s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1381s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1381s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1381s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1381s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1381s # 1381s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1381s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1381s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1381s # 1381s # struct _ComAcmeCoyoteSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # ComAcmeCoyoteSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _ComAcmeCoyoteSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for org.project.Bar.Frobnicator */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1381s # 1381s # struct _OrgProjectBarFrobnicator; 1381s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1381s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1381s # 1381s # struct _OrgProjectBarFrobnicatorIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # gboolean (*handle_random_method) ( 1381s # OrgProjectBarFrobnicator *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1381s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void org_project_bar_frobnicator_complete_random_method ( 1381s # OrgProjectBarFrobnicator *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void org_project_bar_frobnicator_call_random_method ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1381s # 1381s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1381s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1381s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void org_project_bar_frobnicator_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1381s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1381s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1381s # 1381s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1381s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1381s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpjb3cvr/tmp1peo888u1.xml', '/tmp/tmpbpjb3cvr/tmpz92mm8qs2.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static void 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint G_GNUC_UNUSED, 1381s # void *marshal_data) 1381s # { 1381s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1381s # (void *data1, 1381s # GDBusMethodInvocation *arg_method_invocation, 1381s # void *data2); 1381s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1381s # GCClosure *cc = (GCClosure*) closure; 1381s # void *data1, *data2; 1381s # gboolean v_return; 1381s # 1381s # g_return_if_fail (return_value != NULL); 1381s # g_return_if_fail (n_param_values == 2); 1381s # 1381s # if (G_CCLOSURE_SWAP_DATA (closure)) 1381s # { 1381s # data1 = closure->data; 1381s # data2 = g_value_peek_pointer (param_values + 0); 1381s # } 1381s # else 1381s # { 1381s # data1 = g_value_peek_pointer (param_values + 0); 1381s # data2 = closure->data; 1381s # } 1381s # 1381s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1381s # (marshal_data ? marshal_data : cc->callback); 1381s # 1381s # v_return = 1381s # callback (data1, 1381s # g_marshal_value_peek_object (param_values + 1), 1381s # data2); 1381s # 1381s # g_value_set_boolean (return_value, v_return); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface com.acme.Coyote 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:ComAcmeCoyote 1381s # * @title: ComAcmeCoyote 1381s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1381s # * 1381s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _COM_ACME_COYOTE_SURPRISED, 1381s # }; 1381s # 1381s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1381s # 1381s # /* ---- Introspection data for com.acme.Coyote ---- */ 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Run", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-run", 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Sleep", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-sleep", 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Attack", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-attack", 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_method_info_run.parent_struct, 1381s # &_com_acme_coyote_method_info_sleep.parent_struct, 1381s # &_com_acme_coyote_method_info_attack.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Surprised", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "surprised" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Mood", 1381s # (gchar *) "s", 1381s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1381s # NULL 1381s # }, 1381s # "mood", 1381s # FALSE, 1381s # TRUE 1381s # }; 1381s # 1381s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_property_info_mood.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "com.acme.Coyote", 1381s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1381s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1381s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1381s # NULL 1381s # }, 1381s # "com-acme-coyote", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * com_acme_coyote_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # com_acme_coyote_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1381s # { 1381s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # com_acme_coyote_signal_marshal_surprised ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_run ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_sleep ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_attack ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * ComAcmeCoyote: 1381s # * 1381s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteIface: 1381s # * @parent_iface: The parent interface. 1381s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1381s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1381s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1381s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1381s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1381s # * 1381s # * Virtual table for the D-Bus interface com.acme.Coyote. 1381s # */ 1381s # 1381s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1381s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # /* GObject signals for incoming D-Bus method calls: */ 1381s # /** 1381s # * ComAcmeCoyote::handle-run: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-run", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_run, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /** 1381s # * ComAcmeCoyote::handle-sleep: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-sleep", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_sleep, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /** 1381s # * ComAcmeCoyote::handle-attack: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-attack", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_attack, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * ComAcmeCoyote::surprised: 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1381s # g_signal_new ("surprised", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1381s # NULL, 1381s # NULL, 1381s # com_acme_coyote_signal_marshal_surprised, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /* GObject properties for D-Bus properties: */ 1381s # /** 1381s # * ComAcmeCoyote:mood: 1381s # * 1381s # * Represents the D-Bus property "Mood". 1381s # * 1381s # * 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. 1381s # */ 1381s # g_object_interface_install_property (iface, 1381s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_get_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Gets the value of the "Mood" D-Bus property. 1381s # * 1381s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # const gchar * 1381s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1381s # 1381s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_dup_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Gets a copy of the "Mood" D-Bus property. 1381s # * 1381s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1381s # * 1381s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1381s # */ 1381s # gchar * 1381s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1381s # { 1381s # gchar *value; 1381s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1381s # return value; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_set_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * @value: The value to set. 1381s # * 1381s # * Sets the "Mood" D-Bus property to @value. 1381s # * 1381s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1381s # */ 1381s # void 1381s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1381s # { 1381s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_emit_surprised: 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Emits the "Surprised" D-Bus signal. 1381s # */ 1381s # void 1381s # com_acme_coyote_emit_surprised ( 1381s # ComAcmeCoyote *object) 1381s # { 1381s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_run ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Run", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_run(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_run_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_run_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Run", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_sleep ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Sleep", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_sleep_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_sleep_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Sleep", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_attack ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Attack", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_attack(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_attack_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_attack_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Attack", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_run: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_run ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_sleep: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_sleep ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_attack: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_attack ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteProxy: 1381s # * 1381s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #ComAcmeCoyoteProxy. 1381s # */ 1381s # 1381s # struct _ComAcmeCoyoteProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # com_acme_coyote_proxy_finalize (GObject *object) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_get_property (GObject *object, 1381s # guint prop_id, 1381s # GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *variant; 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1381s # if (info->use_gvariant) 1381s # { 1381s # g_value_set_variant (value, variant); 1381s # } 1381s # else 1381s # { 1381s # if (variant != NULL) 1381s # g_dbus_gvariant_to_gvalue (variant, value); 1381s # } 1381s # if (variant != NULL) 1381s # g_variant_unref (variant); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1381s # GAsyncResult *res, 1381s # gpointer user_data) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info = user_data; 1381s # GError *error; 1381s # GVariant *_ret; 1381s # error = NULL; 1381s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1381s # if (!_ret) 1381s # { 1381s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1381s # info->parent_struct.name, 1381s # error->message, g_quark_to_string (error->domain), error->code); 1381s # g_error_free (error); 1381s # } 1381s # else 1381s # { 1381s # g_variant_unref (_ret); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_set_property (GObject *object, 1381s # guint prop_id, 1381s # const GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *variant; 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1381s # "org.freedesktop.DBus.Properties.Set", 1381s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1381s # g_variant_unref (variant); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static const gchar * 1381s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1381s # GVariant *variant; 1381s # const gchar *value = NULL; 1381s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1381s # if (variant != NULL) 1381s # { 1381s # value = g_variant_get_string (variant, NULL); 1381s # g_variant_unref (variant); 1381s # } 1381s # return value; 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1381s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1381s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1381s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1381s # 1381s # com_acme_coyote_override_properties (gobject_class, 1); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # com_acme_coyote_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # com_acme_coyote_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteSkeleton: 1381s # * 1381s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #ComAcmeCoyoteSkeleton. 1381s # */ 1381s # 1381s # struct _ComAcmeCoyoteSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _com_acme_coyote_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _com_acme_coyote_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _com_acme_coyote_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1381s # { 1381s # _com_acme_coyote_skeleton_handle_method_call, 1381s # _com_acme_coyote_skeleton_handle_get_property, 1381s # _com_acme_coyote_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return com_acme_coyote_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1381s # gboolean emit_changed = FALSE; 1381s # 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # { 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # emit_changed = TRUE; 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # 1381s # if (emit_changed) 1381s # _com_acme_coyote_emit_changed (skeleton); 1381s # } 1381s # 1381s # static void 1381s # _com_acme_coyote_on_signal_surprised ( 1381s # ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # com_acme_coyote_skeleton_finalize (GObject *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # guint n; 1381s # for (n = 0; n < 1; n++) 1381s # g_value_unset (&skeleton->priv->properties[n]); 1381s # g_free (skeleton->priv->properties); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_get_property (GObject *object, 1381s # guint prop_id, 1381s # GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # } 1381s # 1381s # static gboolean 1381s # _com_acme_coyote_emit_changed (gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GList *l; 1381s # GVariantBuilder builder; 1381s # GVariantBuilder invalidated_builder; 1381s # guint num_changes; 1381s # 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1381s # #else 1381s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1381s # #endif 1381s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1381s # { 1381s # ChangedProperty *cp = l->data; 1381s # GVariant *variant; 1381s # const GValue *cur_value; 1381s # 1381s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1381s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1381s # { 1381s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1381s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1381s # g_variant_unref (variant); 1381s # num_changes++; 1381s # } 1381s # } 1381s # if (num_changes > 0) 1381s # { 1381s # GList *connections, *ll; 1381s # GVariant *signal_variant; 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1381s # &builder, &invalidated_builder)); 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # for (ll = connections; ll != NULL; ll = ll->next) 1381s # { 1381s # GDBusConnection *connection = ll->data; 1381s # 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1381s # "org.freedesktop.DBus.Properties", 1381s # "PropertiesChanged", 1381s # signal_variant, 1381s # NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # else 1381s # { 1381s # g_variant_builder_clear (&builder); 1381s # g_variant_builder_clear (&invalidated_builder); 1381s # } 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # skeleton->priv->changed_properties = NULL; 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # return FALSE; 1381s # } 1381s # 1381s # static void 1381s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1381s # { 1381s # ChangedProperty *cp; 1381s # GList *l; 1381s # cp = NULL; 1381s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1381s # { 1381s # ChangedProperty *i_cp = l->data; 1381s # if (i_cp->info == info) 1381s # { 1381s # cp = i_cp; 1381s # break; 1381s # } 1381s # } 1381s # if (cp == NULL) 1381s # { 1381s # cp = g_new0 (ChangedProperty, 1); 1381s # cp->prop_id = prop_id; 1381s # cp->info = info; 1381s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1381s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1381s # g_value_copy (orig_value, &cp->orig_value); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_notify (GObject *object, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # if (skeleton->priv->changed_properties != NULL && 1381s # skeleton->priv->changed_properties_idle_source == NULL) 1381s # { 1381s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1381s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1381s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1381s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1381s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1381s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_set_property (GObject *object, 1381s # guint prop_id, 1381s # const GValue *value, 1381s # GParamSpec *pspec) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # g_object_freeze_notify (object); 1381s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1381s # { 1381s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1381s # info->emits_changed_signal) 1381s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1381s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1381s # g_object_notify_by_pspec (object, pspec); 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # g_object_thaw_notify (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # skeleton->priv->properties = g_new0 (GValue, 1); 1381s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1381s # } 1381s # 1381s # static const gchar * 1381s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # const gchar *value; 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # return value; 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1381s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1381s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1381s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1381s # 1381s # 1381s # com_acme_coyote_override_properties (gobject_class, 1); 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1381s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_skeleton_new (void) 1381s # { 1381s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.Bar.Frobnicator 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectBarFrobnicator 1381s # * @title: OrgProjectBarFrobnicator 1381s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1381s # */ 1381s # 1381s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1381s # 1381s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "RandomMethod", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-random-method", 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1381s # { 1381s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.Bar.Frobnicator", 1381s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-bar-frobnicator", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_bar_frobnicator_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_bar_frobnicator_method_marshal_random_method ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicator: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorIface: 1381s # * @parent_iface: The parent interface. 1381s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1381s # */ 1381s # 1381s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1381s # { 1381s # /* GObject signals for incoming D-Bus method calls: */ 1381s # /** 1381s # * OrgProjectBarFrobnicator::handle-random-method: 1381s # * @object: A #OrgProjectBarFrobnicator. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-random-method", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # org_project_bar_frobnicator_method_marshal_random_method, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_call_random_method ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "RandomMethod", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method_finish: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # org_project_bar_frobnicator_call_random_method_finish ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method_sync: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # org_project_bar_frobnicator_call_random_method_sync ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "RandomMethod", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_complete_random_method: 1381s # * @object: A #OrgProjectBarFrobnicator. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_complete_random_method ( 1381s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorProxy: 1381s # * 1381s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1381s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1381s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorSkeleton: 1381s # * 1381s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1381s # { 1381s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1381s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1381s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_bar_frobnicator_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbpjb3cvr/tmpz92mm8qs2.xml', '/tmp/tmpbpjb3cvr/tmp1peo888u1.xml', '--output', '-', '--body'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifdef HAVE_CONFIG_H 1381s # # include "config.h" 1381s # #endif 1381s # 1381s # #include 1381s # #ifdef G_OS_UNIX 1381s # # include 1381s # #endif 1381s # 1381s # #ifdef G_ENABLE_DEBUG 1381s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1381s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1381s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1381s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1381s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1381s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1381s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1381s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1381s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1381s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1381s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1381s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1381s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1381s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1381s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1381s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1381s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1381s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1381s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1381s # #else /* !G_ENABLE_DEBUG */ 1381s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1381s # * Do not access GValues directly in your code. Instead, use the 1381s # * g_value_get_*() functions 1381s # */ 1381s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1381s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1381s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1381s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1381s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1381s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1381s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1381s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1381s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1381s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1381s # #endif /* !G_ENABLE_DEBUG */ 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusArgInfo parent_struct; 1381s # gboolean use_gvariant; 1381s # } _ExtendedGDBusArgInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusMethodInfo parent_struct; 1381s # const gchar *signal_name; 1381s # gboolean pass_fdlist; 1381s # } _ExtendedGDBusMethodInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusSignalInfo parent_struct; 1381s # const gchar *signal_name; 1381s # } _ExtendedGDBusSignalInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusPropertyInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # guint use_gvariant : 1; 1381s # guint emits_changed_signal : 1; 1381s # } _ExtendedGDBusPropertyInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # GDBusInterfaceInfo parent_struct; 1381s # const gchar *hyphen_name; 1381s # } _ExtendedGDBusInterfaceInfo; 1381s # 1381s # typedef struct 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # guint prop_id; 1381s # GValue orig_value; /* the value before the change */ 1381s # } ChangedProperty; 1381s # 1381s # static void 1381s # _changed_property_free (ChangedProperty *data) 1381s # { 1381s # g_value_unset (&data->orig_value); 1381s # g_free (data); 1381s # } 1381s # 1381s # static gboolean 1381s # _g_strv_equal0 (gchar **a, gchar **b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # guint n; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # if (g_strv_length (a) != g_strv_length (b)) 1381s # goto out; 1381s # for (n = 0; a[n] != NULL; n++) 1381s # if (g_strcmp0 (a[n], b[n]) != 0) 1381s # goto out; 1381s # ret = TRUE; 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _g_variant_equal0 (GVariant *a, GVariant *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # if (a == NULL && b == NULL) 1381s # { 1381s # ret = TRUE; 1381s # goto out; 1381s # } 1381s # if (a == NULL || b == NULL) 1381s # goto out; 1381s # ret = g_variant_equal (a, b); 1381s # out: 1381s # return ret; 1381s # } 1381s # 1381s # G_GNUC_UNUSED static gboolean 1381s # _g_value_equal (const GValue *a, const GValue *b) 1381s # { 1381s # gboolean ret = FALSE; 1381s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1381s # switch (G_VALUE_TYPE (a)) 1381s # { 1381s # case G_TYPE_BOOLEAN: 1381s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1381s # break; 1381s # case G_TYPE_UCHAR: 1381s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1381s # break; 1381s # case G_TYPE_INT: 1381s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1381s # break; 1381s # case G_TYPE_UINT: 1381s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1381s # break; 1381s # case G_TYPE_INT64: 1381s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1381s # break; 1381s # case G_TYPE_UINT64: 1381s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1381s # break; 1381s # case G_TYPE_DOUBLE: 1381s # { 1381s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1381s # gdouble da = g_value_get_double (a); 1381s # gdouble db = g_value_get_double (b); 1381s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1381s # } 1381s # break; 1381s # case G_TYPE_STRING: 1381s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1381s # break; 1381s # case G_TYPE_VARIANT: 1381s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1381s # break; 1381s # default: 1381s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1381s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1381s # else 1381s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1381s # break; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static void 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint G_GNUC_UNUSED, 1381s # void *marshal_data) 1381s # { 1381s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1381s # (void *data1, 1381s # GDBusMethodInvocation *arg_method_invocation, 1381s # void *data2); 1381s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1381s # GCClosure *cc = (GCClosure*) closure; 1381s # void *data1, *data2; 1381s # gboolean v_return; 1381s # 1381s # g_return_if_fail (return_value != NULL); 1381s # g_return_if_fail (n_param_values == 2); 1381s # 1381s # if (G_CCLOSURE_SWAP_DATA (closure)) 1381s # { 1381s # data1 = closure->data; 1381s # data2 = g_value_peek_pointer (param_values + 0); 1381s # } 1381s # else 1381s # { 1381s # data1 = g_value_peek_pointer (param_values + 0); 1381s # data2 = closure->data; 1381s # } 1381s # 1381s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1381s # (marshal_data ? marshal_data : cc->callback); 1381s # 1381s # v_return = 1381s # callback (data1, 1381s # g_marshal_value_peek_object (param_values + 1), 1381s # data2); 1381s # 1381s # g_value_set_boolean (return_value, v_return); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface com.acme.Coyote 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:ComAcmeCoyote 1381s # * @title: ComAcmeCoyote 1381s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1381s # * 1381s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1381s # */ 1381s # 1381s # enum 1381s # { 1381s # _COM_ACME_COYOTE_SURPRISED, 1381s # }; 1381s # 1381s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1381s # 1381s # /* ---- Introspection data for com.acme.Coyote ---- */ 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Run", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-run", 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Sleep", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-sleep", 1381s # FALSE 1381s # }; 1381s # 1381s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Attack", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-attack", 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_method_info_run.parent_struct, 1381s # &_com_acme_coyote_method_info_sleep.parent_struct, 1381s # &_com_acme_coyote_method_info_attack.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Surprised", 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "surprised" 1381s # }; 1381s # 1381s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "Mood", 1381s # (gchar *) "s", 1381s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1381s # NULL 1381s # }, 1381s # "mood", 1381s # FALSE, 1381s # TRUE 1381s # }; 1381s # 1381s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1381s # { 1381s # &_com_acme_coyote_property_info_mood.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "com.acme.Coyote", 1381s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1381s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1381s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1381s # NULL 1381s # }, 1381s # "com-acme-coyote", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * com_acme_coyote_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # com_acme_coyote_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1381s # { 1381s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # com_acme_coyote_signal_marshal_surprised ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # g_cclosure_marshal_VOID__VOID (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_run ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_sleep ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # inline static void 1381s # com_acme_coyote_method_marshal_attack ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * ComAcmeCoyote: 1381s # * 1381s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteIface: 1381s # * @parent_iface: The parent interface. 1381s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1381s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1381s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1381s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1381s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1381s # * 1381s # * Virtual table for the D-Bus interface com.acme.Coyote. 1381s # */ 1381s # 1381s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1381s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # /* GObject signals for incoming D-Bus method calls: */ 1381s # /** 1381s # * ComAcmeCoyote::handle-run: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-run", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_run, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /** 1381s # * ComAcmeCoyote::handle-sleep: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-sleep", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_sleep, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /** 1381s # * ComAcmeCoyote::handle-attack: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-attack", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # com_acme_coyote_method_marshal_attack, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # /* GObject signals for received D-Bus signals: */ 1381s # /** 1381s # * ComAcmeCoyote::surprised: 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1381s # * 1381s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1381s # */ 1381s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1381s # g_signal_new ("surprised", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1381s # NULL, 1381s # NULL, 1381s # com_acme_coyote_signal_marshal_surprised, 1381s # G_TYPE_NONE, 1381s # 0); 1381s # 1381s # /* GObject properties for D-Bus properties: */ 1381s # /** 1381s # * ComAcmeCoyote:mood: 1381s # * 1381s # * Represents the D-Bus property "Mood". 1381s # * 1381s # * 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. 1381s # */ 1381s # g_object_interface_install_property (iface, 1381s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_get_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Gets the value of the "Mood" D-Bus property. 1381s # * 1381s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # const gchar * 1381s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1381s # 1381s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_dup_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Gets a copy of the "Mood" D-Bus property. 1381s # * 1381s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1381s # * 1381s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1381s # */ 1381s # gchar * 1381s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1381s # { 1381s # gchar *value; 1381s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1381s # return value; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_set_mood: (skip) 1381s # * @object: A #ComAcmeCoyote. 1381s # * @value: The value to set. 1381s # * 1381s # * Sets the "Mood" D-Bus property to @value. 1381s # * 1381s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1381s # */ 1381s # void 1381s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1381s # { 1381s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_emit_surprised: 1381s # * @object: A #ComAcmeCoyote. 1381s # * 1381s # * Emits the "Surprised" D-Bus signal. 1381s # */ 1381s # void 1381s # com_acme_coyote_emit_surprised ( 1381s # ComAcmeCoyote *object) 1381s # { 1381s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_run ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Run", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_run(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_run_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_run_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_run_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Run", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_sleep ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Sleep", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_sleep_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_sleep_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_sleep_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Sleep", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # com_acme_coyote_call_attack ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "Attack", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack_finish: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_call_attack(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_attack_finish ( 1381s # ComAcmeCoyote *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_call_attack_sync: 1381s # * @proxy: A #ComAcmeCoyoteProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # com_acme_coyote_call_attack_sync ( 1381s # ComAcmeCoyote *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "Attack", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_run: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_run ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_sleep: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_sleep ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_complete_attack: 1381s # * @object: A #ComAcmeCoyote. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # com_acme_coyote_complete_attack ( 1381s # ComAcmeCoyote *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteProxy: 1381s # * 1381s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #ComAcmeCoyoteProxy. 1381s # */ 1381s # 1381s # struct _ComAcmeCoyoteProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # com_acme_coyote_proxy_finalize (GObject *object) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_get_property (GObject *object, 1381s # guint prop_id, 1381s # GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *variant; 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1381s # if (info->use_gvariant) 1381s # { 1381s # g_value_set_variant (value, variant); 1381s # } 1381s # else 1381s # { 1381s # if (variant != NULL) 1381s # g_dbus_gvariant_to_gvalue (variant, value); 1381s # } 1381s # if (variant != NULL) 1381s # g_variant_unref (variant); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1381s # GAsyncResult *res, 1381s # gpointer user_data) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info = user_data; 1381s # GError *error; 1381s # GVariant *_ret; 1381s # error = NULL; 1381s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1381s # if (!_ret) 1381s # { 1381s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1381s # info->parent_struct.name, 1381s # error->message, g_quark_to_string (error->domain), error->code); 1381s # g_error_free (error); 1381s # } 1381s # else 1381s # { 1381s # g_variant_unref (_ret); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_set_property (GObject *object, 1381s # guint prop_id, 1381s # const GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *variant; 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1381s # "org.freedesktop.DBus.Properties.Set", 1381s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1381s # g_variant_unref (variant); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static const gchar * 1381s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1381s # GVariant *variant; 1381s # const gchar *value = NULL; 1381s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1381s # if (variant != NULL) 1381s # { 1381s # value = g_variant_get_string (variant, NULL); 1381s # g_variant_unref (variant); 1381s # } 1381s # return value; 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1381s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1381s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1381s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1381s # 1381s # com_acme_coyote_override_properties (gobject_class, 1); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # com_acme_coyote_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # com_acme_coyote_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return COM_ACME_COYOTE (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteSkeleton: 1381s # * 1381s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * ComAcmeCoyoteSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #ComAcmeCoyoteSkeleton. 1381s # */ 1381s # 1381s # struct _ComAcmeCoyoteSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _com_acme_coyote_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _com_acme_coyote_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _com_acme_coyote_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1381s # { 1381s # _com_acme_coyote_skeleton_handle_method_call, 1381s # _com_acme_coyote_skeleton_handle_get_property, 1381s # _com_acme_coyote_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return com_acme_coyote_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1381s # gboolean emit_changed = FALSE; 1381s # 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # { 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # emit_changed = TRUE; 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # 1381s # if (emit_changed) 1381s # _com_acme_coyote_emit_changed (skeleton); 1381s # } 1381s # 1381s # static void 1381s # _com_acme_coyote_on_signal_surprised ( 1381s # ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # 1381s # GList *connections, *l; 1381s # GVariant *signal_variant; 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1381s # for (l = connections; l != NULL; l = l->next) 1381s # { 1381s # GDBusConnection *connection = l->data; 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1381s # signal_variant, NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # 1381s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # com_acme_coyote_skeleton_finalize (GObject *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # guint n; 1381s # for (n = 0; n < 1; n++) 1381s # g_value_unset (&skeleton->priv->properties[n]); 1381s # g_free (skeleton->priv->properties); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_get_property (GObject *object, 1381s # guint prop_id, 1381s # GValue *value, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # } 1381s # 1381s # static gboolean 1381s # _com_acme_coyote_emit_changed (gpointer user_data) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1381s # GList *l; 1381s # GVariantBuilder builder; 1381s # GVariantBuilder invalidated_builder; 1381s # guint num_changes; 1381s # 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1381s # #else 1381s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1381s # #endif 1381s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1381s # { 1381s # ChangedProperty *cp = l->data; 1381s # GVariant *variant; 1381s # const GValue *cur_value; 1381s # 1381s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1381s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1381s # { 1381s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1381s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1381s # g_variant_unref (variant); 1381s # num_changes++; 1381s # } 1381s # } 1381s # if (num_changes > 0) 1381s # { 1381s # GList *connections, *ll; 1381s # GVariant *signal_variant; 1381s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1381s # &builder, &invalidated_builder)); 1381s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1381s # for (ll = connections; ll != NULL; ll = ll->next) 1381s # { 1381s # GDBusConnection *connection = ll->data; 1381s # 1381s # g_dbus_connection_emit_signal (connection, 1381s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1381s # "org.freedesktop.DBus.Properties", 1381s # "PropertiesChanged", 1381s # signal_variant, 1381s # NULL); 1381s # } 1381s # g_variant_unref (signal_variant); 1381s # g_list_free_full (connections, g_object_unref); 1381s # } 1381s # else 1381s # { 1381s # g_variant_builder_clear (&builder); 1381s # g_variant_builder_clear (&invalidated_builder); 1381s # } 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # skeleton->priv->changed_properties = NULL; 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # return FALSE; 1381s # } 1381s # 1381s # static void 1381s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1381s # { 1381s # ChangedProperty *cp; 1381s # GList *l; 1381s # cp = NULL; 1381s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1381s # { 1381s # ChangedProperty *i_cp = l->data; 1381s # if (i_cp->info == info) 1381s # { 1381s # cp = i_cp; 1381s # break; 1381s # } 1381s # } 1381s # if (cp == NULL) 1381s # { 1381s # cp = g_new0 (ChangedProperty, 1); 1381s # cp->prop_id = prop_id; 1381s # cp->info = info; 1381s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1381s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1381s # g_value_copy (orig_value, &cp->orig_value); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_notify (GObject *object, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # if (skeleton->priv->changed_properties != NULL && 1381s # skeleton->priv->changed_properties_idle_source == NULL) 1381s # { 1381s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1381s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1381s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1381s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1381s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1381s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_set_property (GObject *object, 1381s # guint prop_id, 1381s # const GValue *value, 1381s # GParamSpec *pspec) 1381s # { 1381s # const _ExtendedGDBusPropertyInfo *info; 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1381s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # g_object_freeze_notify (object); 1381s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1381s # { 1381s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1381s # info->emits_changed_signal) 1381s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1381s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1381s # g_object_notify_by_pspec (object, pspec); 1381s # } 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # g_object_thaw_notify (object); 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # skeleton->priv->properties = g_new0 (GValue, 1); 1381s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1381s # } 1381s # 1381s # static const gchar * 1381s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1381s # { 1381s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1381s # const gchar *value; 1381s # g_mutex_lock (&skeleton->priv->lock); 1381s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1381s # g_mutex_unlock (&skeleton->priv->lock); 1381s # return value; 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1381s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1381s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1381s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1381s # 1381s # 1381s # com_acme_coyote_override_properties (gobject_class, 1); 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1381s # { 1381s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1381s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1381s # } 1381s # 1381s # /** 1381s # * com_acme_coyote_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1381s # * 1381s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1381s # */ 1381s # ComAcmeCoyote * 1381s # com_acme_coyote_skeleton_new (void) 1381s # { 1381s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ 1381s # * Code for interface org.project.Bar.Frobnicator 1381s # * ------------------------------------------------------------------------ 1381s # */ 1381s # 1381s # /** 1381s # * SECTION:OrgProjectBarFrobnicator 1381s # * @title: OrgProjectBarFrobnicator 1381s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1381s # * 1381s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1381s # */ 1381s # 1381s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1381s # 1381s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "RandomMethod", 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "handle-random-method", 1381s # FALSE 1381s # }; 1381s # 1381s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1381s # { 1381s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1381s # NULL 1381s # }; 1381s # 1381s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1381s # { 1381s # { 1381s # -1, 1381s # (gchar *) "org.project.Bar.Frobnicator", 1381s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1381s # NULL, 1381s # NULL, 1381s # NULL 1381s # }, 1381s # "org-project-bar-frobnicator", 1381s # }; 1381s # 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_interface_info: 1381s # * 1381s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1381s # * 1381s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1381s # */ 1381s # GDBusInterfaceInfo * 1381s # org_project_bar_frobnicator_interface_info (void) 1381s # { 1381s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_override_properties: 1381s # * @klass: The class structure for a #GObject derived class. 1381s # * @property_id_begin: The property id to assign to the first overridden property. 1381s # * 1381s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1381s # * The properties are overridden in the order they are defined. 1381s # * 1381s # * Returns: The last property id. 1381s # */ 1381s # guint 1381s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1381s # { 1381s # return property_id_begin - 1; 1381s # } 1381s # 1381s # 1381s # inline static void 1381s # org_project_bar_frobnicator_method_marshal_random_method ( 1381s # GClosure *closure, 1381s # GValue *return_value, 1381s # unsigned int n_param_values, 1381s # const GValue *param_values, 1381s # void *invocation_hint, 1381s # void *marshal_data) 1381s # { 1381s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1381s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1381s # } 1381s # 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicator: 1381s # * 1381s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorIface: 1381s # * @parent_iface: The parent interface. 1381s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1381s # * 1381s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1381s # */ 1381s # 1381s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1381s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1381s # { 1381s # /* GObject signals for incoming D-Bus method calls: */ 1381s # /** 1381s # * OrgProjectBarFrobnicator::handle-random-method: 1381s # * @object: A #OrgProjectBarFrobnicator. 1381s # * @invocation: A #GDBusMethodInvocation. 1381s # * 1381s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1381s # * 1381s # * 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. 1381s # * 1381s # * 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. 1381s # */ 1381s # g_signal_new ("handle-random-method", 1381s # G_TYPE_FROM_INTERFACE (iface), 1381s # G_SIGNAL_RUN_LAST, 1381s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1381s # g_signal_accumulator_true_handled, 1381s # NULL, 1381s # org_project_bar_frobnicator_method_marshal_random_method, 1381s # G_TYPE_BOOLEAN, 1381s # 1, 1381s # G_TYPE_DBUS_METHOD_INVOCATION); 1381s # 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_call_random_method ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1381s # "RandomMethod", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # callback, 1381s # user_data); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method_finish: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # org_project_bar_frobnicator_call_random_method_finish ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_call_random_method_sync: 1381s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL. 1381s # * 1381s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1381s # * 1381s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1381s # */ 1381s # gboolean 1381s # org_project_bar_frobnicator_call_random_method_sync ( 1381s # OrgProjectBarFrobnicator *proxy, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GVariant *_ret; 1381s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1381s # "RandomMethod", 1381s # g_variant_new ("()"), 1381s # G_DBUS_CALL_FLAGS_NONE, 1381s # -1, 1381s # cancellable, 1381s # error); 1381s # if (_ret == NULL) 1381s # goto _out; 1381s # g_variant_get (_ret, 1381s # "()"); 1381s # g_variant_unref (_ret); 1381s # _out: 1381s # return _ret != NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_complete_random_method: 1381s # * @object: A #OrgProjectBarFrobnicator. 1381s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1381s # * 1381s # * 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. 1381s # * 1381s # * This method will free @invocation, you cannot use it afterwards. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_complete_random_method ( 1381s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1381s # GDBusMethodInvocation *invocation) 1381s # { 1381s # g_dbus_method_invocation_return_value (invocation, 1381s # g_variant_new ("()")); 1381s # } 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorProxy: 1381s # * 1381s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorProxyClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1381s # */ 1381s # 1381s # struct _OrgProjectBarFrobnicatorProxyPrivate 1381s # { 1381s # GData *qdata; 1381s # }; 1381s # 1381s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1381s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1381s # { 1381s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1381s # g_datalist_clear (&proxy->priv->qdata); 1381s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1381s # guint prop_id G_GNUC_UNUSED, 1381s # const GValue *value G_GNUC_UNUSED, 1381s # GParamSpec *pspec G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1381s # const gchar *sender_name G_GNUC_UNUSED, 1381s # const gchar *signal_name, 1381s # GVariant *parameters) 1381s # { 1381s # _ExtendedGDBusSignalInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # gsize n; 1381s # guint signal_id; 1381s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1381s # if (info == NULL) 1381s # return; 1381s # num_params = g_variant_n_children (parameters); 1381s # paramv = g_new0 (GValue, num_params + 1); 1381s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_set_object (¶mv[0], proxy); 1381s # g_variant_iter_init (&iter, parameters); 1381s # n = 1; 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_signal_emitv (paramv, signal_id, 0, NULL); 1381s # for (n = 0; n < num_params + 1; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1381s # GVariant *changed_properties, 1381s # const gchar *const *invalidated_properties) 1381s # { 1381s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1381s # guint n; 1381s # const gchar *key; 1381s # GVariantIter *iter; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # g_variant_get (changed_properties, "a{sv}", &iter); 1381s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1381s # g_datalist_remove_data (&proxy->priv->qdata, key); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # g_variant_iter_free (iter); 1381s # for (n = 0; invalidated_properties[n] != NULL; n++) 1381s # { 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1381s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1381s # if (info != NULL) 1381s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1381s # } 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1381s # #else 1381s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1381s # #endif 1381s # 1381s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusProxyClass *proxy_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1381s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1381s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1381s # 1381s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1381s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1381s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_sync: 1381s # * @connection: A #GDBusConnection. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1381s # * @user_data: User data to pass to @callback. 1381s # * 1381s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1381s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1381s # */ 1381s # void 1381s # org_project_bar_frobnicator_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data) 1381s # { 1381s # 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); 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1381s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error) 1381s # { 1381s # GObject *ret; 1381s # GObject *source_object; 1381s # source_object = g_async_result_get_source_object (res); 1381s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1381s # g_object_unref (source_object); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1381s # * @bus_type: A #GBusType. 1381s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1381s # * @name: A bus name (well-known or unique). 1381s # * @object_path: An object path. 1381s # * @cancellable: (nullable): A #GCancellable or %NULL. 1381s # * @error: Return location for error or %NULL 1381s # * 1381s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1381s # * 1381s # * The calling thread is blocked until a reply is received. 1381s # * 1381s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error) 1381s # { 1381s # GInitable *ret; 1381s # 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); 1381s # if (ret != NULL) 1381s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1381s # else 1381s # return NULL; 1381s # } 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorSkeleton: 1381s # * 1381s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1381s # */ 1381s # 1381s # /** 1381s # * OrgProjectBarFrobnicatorSkeletonClass: 1381s # * @parent_class: The parent class. 1381s # * 1381s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1381s # */ 1381s # 1381s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1381s # { 1381s # GValue *properties; 1381s # GList *changed_properties; 1381s # GSource *changed_properties_idle_source; 1381s # GMainContext *context; 1381s # GMutex lock; 1381s # }; 1381s # 1381s # static void 1381s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name, 1381s # const gchar *method_name, 1381s # GVariant *parameters, 1381s # GDBusMethodInvocation *invocation, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # _ExtendedGDBusMethodInfo *info; 1381s # GVariantIter iter; 1381s # GVariant *child; 1381s # GValue *paramv; 1381s # gsize num_params; 1381s # guint num_extra; 1381s # gsize n; 1381s # guint signal_id; 1381s # GValue return_value = G_VALUE_INIT; 1381s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1381s # g_assert (info != NULL); 1381s # num_params = g_variant_n_children (parameters); 1381s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1381s # n = 0; 1381s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_set_object (¶mv[n++], skeleton); 1381s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1381s # g_value_set_object (¶mv[n++], invocation); 1381s # if (info->pass_fdlist) 1381s # { 1381s # #ifdef G_OS_UNIX 1381s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1381s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1381s # #else 1381s # g_assert_not_reached (); 1381s # #endif 1381s # } 1381s # g_variant_iter_init (&iter, parameters); 1381s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1381s # { 1381s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1381s # if (arg_info->use_gvariant) 1381s # { 1381s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1381s # g_value_set_variant (¶mv[n], child); 1381s # n++; 1381s # } 1381s # else 1381s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1381s # g_variant_unref (child); 1381s # } 1381s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1381s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1381s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1381s # if (!g_value_get_boolean (&return_value)) 1381s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1381s # g_value_unset (&return_value); 1381s # for (n = 0; n < num_params + num_extra; n++) 1381s # g_value_unset (¶mv[n]); 1381s # g_free (paramv); 1381s # } 1381s # 1381s # static GVariant * 1381s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # GVariant *ret; 1381s # ret = NULL; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # g_value_init (&value, pspec->value_type); 1381s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1381s # g_value_unset (&value); 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static gboolean 1381s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1381s # GDBusConnection *connection G_GNUC_UNUSED, 1381s # const gchar *sender G_GNUC_UNUSED, 1381s # const gchar *object_path G_GNUC_UNUSED, 1381s # const gchar *interface_name G_GNUC_UNUSED, 1381s # const gchar *property_name, 1381s # GVariant *variant, 1381s # GError **error, 1381s # gpointer user_data) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1381s # GValue value = G_VALUE_INIT; 1381s # GParamSpec *pspec; 1381s # _ExtendedGDBusPropertyInfo *info; 1381s # gboolean ret; 1381s # ret = FALSE; 1381s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1381s # g_assert (info != NULL); 1381s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1381s # if (pspec == NULL) 1381s # { 1381s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1381s # } 1381s # else 1381s # { 1381s # if (info->use_gvariant) 1381s # g_value_set_variant (&value, variant); 1381s # else 1381s # g_dbus_gvariant_to_gvalue (variant, &value); 1381s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1381s # g_value_unset (&value); 1381s # ret = TRUE; 1381s # } 1381s # return ret; 1381s # } 1381s # 1381s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1381s # { 1381s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1381s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1381s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1381s # {NULL} 1381s # }; 1381s # 1381s # static GDBusInterfaceInfo * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return org_project_bar_frobnicator_interface_info (); 1381s # } 1381s # 1381s # static GDBusInterfaceVTable * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1381s # { 1381s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1381s # } 1381s # 1381s # static GVariant * 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1381s # 1381s # GVariantBuilder builder; 1381s # guint n; 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1381s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #else 1381s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1381s # #endif 1381s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1381s # goto out; 1381s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1381s # { 1381s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1381s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1381s # { 1381s # GVariant *value; 1381s # 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); 1381s # if (value != NULL) 1381s # { 1381s # g_variant_take_ref (value); 1381s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1381s # g_variant_unref (value); 1381s # } 1381s # } 1381s # } 1381s # out: 1381s # return g_variant_builder_end (&builder); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1381s # 1381s # #else 1381s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1381s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1381s # 1381s # #endif 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1381s # { 1381s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1381s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # /* coverity[missing_lock : SUPPRESS] */ 1381s # g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); 1381s # #else 1381s # if (skeleton->priv->changed_properties_idle_source != NULL) 1381s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1381s # skeleton->priv->changed_properties_idle_source = NULL; 1381s # #endif 1381s # g_main_context_unref (skeleton->priv->context); 1381s # g_mutex_clear (&skeleton->priv->lock); 1381s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1381s # { 1381s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1381s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1381s # #else 1381s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1381s # #endif 1381s # 1381s # g_mutex_init (&skeleton->priv->lock); 1381s # skeleton->priv->context = g_main_context_ref_thread_default (); 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1381s # { 1381s # GObjectClass *gobject_class; 1381s # GDBusInterfaceSkeletonClass *skeleton_class; 1381s # 1381s # gobject_class = G_OBJECT_CLASS (klass); 1381s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1381s # 1381s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1381s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1381s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1381s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1381s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1381s # 1381s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1381s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1381s # #endif 1381s # } 1381s # 1381s # static void 1381s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1381s # { 1381s # } 1381s # 1381s # /** 1381s # * org_project_bar_frobnicator_skeleton_new: 1381s # * 1381s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1381s # * 1381s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1381s # */ 1381s # OrgProjectBarFrobnicator * 1381s # org_project_bar_frobnicator_skeleton_new (void) 1381s # { 1381s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1381s # } 1381s # Error: 1381s ok 45 __main__.TestCodegen.test_unix_fd_types_and_annotations 1381s # gdbus-codegen: /usr/bin/gdbus-codegen 1381s # tmpdir: /tmp/tmp7q1qitgv 1381s # /tmp/tmp7q1qitgv/tmp9ybplgbk.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7q1qitgv/tmp9ybplgbk.xml', '--output', '-', '--header'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for FDPassing */ 1381s # 1381s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1381s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1381s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1381s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1381s # 1381s # struct _FDPassing; 1381s # typedef struct _FDPassing FDPassing; 1381s # typedef struct _FDPassingIface FDPassingIface; 1381s # 1381s # struct _FDPassingIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # gboolean (*handle_hello_fd) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *arg_greeting); 1381s # 1381s # gboolean (*handle_no_annotation) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale); 1381s # 1381s # gboolean (*handle_no_annotation_nested) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *arg_files); 1381s # 1381s # }; 1381s # 1381s # GType fdpassing_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1381s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void fdpassing_complete_hello_fd ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *response); 1381s # 1381s # void fdpassing_complete_no_annotation ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *response, 1381s # const gchar *response_locale); 1381s # 1381s # void fdpassing_complete_no_annotation_nested ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void fdpassing_call_hello_fd ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GUnixFDList *fd_list, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_hello_fd_finish ( 1381s # FDPassing *proxy, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_hello_fd_sync ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GUnixFDList *fd_list, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_finish ( 1381s # FDPassing *proxy, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation_nested ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_finish ( 1381s # FDPassing *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1381s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1381s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1381s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1381s # 1381s # typedef struct _FDPassingProxy FDPassingProxy; 1381s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1381s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1381s # 1381s # struct _FDPassingProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # FDPassingProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void fdpassing_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1381s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1381s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1381s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1381s # 1381s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1381s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1381s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1381s # 1381s # struct _FDPassingSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # FDPassingSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # FDPassing *fdpassing_skeleton_new (void); 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s # 1381s # /tmp/tmp7q1qitgv/tmprkyh_790.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7q1qitgv/tmprkyh_790.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for FDPassing */ 1381s # 1381s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1381s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1381s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1381s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1381s # 1381s # struct _FDPassing; 1381s # typedef struct _FDPassing FDPassing; 1381s # typedef struct _FDPassingIface FDPassingIface; 1381s # 1381s # struct _FDPassingIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # gboolean (*handle_hello_fd) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *arg_greeting); 1381s # 1381s # gboolean (*handle_no_annotation) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale); 1381s # 1381s # gboolean (*handle_no_annotation_nested) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *arg_files); 1381s # 1381s # }; 1381s # 1381s # GType fdpassing_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1381s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void fdpassing_complete_hello_fd ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *response); 1381s # 1381s # void fdpassing_complete_no_annotation ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GVariant *response, 1381s # const gchar *response_locale); 1381s # 1381s # void fdpassing_complete_no_annotation_nested ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void fdpassing_call_hello_fd ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GUnixFDList *fd_list, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_hello_fd_finish ( 1381s # FDPassing *proxy, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_hello_fd_sync ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GUnixFDList *fd_list, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_finish ( 1381s # FDPassing *proxy, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation_nested ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_finish ( 1381s # FDPassing *proxy, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1381s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1381s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1381s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1381s # 1381s # typedef struct _FDPassingProxy FDPassingProxy; 1381s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1381s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1381s # 1381s # struct _FDPassingProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # FDPassingProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void fdpassing_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1381s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1381s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1381s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1381s # 1381s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1381s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1381s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1381s # 1381s # struct _FDPassingSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # FDPassingSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # FDPassing *fdpassing_skeleton_new (void); 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s # 1381s # /tmp/tmp7q1qitgv/tmp98lr3o8s.xml: 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # 1381s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7q1qitgv/tmp98lr3o8s.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1381s # Return code: 0 1381s # Output: 1381s # /* 1381s # * This file is generated by gdbus-codegen, do not modify it. 1381s # * 1381s # * The license of this code is the same as for the D-Bus interface description 1381s # * it was derived from. Note that it links to GLib, so must comply with the 1381s # * LGPL linking clauses. 1381s # */ 1381s # 1381s # #ifndef __STDOUT__ 1381s # #define __STDOUT__ 1381s # 1381s # #include 1381s # 1381s # G_BEGIN_DECLS 1381s # 1381s # 1381s # /* ------------------------------------------------------------------------ */ 1381s # /* Declarations for FDPassing */ 1381s # 1381s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1381s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1381s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1381s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1381s # 1381s # struct _FDPassing; 1381s # typedef struct _FDPassing FDPassing; 1381s # typedef struct _FDPassingIface FDPassingIface; 1381s # 1381s # struct _FDPassingIface 1381s # { 1381s # GTypeInterface parent_iface; 1381s # 1381s # gboolean (*handle_hello_fd) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *arg_greeting); 1381s # 1381s # gboolean (*handle_no_annotation) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale); 1381s # 1381s # gboolean (*handle_no_annotation_nested) ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # GVariant *arg_files); 1381s # 1381s # }; 1381s # 1381s # GType fdpassing_get_type (void) G_GNUC_CONST; 1381s # 1381s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1381s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1381s # 1381s # 1381s # /* D-Bus method call completion functions: */ 1381s # void fdpassing_complete_hello_fd ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # const gchar *response); 1381s # 1381s # void fdpassing_complete_no_annotation ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list, 1381s # GVariant *response, 1381s # const gchar *response_locale); 1381s # 1381s # void fdpassing_complete_no_annotation_nested ( 1381s # FDPassing *object, 1381s # GDBusMethodInvocation *invocation, 1381s # GUnixFDList *fd_list); 1381s # 1381s # 1381s # 1381s # /* D-Bus method calls: */ 1381s # void fdpassing_call_hello_fd ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_hello_fd_finish ( 1381s # FDPassing *proxy, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_hello_fd_sync ( 1381s # FDPassing *proxy, 1381s # const gchar *arg_greeting, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # gchar ** out_response, 1381s # GUnixFDList **out_fd_list, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_finish ( 1381s # FDPassing *proxy, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GUnixFDList **out_fd_list, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_greeting, 1381s # const gchar *arg_greeting_locale, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # GVariant ** out_response, 1381s # gchar ** out_response_locale, 1381s # GUnixFDList **out_fd_list, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_call_no_annotation_nested ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_finish ( 1381s # FDPassing *proxy, 1381s # GUnixFDList **out_fd_list, 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # 1381s # gboolean fdpassing_call_no_annotation_nested_sync ( 1381s # FDPassing *proxy, 1381s # GVariant *arg_files, 1381s # GDBusCallFlags call_flags, 1381s # gint timeout_msec, 1381s # GUnixFDList *fd_list, 1381s # GUnixFDList **out_fd_list, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1381s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1381s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1381s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1381s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1381s # 1381s # typedef struct _FDPassingProxy FDPassingProxy; 1381s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1381s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1381s # 1381s # struct _FDPassingProxy 1381s # { 1381s # /*< private >*/ 1381s # GDBusProxy parent_instance; 1381s # FDPassingProxyPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingProxyClass 1381s # { 1381s # GDBusProxyClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1381s # #endif 1381s # 1381s # void fdpassing_proxy_new ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_sync ( 1381s # GDBusConnection *connection, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # void fdpassing_proxy_new_for_bus ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GAsyncReadyCallback callback, 1381s # gpointer user_data); 1381s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1381s # GAsyncResult *res, 1381s # GError **error); 1381s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1381s # GBusType bus_type, 1381s # GDBusProxyFlags flags, 1381s # const gchar *name, 1381s # const gchar *object_path, 1381s # GCancellable *cancellable, 1381s # GError **error); 1381s # 1381s # 1381s # /* ---- */ 1381s # 1381s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1381s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1381s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1381s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1381s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1381s # 1381s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1381s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1381s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1381s # 1381s # struct _FDPassingSkeleton 1381s # { 1381s # /*< private >*/ 1381s # GDBusInterfaceSkeleton parent_instance; 1381s # FDPassingSkeletonPrivate *priv; 1381s # }; 1381s # 1381s # struct _FDPassingSkeletonClass 1381s # { 1381s # GDBusInterfaceSkeletonClass parent_class; 1381s # }; 1381s # 1381s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1381s # 1381s # #if GLIB_CHECK_VERSION(2, 44, 0) 1381s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1381s # #endif 1381s # 1381s # FDPassing *fdpassing_skeleton_new (void); 1381s # 1381s # 1381s # G_END_DECLS 1381s # 1381s # #endif /* __STDOUT__ */ 1381s # Error: 1381s 1..45 1381s ok - glib/codegen.py.test 1381s # Running test: glib/testing-nonfatal.test 1381s ok - glib/testing-nonfatal.test 1381s # Running test: glib/signals-refcount3.test 1381s TAP version 14 1381s # random seed: R02S4262b15e9e038ce6258616d5532a438c 1381s ** 1381s 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?") 1381s # 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?") 1381s TAP version 14 1381s # random seed: R02S27eafb1e198678372f27da141d67bc1b 1381s 1..1 1381s # Start of gobject tests 1381s # Start of refcount tests 1381s # init 0x108cb1bed2c0 1381s # 1381s # init 0x108cb1be5580 1381s # 1382s # Executing: glib/signals-refcount3.test 1386s ok - glib/signals-refcount3.test 1386s # Running test: glib/gdbus-server-auth.test 1386s # dispose 0x108cb1bed2c0! 1386s # 1386s # dispose 0x108cb1be5580! 1386s # 1386s ok 1 /gobject/refcount/signals 1386s # slow test /gobject/refcount/signals executed in 5.00 secs 1386s # End of refcount tests 1386s # End of gobject tests 1386s TAP version 14 1386s # random seed: R02Sba0add601c4497d6a18493f87b010d13 1386s 1..10 1386s # Start of gdbus tests 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/.dirs/runtime 1386s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-8XOJK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1386s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-8XOJK3/dbus-hfiryYFh 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8245 1386s ok 1 /gdbus/server-auth 1386s # Start of server-auth tests 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/abstract/.dirs/runtime 1386s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-CS3JK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1386s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-CS3JK3/dbus-s3pQaQl2 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8245 1386s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1386s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1386s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1386s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1386s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1386s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1387s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1387s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8245 1387s ok 2 /gdbus/server-auth/abstract 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/tcp/.dirs/runtime 1387s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1387s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/.dirs/runtime 1387s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-Y6ZIK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1387s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-Y6ZIK3/dbus-dRaF7kM3 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8245 1387s ok 4 /gdbus/server-auth/anonymous 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/.dirs/runtime 1387s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-3V7KK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1387s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-3V7KK3/dbus-DtLdLEMA 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8245 1387s ok 5 /gdbus/server-auth/external 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/.dirs/runtime 1387s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-FZELK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1387s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/path-in-use/.dirs/runtime 1387s ok 7 /gdbus/server-auth/path-in-use 1387s # Start of anonymous tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1387s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1387s ok 8 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1387s # End of anonymous tests 1387s # Start of external tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1387s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-HZFLK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1387s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XFRJK3/gdbus-server-auth-HZFLK3/dbus-chHDYNJW 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8245 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1387s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1387s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8245,uid=1000,gid=1000 1387s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8245 1387s ok 9 /gdbus/server-auth/external/require-same-user 1387s # End of external tests 1387s # Start of sha1 tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XFRJK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1387s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1387s ok 10 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1387s # End of sha1 tests 1387s # End of server-auth tests 1387s # End of gdbus tests 1387s TAP version 14 1387s # random seed: R02S61fddb8997ce46225012a90defb2a6dc 1387s 1..1 1387s # Start of power-profile-monitor tests 1387s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1387s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1387s ok 1 /power-profile-monitor/default 1387s # End of power-profile-monitor tests 1387s TAP version 14 1387s # random seed: R02S0935acfb95571f5513d1315958470f55 1387s 1..1 1387s # Start of gdbus tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_WJVKK3/gdbus/non-socket/.dirs/runtime 1387s ok - glib/gdbus-server-auth.test 1387s # Running test: glib/power-profile-monitor.test 1387s ok - glib/power-profile-monitor.test 1387s # Running test: glib/gdbus-non-socket.test 1387s ok - glib/gdbus-non-socket.test 1387s # Running test: glib/gdbus-addresses.test 1387s ok 1 /gdbus/non-socket 1387s # End of gdbus tests 1387s ok - glib/gdbus-addresses.test 1387s # Running test: glib/properties.test 1387s TAP version 14 1387s # random seed: R02S0cf78707f654b44d1e02e2dbd029b6f1 1387s 1..9 1387s # Start of gdbus tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/empty-address/.dirs/runtime 1387s ok 1 /gdbus/empty-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unsupported-address/.dirs/runtime 1387s ok 2 /gdbus/unsupported-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/address-parsing/.dirs/runtime 1387s ok 3 /gdbus/address-parsing 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/unix-address/.dirs/runtime 1387s ok 4 /gdbus/unix-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/nonce-tcp-address/.dirs/runtime 1387s ok 5 /gdbus/nonce-tcp-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/tcp-address/.dirs/runtime 1387s ok 6 /gdbus/tcp-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/autolaunch-address/.dirs/runtime 1387s ok 7 /gdbus/autolaunch-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/mixed-address/.dirs/runtime 1387s ok 8 /gdbus/mixed-address 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_44Z4J3/gdbus/escape-address/.dirs/runtime 1387s ok 9 /gdbus/escape-address 1387s # End of gdbus tests 1387s TAP version 14 1387s # random seed: R02Sd7cca72192a5b60de270957234ddfa29 1387s 1..14 1387s # Start of properties tests 1387s ok 1 /properties/install 1387s ok 2 /properties/install-many 1387s ok 3 /properties/notify 1387s ok 4 /properties/notify-queue 1387s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1387s ok 5 /properties/construct 1387s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1387s # Test g_object_get_property with an initialized value 1387s # Test g_object_get_property with an uninitialized value 1387s # Test g_object_get_property with a transformable value 1387s ok 6 /properties/get-property 1387s ok 7 /properties/testv_with_no_properties 1387s ok 8 /properties/testv_with_valid_properties 1387s ok 9 /properties/testv_with_invalid_property_type 1387s ok 10 /properties/testv_with_invalid_property_names 1387s ok 11 /properties/testv_getv 1387s ok - glib/properties.test 1387s # Running test: glib/overflow-fallback.test 1387s ok - glib/overflow-fallback.test 1387s # Running test: glib/ifaceproperties.test 1387s ok - glib/ifaceproperties.test 1387s # Running test: glib/refcount-macro.test 1387s ok - glib/refcount-macro.test 1387s # Running test: glib/gdbus-connection-slow.test 1387s ok 12 /properties/testv_notify_queue 1387s # Start of notify tests 1387s ok 13 /properties/notify/too-many-freezes 1387s # End of notify tests 1387s # Start of set-property tests 1387s # Start of variant tests 1387s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1387s ok 14 /properties/set-property/variant/floating 1387s # End of variant tests 1387s # End of set-property tests 1387s # End of properties tests 1387s TAP version 14 1387s # random seed: R02S407fece7c41fbf68f71d23e15c31effe 1387s 1..6 1387s # Start of glib tests 1387s # Start of checked-math tests 1387s ok 1 /glib/checked-math/guint-add 1387s ok 2 /glib/checked-math/guint-mul 1387s ok 3 /glib/checked-math/guint64-add 1387s ok 4 /glib/checked-math/guint64-mul 1387s ok 5 /glib/checked-math/gsize-add 1387s ok 6 /glib/checked-math/gsize-mul 1387s # End of checked-math tests 1387s # End of glib tests 1387s TAP version 14 1387s # random seed: R02S792d56bbec6ba02d7bcb564095878b14 1387s 1..7 1387s # Start of interface tests 1387s # Start of properties tests 1387s ok 1 /interface/properties/set 1387s ok 2 /interface/properties/notify 1387s ok 3 /interface/properties/find-overridden 1387s ok 4 /interface/properties/list-overridden 1387s ok 5 /interface/properties/find-interface 1387s ok 6 /interface/properties/list-interface 1387s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1387s ok 7 /interface/properties/not-overridden 1387s # End of properties tests 1387s # End of interface tests 1387s TAP version 14 1387s # random seed: R02Sd8a99dd7b10f8ce43dcbc96af2d17287 1387s 1..4 1387s # Start of refcount tests 1387s ok 1 /refcount/grefcount 1387s ok 2 /refcount/gatomicrefcount 1387s # Start of grefcount tests 1387s ok 3 /refcount/grefcount/saturation 1387s # End of grefcount tests 1387s # Start of gatomicrefcount tests 1387s ok 4 /refcount/gatomicrefcount/saturation 1387s # End of gatomicrefcount tests 1387s # End of refcount tests 1387s TAP version 14 1387s # random seed: R02S0c6787489b3846502518dea886a13250 1387s 1..2 1387s # Start of gdbus tests 1387s # Start of connection tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/flush/.dirs/runtime 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s ok 1 /gdbus/connection/flush 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_3P46J3/gdbus/connection/large_message/.dirs/runtime 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1387s ok 2 /gdbus/connection/large_message 1387s # End of connection tests 1387s # End of gdbus tests 1387s ok - glib/gdbus-connection-slow.test 1387s # Running test: glib/cxx-14.test 1387s ok - glib/cxx-14.test 1387s # Running test: glib/function-info.test 1387s ok - glib/function-info.test 1387s # Running test: glib/objects-refcount1.test 1387s TAP version 14 1387s # random seed: R02Scec85485968a9081fdd1d0020bce218a 1387s 1..2 1387s # Start of gtask tests 1387s # 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. 1387s ok 1 /gtask/name 1387s # Start of name tests 1387s # 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. 1387s ok 2 /gtask/name/macro-wrapper 1387s # End of name tests 1387s # End of gtask tests 1387s TAP version 14 1387s # random seed: R02S10e108852093721341f41b2076749b86 1387s 1..1 1387s # Start of function-info tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_8WAFK3/function-info/invoker/.dirs/runtime 1387s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1387s # /function-info/invoker summary: Test preparing a function invoker 1387s ok 1 /function-info/invoker 1387s # End of function-info tests 1387s TAP version 14 1387s # random seed: R02Saadd432ece9bc09897a81be6fc8e621f 1387s 1..1 1387s # Start of gobject tests 1387s # Start of refcount tests 1387s # init 0x1aabda82dbb0 1387s # 1387s # init 0x1aabda82dcc0 1387s # 1388s # Executing: glib/objects-refcount1.test 1392s ok - glib/objects-refcount1.test 1392s # Running test: glib/io-stream.test 1392s # dispose 0x1aabda82dbb0! 1392s # 1392s # dispose 0x1aabda82dcc0! 1392s # 1392s ok 1 /gobject/refcount/object-basics 1392s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1392s # End of refcount tests 1392s # End of gobject tests 1392s TAP version 14 1392s # random seed: R02Sdf5aff991efab4dea0c83a4b4ee9e6a7 1392s 1..3 1392s # Start of io-stream tests 1392s ok 1 /io-stream/copy-chunks 1392s # Start of close tests 1392s # Start of async tests 1392s ok 2 /io-stream/close/async/memory 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1392s ok 3 /io-stream/close/async/file 1392s # End of async tests 1392s # End of close tests 1392s # End of io-stream tests 1392s ok - glib/io-stream.test 1392s # Running test: glib/network-monitor.test 1392s TAP version 14 1392s # random seed: R02S0ff2f59db3b7c8867d314e43673ebae7 1392s 1..4 1392s # Start of network-monitor tests 1392s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1392s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1392s ok 1 /network-monitor/default 1392s ok 2 /network-monitor/remove_default 1392s ok 3 /network-monitor/add_networks 1392s ok 4 /network-monitor/remove_networks 1392s # End of network-monitor tests 1392s TAP version 14 1392s # random seed: R02Sde5ec9d973db385ebde9378734efe409 1392s 1..90 1392s # Start of pattern tests 1392s # Start of compile tests 1392s ok 1 /pattern/compile/0 1392s ok 2 /pattern/compile/1 1392s ok 3 /pattern/compile/2 1392s ok 4 /pattern/compile/3 1392s ok 5 /pattern/compile/4 1392s ok 6 /pattern/compile/5 1392s ok 7 /pattern/compile/6 1392s ok 8 /pattern/compile/7 1392s ok 9 /pattern/compile/8 1392s ok 10 /pattern/compile/9 1392s ok 11 /pattern/compile/10 1392s ok 12 /pattern/compile/11 1392s ok 13 /pattern/compile/12 1392s ok 14 /pattern/compile/13 1392s # End of compile tests 1392s # Start of copy tests 1392s ok 15 /pattern/copy/0 1392s ok 16 /pattern/copy/1 1392s ok 17 /pattern/copy/2 1392s ok 18 /pattern/copy/3 1392s ok 19 /pattern/copy/4 1392s ok 20 /pattern/copy/5 1392s ok 21 /pattern/copy/6 1392s ok 22 /pattern/copy/7 1392s ok 23 /pattern/copy/8 1392s ok 24 /pattern/copy/9 1392s ok 25 /pattern/copy/10 1392s ok 26 /pattern/copy/11 1392s ok 27 /pattern/copy/12 1392s ok 28 /pattern/copy/13 1392s # End of copy tests 1392s # Start of match tests 1392s ok 29 /pattern/match/0 1392s ok 30 /pattern/match/1 1392s ok 31 /pattern/match/2 1392s ok 32 /pattern/match/3 1392s ok 33 /pattern/match/4 1392s ok 34 /pattern/match/5 1392s ok 35 /pattern/match/6 1392s ok 36 /pattern/match/7 1392s ok 37 /pattern/match/8 1392s ok 38 /pattern/match/9 1392s ok 39 /pattern/match/10 1392s ok 40 /pattern/match/11 1392s ok 41 /pattern/match/12 1392s ok 42 /pattern/match/13 1392s ok 43 /pattern/match/14 1392s ok 44 /pattern/match/15 1392s ok 45 /pattern/match/16 1392s ok 46 /pattern/match/17 1392s ok 47 /pattern/match/18 1392s ok 48 /pattern/match/19 1392s ok 49 /pattern/match/20 1392s ok 50 /pattern/match/21 1392s ok 51 /pattern/match/22 1392s ok 52 /pattern/match/23 1392s ok 53 /pattern/match/24 1392s ok 54 /pattern/match/25 1392s ok 55 /pattern/match/26 1392s ok 56 /pattern/match/27 1392s ok 57 /pattern/match/28 1392s ok 58 /pattern/match/29 1392s ok 59 /pattern/match/30 1392s ok 60 /pattern/match/31 1392s ok 61 /pattern/match/32 1392s ok 62 /pattern/match/33 1392s ok 63 /pattern/match/34 1392s ok 64 /pattern/match/35 1392s ok 65 /pattern/match/36 1392s ok 66 /pattern/match/37 1392s ok 67 /pattern/match/38 1392s ok 68 /pattern/match/39 1392s ok 69 /pattern/match/40 1392s ok 70 /pattern/match/41 1392s ok 71 /pattern/match/42 1392s ok 72 /pattern/match/43 1392s ok 73 /pattern/match/44 1392s ok 74 /pattern/match/45 1392s ok 75 /pattern/match/46 1392s ok 76 /pattern/match/47 1392s ok 77 /pattern/match/48 1392s ok 78 /pattern/match/49 1392s ok 79 /pattern/match/50 1392s # End of match tests 1392s # Start of equal tests 1392s ok 80 /pattern/equal/0 1392s ok 81 /pattern/equal/1 1392s ok 82 /pattern/equal/2 1392s ok 83 /pattern/equal/3 1392s ok 84 /pattern/equal/4 1392s ok 85 /pattern/equal/5 1392s ok 86 /pattern/equal/6 1392s ok 87 /pattern/equal/7 1392s ok 88 /pattern/equal/8 1392s ok 89 /pattern/equal/9 1392s ok 90 /pattern/equal/10 1392s # End of equal tests 1392s # End of pattern tests 1392s TAP version 14 1392s # random seed: R02Sdc937f2af5cdb5ff0e43fd85ef3bbf6c 1392s 1..2 1392s # Start of io-channel tests 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_RPAHK3/io-channel/read-write/.dirs/runtime 1392s # Line one 1392s # 1392s # Line two 1392s # 1392s # Line three 1392s # 1392s # /* Hello */ 1392s # 1392s # \x1234\x567890\x6666 1392s # 1392s # read 62 bytes, wrote 62 bytes 1392s ok 1 /io-channel/read-write 1392s # Start of read-line tests 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_RPAHK3/io-channel/read-line/embedded-nuls/.dirs/runtime 1392s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1392s ok 2 /io-channel/read-line/embedded-nuls 1392s # End of read-line tests 1392s # End of io-channel tests 1392s ok - glib/network-monitor.test 1392s # Running test: glib/pattern.test 1392s ok - glib/pattern.test 1392s # Running test: glib/io-channel.test 1392s ok - glib/io-channel.test 1392s # Running test: glib/private.test 1392s TAP version 14 1392s # random seed: R02Saf752b29b7a09733db6e550cd8e5f8f7 1392s 1..8 1392s # Start of thread tests 1392s ok 1 /thread/private1 1392s # Executing: glib/private.test 1393s ok 2 /thread/private2 1393s # slow test /thread/private2 executed in 1.08 secs 1393s ok 3 /thread/private3 1393s ok 4 /thread/staticprivate1 1393s ok 5 /thread/staticprivate2 1393s ok 6 /thread/staticprivate3 1394s ok - glib/private.test 1394s # Running test: glib/gobject-private.test 1394s ok - glib/gobject-private.test 1394s # Running test: glib/gdbus-error.test 1394s ok 7 /thread/staticprivate4 1394s # slow test /thread/staticprivate4 executed in 1.07 secs 1394s ok 8 /thread/staticprivate5 1394s # End of thread tests 1394s TAP version 14 1394s # random seed: R02Saaf20528d892d6cef8d43d5ec85ba027 1394s 1..3 1394s # Start of private tests 1394s ok 1 /private/instance 1394s ok 2 /private/derived-instance 1394s ok 3 /private/mixed-derived-instance 1394s # End of private tests 1394s TAP version 14 1394s # random seed: R02S344ff284eeb31f992777b3a56058f61e 1394s 1..4 1394s # Start of gdbus tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_43FJK3/gdbus/registered-errors/.dirs/runtime 1394s ok - glib/gdbus-error.test 1394s # Running test: glib/gdbus-exit-on-close.test 1394s ok 1 /gdbus/registered-errors 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_43FJK3/gdbus/unregistered-errors/.dirs/runtime 1394s ok 2 /gdbus/unregistered-errors 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_43FJK3/gdbus/transparent-gerror/.dirs/runtime 1394s ok 3 /gdbus/transparent-gerror 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_43FJK3/gdbus/register-error/.dirs/runtime 1394s ok 4 /gdbus/register-error 1394s # End of gdbus tests 1394s TAP version 14 1394s # random seed: R02S916320f51e0c4278caba6ceadfa2b09d 1394s 1..4 1394s # Start of gdbus tests 1394s # Start of exit-on-close tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/default/.dirs/runtime 1395s ok 1 /gdbus/exit-on-close/default 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/true/.dirs/runtime 1395s ok 2 /gdbus/exit-on-close/true 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/false/.dirs/runtime 1395s ok 3 /gdbus/exit-on-close/false 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_KFDJK3/gdbus/exit-on-close/we-close/.dirs/runtime 1395s ok 4 /gdbus/exit-on-close/we-close 1395s # Start of default tests 1395s # End of default tests 1395s # Start of true tests 1395s # End of true tests 1395s # Start of false tests 1395s # End of false tests 1395s # Start of we-close tests 1395s # End of we-close tests 1395s # End of exit-on-close tests 1395s # End of gdbus tests 1395s ok - glib/gdbus-exit-on-close.test 1395s # Running test: glib/logging.test 1395s TAP version 14 1395s # random seed: R02S6c0fcbfc461a6c2050121d60f399e1f2 1395s 1..20 1395s # Start of logging tests 1395s ok 1 /logging/default-handler 1395s ok 2 /logging/journald-handler 1395s ok 3 /logging/warnings 1395s ok 4 /logging/fatal-log-mask 1395s ok 5 /logging/always-fatal 1395s # bu-DEBUG: message 1395s # ba-DEBUG: message 1395s # ba-INFO: message 1395s ok 6 /logging/set-handler 1395s ok 7 /logging/print-handler 1395s ok 8 /logging/printerr-handler 1395s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1395s # The Log Message Handler 1395s # 1395s # The Good Fail Message Handler 1395s # 1395s ok 9 /logging/653052 1395s ok 10 /logging/gibberish 1395s # Start of default-handler tests 1395s # Start of subprocess tests 1395s # End of subprocess tests 1395s # End of default-handler tests 1395s # End of logging tests 1395s # Start of structured-logging tests 1395s ok 11 /structured-logging/no-state 1395s ok 12 /structured-logging/some-state 1395s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1395s ok 13 /structured-logging/recursion-overflow 1395s ok 14 /structured-logging/robustness 1395s ok 15 /structured-logging/roundtrip1 1395s ok 16 /structured-logging/roundtrip2 1395s ok - glib/logging.test 1395s # Running test: glib/registered-type-info.test 1395s ok - glib/registered-type-info.test 1395s # Running test: glib/network-address.test 1395s ok 17 /structured-logging/roundtrip3 1395s ok 18 /structured-logging/variant1 1395s ok 19 /structured-logging/variant2 1395s ok 20 /structured-logging/set-writer-func-twice 1395s # End of structured-logging tests 1395s TAP version 14 1395s # random seed: R02Sb19371a325e6656bc696ce98b7dd6e71 1395s 1..1 1395s # Start of registered-type-info tests 1395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/home 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/cache 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/system-config2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/config 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/system-data2 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/data 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/state 1395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_J6A9J3/registered-type-info/boxed/.dirs/runtime 1395s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1395s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1395s # Expecting CClosure to not be boxed 1395s # Expecting TypeCValue to not be boxed 1395s # Expecting InitiallyUnownedClass to not be boxed 1395s # Expecting BookmarkFile to be boxed 1395s # Expecting Closure to be boxed 1395s # Expecting Object to not be boxed 1395s ok 1 /registered-type-info/boxed 1395s # End of registered-type-info tests 1395s TAP version 14 1395s # random seed: R02S113e5f304fceb5e931094ea1541ed4d2 1395s 1..72 1395s # Start of network-address tests 1395s ok 1 /network-address/basic 1395s ok 2 /network-address/scope-id 1395s ok 3 /network-address/uri-scope-id 1395s ok 4 /network-address/to-string 1395s # Start of parse-host tests 1395s ok 5 /network-address/parse-host/0 1395s ok 6 /network-address/parse-host/1 1395s ok 7 /network-address/parse-host/2 1395s ok 8 /network-address/parse-host/3 1395s ok 9 /network-address/parse-host/4 1395s ok 10 /network-address/parse-host/5 1395s ok 11 /network-address/parse-host/6 1395s ok 12 /network-address/parse-host/7 1395s ok 13 /network-address/parse-host/8 1395s ok 14 /network-address/parse-host/9 1395s ok 15 /network-address/parse-host/10 1395s ok 16 /network-address/parse-host/11 1395s ok 17 /network-address/parse-host/12 1395s ok 18 /network-address/parse-host/13 1395s # End of parse-host tests 1395s # Start of parse-uri tests 1395s ok 19 /network-address/parse-uri/0 1395s ok 20 /network-address/parse-uri/1 1395s ok 21 /network-address/parse-uri/2 1395s ok 22 /network-address/parse-uri/3 1395s ok 23 /network-address/parse-uri/4 1395s ok 24 /network-address/parse-uri/5 1395s ok 25 /network-address/parse-uri/6 1395s ok 26 /network-address/parse-uri/7 1395s ok 27 /network-address/parse-uri/8 1395s ok 28 /network-address/parse-uri/9 1395s # End of parse-uri tests 1395s # Start of resolve-address tests 1395s # Input: 192.168.1.2 1395s ok 29 /network-address/resolve-address/0 1395s # Input: fe80::42 1395s ok 30 /network-address/resolve-address/1 1395s # Input: 192.168.1.2:80 1395s ok 31 /network-address/resolve-address/2 1395s # Input: [fe80::42] 1395s ok 32 /network-address/resolve-address/3 1395s # Input: [fe80::42]:80 1395s ok 33 /network-address/resolve-address/4 1395s # Input: 192.168.258 1395s ok 34 /network-address/resolve-address/5 1395s # Input: 192.11010306 1395s ok 35 /network-address/resolve-address/6 1395s # Input: 3232235778 1395s ok 36 /network-address/resolve-address/7 1395s # Input: 0300.0250.0001.0001 1395s ok 37 /network-address/resolve-address/8 1395s # Input: 0xC0.0xA8.0x01.0x02 1395s ok 38 /network-address/resolve-address/9 1395s # Input: 0xc0.0xa8.0x01.0x02 1395s ok 39 /network-address/resolve-address/10 1395s # Input: 0xc0a80102 1395s ok 40 /network-address/resolve-address/11 1395s # End of resolve-address tests 1395s # Start of loopback tests 1395s ok 41 /network-address/loopback/basic 1395s ok 42 /network-address/loopback/sync 1395s ok 43 /network-address/loopback/async 1395s # End of loopback tests 1395s # Start of localhost tests 1395s ok 44 /network-address/localhost/async 1395s ok 45 /network-address/localhost/sync 1395s # End of localhost tests 1395s # Start of happy-eyeballs tests 1395s ok 46 /network-address/happy-eyeballs/basic 1395s ok 47 /network-address/happy-eyeballs/parallel 1395s ok 48 /network-address/happy-eyeballs/slow-ipv4 1395s ok 49 /network-address/happy-eyeballs/slow-ipv6 1396s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1396s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1396s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1396s # /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. 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1397s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1397s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1397s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1397s ok 57 /network-address/happy-eyeballs/both-error 1397s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1397s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1397s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1397s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1397s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1397s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1397s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1397s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1397s # End of happy-eyeballs tests 1397s # End of network-address tests 1397s # Start of gresolver tests 1397s # Start of resolve-address tests 1397s # Input: 192.168.1.2 1397s ok 61 /gresolver/resolve-address/0 1397s # Input: fe80::42 1397s ok 62 /gresolver/resolve-address/1 1397s # Input: 192.168.1.2:80 1397s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1397s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1397s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1397s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1397s ok - glib/network-address.test 1397s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1397s ok 63 /gresolver/resolve-address/2 1397s # Input: [fe80::42] 1397s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1397s # Error: Error resolving “[fe80::42]”: Name or service not known 1397s ok 64 /gresolver/resolve-address/3 1397s # Input: [fe80::42]:80 1397s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1397s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1397s ok 65 /gresolver/resolve-address/4 1397s # Input: 192.168.258 1397s # Error: Error resolving “192.168.258”: Name or service not known 1397s ok 66 /gresolver/resolve-address/5 1397s # Input: 192.11010306 1397s # Error: Error resolving “192.11010306”: Name or service not known 1397s ok 67 /gresolver/resolve-address/6 1397s # Input: 3232235778 1397s # Error: Error resolving “3232235778”: Name or service not known 1397s ok 68 /gresolver/resolve-address/7 1397s # Input: 0300.0250.0001.0001 1397s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1397s ok 69 /gresolver/resolve-address/8 1397s # Input: 0xC0.0xA8.0x01.0x02 1397s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1397s ok 70 /gresolver/resolve-address/9 1397s # Input: 0xc0.0xa8.0x01.0x02 1397s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1397s ok 71 /gresolver/resolve-address/10 1397s # Input: 0xc0a80102 1397s # Error: Error resolving “0xc0a80102”: Name or service not known 1397s ok 72 /gresolver/resolve-address/11 1397s # End of resolve-address tests 1397s # End of gresolver tests 1397s TAP version 14 1397s # random seed: R02S0ed8e024392ded85fd61ef3d0943997d 1397s 1..8 1397s # Start of scanner tests 1397s ok 1 /scanner/warn 1397s # Running test: glib/scannerapi.test 1397s ok 2 /scanner/error 1397s ok - glib/scannerapi.test 1397s ok 3 /scanner/symbols 1397s ok 4 /scanner/tokens 1397s ok 5 /scanner/multiline-comment 1397s ok 6 /scanner/int-to-float 1397s ok 7 /scanner/fd-input 1397s # Start of fd-input tests 1397s ok 8 /scanner/fd-input/rewind 1397s # End of fd-input tests 1397s # End of scanner tests 1397s # Running test: glib/gdbus-test-codegen-old.test 1397s TAP version 14 1397s # random seed: R02S65630f5e63442646842eb61725410992 1397s 1..8 1397s # Start of gdbus tests 1397s # Start of codegen tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/annotations/.dirs/runtime 1397s ok 1 /gdbus/codegen/annotations 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/interface_stability/.dirs/runtime 1397s ok 2 /gdbus/codegen/interface_stability 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/object-manager/.dirs/runtime 1397s ok 3 /gdbus/codegen/object-manager 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/property-naming/.dirs/runtime 1397s ok 4 /gdbus/codegen/property-naming 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/autocleanups/.dirs/runtime 1397s ok 5 /gdbus/codegen/autocleanups 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/deprecations/.dirs/runtime 1397s ok 6 /gdbus/codegen/deprecations 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1397s ok 7 /gdbus/codegen/standalone-interface-info 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8NHOK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1397s ok 8 /gdbus/codegen/unix-fd-list 1397s # End of codegen tests 1397s # End of gdbus tests 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s ok - glib/gdbus-test-codegen-old.test 1397s # Running test: glib/thread-pool-slow.test 1397s TAP version 14 1397s # random seed: R02S7722da566a17d057c6bd9fd5eee59eaa 1397s 1..7 1397s # Start of threadpool tests 1397s ok 1 /threadpool/functions 1397s ok 2 /threadpool/stop-unused 1397s # slow test /threadpool/stop-unused executed in 0.51 secs 1397s ok 3 /threadpool/pools 1397s # [unsorted] ===> pushed new thread with id:27, number of threads:1, unprocessed:1 1397s # [unsorted] ===> pushed new thread with id:45, number of threads:2, unprocessed:1 1397s # [unsorted] ===> pushed new thread with id:13, number of threads:3, unprocessed:1 1397s # [unsorted] ===> pushed new thread with id:71, number of threads:4, unprocessed:2 1397s # [unsorted] ===> pushed new thread with id:100, number of threads:5, unprocessed:1 1397s # [unsorted] ===> pushed new thread with id:61, number of threads:6, unprocessed:2 1397s # [unsorted] ===> pushed new thread with id:58, number of threads:7, unprocessed:3 1397s # [unsorted] ===> pushed new thread with id:72, number of threads:8, unprocessed:3 1397s # [unsorted] ===> pushed new thread with id:77, number of threads:9, unprocessed:3 1397s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:4 1397s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:5 1397s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:6 1397s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:7 1397s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:8 1397s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:9 1397s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:10 1397s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 1397s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:8 1397s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:9 1397s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:10 1397s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:11 1397s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:12 1397s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:13 1397s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:14 1397s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:15 1397s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:16 1397s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:17 1397s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:18 1397s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:19 1397s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:20 1397s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:21 1397s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:22 1397s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:23 1397s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:24 1397s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:25 1397s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:26 1397s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:27 1397s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:28 1397s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:29 1397s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:30 1397s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:31 1397s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:32 1397s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:33 1397s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:34 1397s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:35 1397s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:36 1397s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:37 1397s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:38 1397s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:39 1397s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:40 1397s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:41 1397s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:42 1397s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:43 1397s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:44 1397s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:45 1397s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:46 1397s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:47 1397s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:48 1397s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:49 1397s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:50 1397s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:51 1397s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:52 1397s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:53 1397s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:54 1397s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:55 1397s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:56 1397s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:57 1397s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:58 1397s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:59 1397s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:60 1397s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:61 1397s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:62 1397s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:63 1397s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:64 1397s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:65 1397s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:66 1397s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:67 1397s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:68 1397s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:69 1397s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:70 1397s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:71 1397s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:72 1397s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:73 1397s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:74 1397s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:75 1397s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:76 1397s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:77 1397s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:78 1397s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:79 1397s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:80 1397s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:81 1397s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:82 1397s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:83 1397s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:84 1397s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:85 1397s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:86 1397s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:87 1397s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:88 1397s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:89 1397s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:90 1397s ok 4 /threadpool/no-sort 1397s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:1 1397s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:2 1397s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:3 1397s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:4 1397s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:5 1397s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:6 1397s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:7 1397s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:8 1397s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:9 1397s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:10 1397s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:11 1397s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:12 1397s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:13 1397s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:14 1397s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:15 1397s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:16 1397s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:17 1397s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:18 1397s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:19 1397s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:20 1397s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:21 1397s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:22 1397s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:23 1397s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:24 1397s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:25 1397s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:26 1397s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:27 1397s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:28 1397s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:29 1397s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:30 1397s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:31 1397s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:32 1397s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:33 1397s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:34 1397s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:35 1397s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:36 1397s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:37 1397s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:38 1397s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:39 1397s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:40 1397s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:41 1397s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:42 1397s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:43 1397s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:44 1397s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:45 1397s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:46 1397s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:47 1397s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:48 1397s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:49 1397s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:50 1397s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:51 1397s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:52 1397s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:53 1397s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:54 1397s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:55 1397s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:56 1397s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:57 1397s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:58 1397s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:59 1397s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:60 1397s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:61 1397s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:62 1397s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:63 1397s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:64 1397s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:65 1397s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:66 1397s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:67 1397s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:68 1397s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:69 1397s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:70 1397s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:71 1397s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:72 1397s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:73 1397s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:74 1397s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:75 1397s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:76 1397s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:77 1397s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:78 1397s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:79 1397s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:80 1397s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:81 1397s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:82 1397s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:83 1397s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:84 1397s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:85 1397s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:86 1397s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:87 1397s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:88 1397s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:89 1397s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:90 1397s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:91 1397s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:92 1397s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:93 1397s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:94 1397s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:95 1397s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:96 1397s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:97 1397s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:98 1397s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:99 1397s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:100 1397s # Starting thread pool processing 1397s ok 5 /threadpool/sort 1397s # Executing: glib/thread-pool-slow.test 1398s ok 6 /threadpool/stop-unused-multiple 1398s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1398s # Pool idle thread count: 0, unprocessed jobs: 40 1398s # Pool idle thread count: 0, unprocessed jobs: 0 1398s # Pool idle thread count: 0, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Executing: glib/thread-pool-slow.test 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, unprocessed jobs: 0 1406s # Pool idle thread count: 10, unprocessed jobs: 0 1407s # Pool idle thread count: 10, unprocessed jobs: 2 1407s # Pool idle thread count: 8, unprocessed jobs: 0 1407s # Pool idle thread count: 8, unprocessed jobs: 0 1407s # Pool idle thread count: 8, unprocessed jobs: 0 1407s # Pool idle thread count: 10, unprocessed jobs: 0 1407s # Pool idle thread count: 10, unprocessed jobs: 0 1407s # Executing: glib/thread-pool-slow.test 1408s # Pool idle thread count: 10, unprocessed jobs: 0 1408s # Pool idle thread count: 10, unprocessed jobs: 0 1408s # Pool idle thread count: 10, unprocessed jobs: 0 1408s # Pool idle thread count: 10, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Executing: glib/thread-pool-slow.test 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1414s # Pool idle thread count: 2, unprocessed jobs: 0 1415s # Pool idle thread count: 2, unprocessed jobs: 0 1415s # Pool idle thread count: 2, unprocessed jobs: 0 1415s # Pool idle thread count: 2, unprocessed jobs: 0 1415s # Pool idle thread count: 2, unprocessed jobs: 0 1416s # Pool idle thread count: 2, unprocessed jobs: 0 1416s # Pool idle thread count: 2, unprocessed jobs: 0 1416s # Pool idle thread count: 2, unprocessed jobs: 0 1416s # Pool idle thread count: 2, unprocessed jobs: 0 1417s # Pool idle thread count: 2, unprocessed jobs: 0 1417s # Pool idle thread count: 2, unprocessed jobs: 0 1417s ok 7 /threadpool/idle-time 1417s # slow test /threadpool/idle-time executed in 19.52 secs 1417s # End of threadpool tests 1417s ok - glib/thread-pool-slow.test 1417s # Running test: glib/unicode-normalize.test 1417s TAP version 14 1417s # random seed: R02Sc7dc694ed21b4aa06a8f6ad593a17d5c 1417s 1..3 1417s # Start of unicode tests 1417s # Processing Part0 # Specific cases 1417s # Processing Part1 # Character by character test 1417s # Executing: glib/unicode-normalize.test 1417s # Processing Part2 # Canonical Order Test 1418s # Processing Part3 # PRI #29 Test 1418s # Processing Part4 # Canonical closures (excluding Hangul) 1418s # Processing Part5 # Chained primary composites 1418s ok 1 /unicode/normalize 1418s # Invalid UTF-8 vector 0 1418s # Invalid UTF-8 vector 1 1418s # Invalid UTF-8 vector 2 1418s # Invalid UTF-8 vector 3 1418s # Invalid UTF-8 vector 4 1418s # Invalid UTF-8 vector 5 1418s # Invalid UTF-8 vector 6 1418s # Invalid UTF-8 vector 7 1418s # Invalid UTF-8 vector 8 1418s # Invalid UTF-8 vector 9 1418s # Invalid UTF-8 vector 10 1418s ok - glib/unicode-normalize.test 1418s # Invalid UTF-8 vector 11 1418s # Invalid UTF-8 vector 12 1418s ok 2 /unicode/normalize-invalid 1418s # Start of normalize tests 1418s ok 3 /unicode/normalize/bad-length 1418s # End of normalize tests 1418s # End of unicode tests 1418s # Running test: glib/atomic.test 1418s TAP version 14 1418s # random seed: R02S2587f6f7e3d3cd50965cec32f48f5029 1418s 1..2 1418s # Start of atomic tests 1418s ok 1 /atomic/types 1418s ok - glib/atomic.test 1418s ok 2 /atomic/threaded 1418s # End of atomic tests 1418s # Running test: glib/gdbus-method-invocation.test 1418s TAP version 14 1418s # random seed: R02S2916383558d07c0164a2f7494886c756 1418s 1..1 1418s # Start of gdbus tests 1418s # Start of method-invocation tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_G9JNK3/gdbus/method-invocation/return/.dirs/runtime 1418s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1418s # Calling org.freedesktop.DBus.Properties.Get 1418s # Calling org.freedesktop.DBus.Properties.Get 1418s # Calling org.freedesktop.DBus.Properties.Get 1418s # Calling org.freedesktop.DBus.Properties.Set 1418s # Calling org.freedesktop.DBus.Properties.GetAll 1418s # Calling org.example.Foo.WrongReturnType 1418s # Calling org.example.Foo.GetFDs 1418s # Calling org.example.Foo.GetFDs 1418s # Calling org.example.Foo.ReturnError 1418s # Calling org.example.Foo.CloseBeforeReturning 1418s ok 1 /gdbus/method-invocation/return 1418s # End of method-invocation tests 1418s # End of gdbus tests 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s ok - glib/gdbus-method-invocation.test 1418s # Running test: glib/basics-gobject.test 1418s ok - glib/basics-gobject.test 1418s # Running test: glib/messages-low-memory.py.test 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1418s TAP version 14 1418s # random seed: R02S9315531e728e38afae28c19bcb4563e8 1418s 1..1 1418s # Start of gobject tests 1418s # private data during initialization: 54321 == 54321 1418s # MAIN: emit test-signal: 1418s # ::test_signal default_handler called 1418s # ::test_signal default_handler called 1418s # ::test_signal default_handler called 1418s # signal return: "" 1418s # MAIN: call iface print-string on test and derived object: 1418s # Iface-FOO: "iface-string-from-test-type" from 0x8c48a98e690 1418s # Iface-BAR: "iface-string-from-derived-type" from 0x8c48a98e540 1418s # chaining: 1418s # Iface-FOO: "iface-string-from-derived-type" from 0x8c48a98e540 1418s # private data after initialization: 54321 == 54321 1418s ok 1 /gobject/basics 1418s # End of gobject tests 1418s ok - glib/messages-low-memory.py.test 1418s # Running test: glib/converter.test 1418s ok - glib/converter.test 1418s TAP version 13 1418s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1418s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1418s # tmpdir: /tmp/tmpk7_htmda 1418s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1418s # Return code: -6 1418s # Output: 1418s # 1418s # Error: 1418s # GLib-Message: 16:22:36.517: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1418s # GLib-Message: 16:22:36.517: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1418s # ../../../glib/gprintf.c:351: failed to allocate memory 1418s 1..1 1418s TAP version 14 1418s # random seed: R02S80d5fec7a4bbf8072d53c6843291d2ea 1418s 1..3 1418s # Start of converter tests 1418s ok 1 /converter/bytes 1418s ok 2 /converter/extra-bytes-at-end 1418s ok 3 /converter/gzip-os-property 1418s # End of converter tests 1418s TAP version 14 1418s # random seed: R02Se9f2c357a36392fc43e0065741c47d75 1418s 1..1 1418s # Start of gobject tests 1418s # Start of refcount tests 1418s ok 1 /gobject/refcount/properties-4 1418s # End of refcount tests 1418s # End of gobject tests 1418s # Running test: glib/properties-refcount4.test 1418s ok - glib/properties-refcount4.test 1418s # Running test: glib/closure-refcount.test 1418s TAP version 14 1418s # random seed: R02S25179e91f1c7cf2f3f8b6fdf06fa40e7 1418s 1..1 1418s # Start of closure tests 1418s # Init 0x1586281b6db0 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from thread2 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from main thread 1418s # Yielding from thread1 1418s # Yielding from main thread 1418s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from thread2 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from thread1 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from thread2 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from thread1 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1419s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from thread2 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from thread1 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from thread2 1420s # Yielding from main thread 1420s # Yielding from thread1 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from main thread 1420s # Yielding from thread2 1420s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from thread1 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from thread2 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from thread1 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from thread2 1421s # Yielding from main thread 1421s # Yielding from main thread 1421s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from thread1 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from thread2 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from thread1 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from thread2 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Yielding from main thread 1422s # Executing: glib/closure-refcount.test 1422s # Yielding from main thread 1422s # Yielding from thread1 1422s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from thread2 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from thread1 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from thread2 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Yielding from main thread 1423s # Stopping 1423s # Stopped 1423s ok 1 /closure/refcount 1423s # slow test /closure/refcount executed in 5.57 secs 1423s # End of closure tests 1423s ok - glib/closure-refcount.test 1423s # Running test: glib/atomic-c-99.test 1423s TAP version 14 1423s # random seed: R02Sb4e2735b79c54b4fd62f42fe5a6082cf 1423s 1..2 1423s # Start of atomic tests 1423s ok 1 /atomic/types 1423s ok - glib/atomic-c-99.test 1423s ok 2 /atomic/threaded 1423s # End of atomic tests 1423s # Running test: glib/mapping.test 1423s TAP version 14 1423s # random seed: R02Sf5e8264aaa592726c8d527b896f8d8b3 1423s 1..3 1423s # Start of mapping tests 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_GV4JK3/mapping/flags/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_GV4JK3/mapping/flags/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GV4JK3/mapping/flags/.dirs/runtime 1423s # test_mapping: ok 1423s ok 1 /mapping/flags 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/system-config1:/tmp/test_mapping_GV4JK3/mapping/private/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/system-data1:/tmp/test_mapping_GV4JK3/mapping/private/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GV4JK3/mapping/private/.dirs/runtime 1423s ok 2 /mapping/private 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_GV4JK3/mapping/private-child/.dirs/runtime 1423s # test_child_private: child spawned 1423s # Subtest: /usr/libexec/installed-tests/glib/mapping 1423s # random seed: R02S09d1496683375dfcf40fd97571d4782a 1423s # test_child_private: received first child signal 1423s # test_child_private: received parent signal 1423s # Child exited with status 0 1423s # test_child_private: received second child signal 1423s ok 3 /mapping/private-child 1423s # End of mapping tests 1423s ok - glib/mapping.test 1423s # Running test: glib/dbus-appinfo.test 1423s TAP version 14 1423s # random seed: R02S5c37994cbea7ed85e70d00b4d0e5cb1f 1423s 1..9 1423s # Start of appinfo tests 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/runtime 1423s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1423s ok 1 /appinfo/dbusappinfo 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/runtime 1423s # /appinfo/flatpak-doc-export summary: Test that files opened by launching flatpak apps are made available via the document portal. 1423s # Created mount point /tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-X2V5IK3/documents 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Documents 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/config 1423s # Creating Document ID document-id-0 folder 1423s # Creating Document ID document-id-0 mapped to FD 14 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop) 1423s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-X2V5IK3/documents/document-id-0/org.gtk.test.dbusappinfo.flatpak.desktop' 1423s # fake-document-portal cancelled 1423s ok 2 /appinfo/flatpak-doc-export 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1423s # /appinfo/flatpak-missing-doc-export summary: Test that files opened by launching flatpak apps are not made available via the document portal. 1423s # Created mount point /tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-XVO0IK3/documents 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Documents 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/config 1423s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1423s # fake-document-portal cancelled 1423s ok 3 /appinfo/flatpak-missing-doc-export 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/runtime 1423s # /appinfo/snap-doc-export summary: Test that files opened by launching snap apps are made available via the document portal. 1423s # Created mount point /tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-XIELJK3/documents 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Documents 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/config 1423s # Creating Document ID document-id-0 folder 1423s # Creating Document ID document-id-0 mapped to FD 19 (/usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.snap.desktop) 1423s # on_sandboxed_app_open received file '/tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-XIELJK3/documents/document-id-0/org.gtk.test.dbusappinfo.snap.desktop' 1423s # fake-document-portal cancelled 1423s ok 4 /appinfo/snap-doc-export 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/runtime 1423s # /appinfo/snap-missing-doc-export summary: Test that files opened by launching snap apps are not made available via the document portal. 1423s # Created mount point /tmp/test_dbus-appinfo_AR0JK3/fake-document-portal-X59DJK3/documents 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Documents 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-doc-export/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/config 1423s # on_sandboxed_app_open received file '/hopefully/an/invalid/path.desktop' 1423s # fake-document-portal cancelled 1423s ok 5 /appinfo/snap-missing-doc-export 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/runtime 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Desktop 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/snap-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/config 1423s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1423s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/t 1423s # Response emitted 1423s # fake-desktop-portal cancelled 1423s ok 6 /appinfo/portal-open-file 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/runtime 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Desktop 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/config 1423s # Got open file request for http://example.com 1423s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/t 1423s # Response emitted 1423s ok 7 /appinfo/portal-open-uri 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/runtime 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Desktop 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/config 1423s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1423s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_13/gio591493433 1423s # Response emitted 1423s # fake-desktop-portal cancelled 1423s ok 8 /appinfo/portal-open-file-async 1423s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/home 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/cache 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/system-config2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/config 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/system-data2 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/data 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/state 1423s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/runtime 1423s # Acquired a message bus connection 1423s # Acquired the name org.freedesktop.portal.Desktop 1423s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_AR0JK3/appinfo/portal-open-uri-async/.dirs/config 1423s # Got open file request for http://example.com 1423s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_15/gio162849006 1423s # Response emitted 1423s # fake-desktop-portal cancelled 1424s ok 9 /appinfo/portal-open-uri-async 1424s # End of appinfo tests 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1424s ok - glib/dbus-appinfo.test 1424s # Running test: glib/unix-fd.test 1424s TAP version 14 1424s # random seed: R02S7514ff52e4d5ce8d43ca1888c390cf4c 1424s 1..2 1424s # Start of unix-fd tests 1424s ok 1 /unix-fd/fd-list 1424s ok 2 /unix-fd/scm 1424s # End of unix-fd tests 1424s TAP version 14 1424s # random seed: R02S46cdb4614418a7ba4d19c209d8689067 1424s 1..55 1424s # Start of file tests 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/basic/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/basic/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/basic/.dirs/system-config1:/tmp/test_file_FSHLK3/file/basic/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/basic/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/basic/.dirs/system-data1:/tmp/test_file_FSHLK3/file/basic/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/basic/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/basic/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/basic/.dirs/runtime 1424s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1424s ok 1 /file/basic 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/build-filename/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/build-filename/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/build-filename/.dirs/system-config1:/tmp/test_file_FSHLK3/file/build-filename/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/build-filename/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/build-filename/.dirs/system-data1:/tmp/test_file_FSHLK3/file/build-filename/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/build-filename/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/build-filename/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/build-filename/.dirs/runtime 1424s ok 2 /file/build-filename 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_FSHLK3/file/build-filenamev/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_FSHLK3/file/build-filenamev/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/build-filenamev/.dirs/runtime 1424s ok 3 /file/build-filenamev 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/parent/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/parent/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/parent/.dirs/system-config1:/tmp/test_file_FSHLK3/file/parent/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/parent/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/parent/.dirs/system-data1:/tmp/test_file_FSHLK3/file/parent/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/parent/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/parent/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/parent/.dirs/runtime 1424s ok 4 /file/parent 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/child/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/child/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/child/.dirs/system-config1:/tmp/test_file_FSHLK3/file/child/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/child/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/child/.dirs/system-data1:/tmp/test_file_FSHLK3/file/child/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/child/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/child/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/child/.dirs/runtime 1424s ok 5 /file/child 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/empty-path/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/empty-path/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/empty-path/.dirs/system-config1:/tmp/test_file_FSHLK3/file/empty-path/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/empty-path/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/empty-path/.dirs/system-data1:/tmp/test_file_FSHLK3/file/empty-path/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/empty-path/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/empty-path/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/empty-path/.dirs/runtime 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1424s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1424s ok 6 /file/empty-path 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/type/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/type/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/type/.dirs/system-config1:/tmp/test_file_FSHLK3/file/type/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/type/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/type/.dirs/system-data1:/tmp/test_file_FSHLK3/file/type/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/type/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/type/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/type/.dirs/runtime 1424s ok 7 /file/type 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/parse-name/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/parse-name/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/parse-name/.dirs/system-config1:/tmp/test_file_FSHLK3/file/parse-name/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/parse-name/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/parse-name/.dirs/system-data1:/tmp/test_file_FSHLK3/file/parse-name/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/parse-name/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/parse-name/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/parse-name/.dirs/runtime 1424s ok 8 /file/parse-name 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace-load/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace-load/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace-load/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace-load/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace-load/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace-load/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace-load/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace-load/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace-load/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace-load/.dirs/runtime 1424s ok - glib/unix-fd.test 1424s # Running test: glib/file.test 1424s ok 9 /file/replace-load 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace-cancel/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace-cancel/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace-cancel/.dirs/runtime 1424s # Bug Reference: https://bugzilla.gnome.org/629301 1424s ok 10 /file/replace-cancel 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace-symlink/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace-symlink/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace-symlink/.dirs/runtime 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1424s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1424s # Using temporary directory /tmp/test_file_FSHLK3/g_file_replace_symlink_N1EKK3 1424s ok 11 /file/replace-symlink 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-new-tmp/.dirs/runtime 1424s ok 12 /file/async-new-tmp 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-new-tmp-dir/.dirs/runtime 1424s ok 13 /file/async-new-tmp-dir 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-delete/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-delete/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-delete/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-delete/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-delete/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-delete/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-delete/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-delete/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-delete/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-delete/.dirs/runtime 1424s ok 14 /file/async-delete 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-make-symlink/.dirs/runtime 1424s ok 15 /file/async-make-symlink 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/copy-preserve-mode/.dirs/runtime 1424s # Current umask: 2 1424s # Vector 0 1424s # Vector 1 1424s # Vector 2 1424s # Vector 3 1424s # Vector 4 1424s # Vector 5 1424s # Vector 6 1424s # Vector 7 1424s # Vector 8 1424s # Vector 9 1424s # Vector 10 1424s ok 16 /file/copy-preserve-mode 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/copy-async-with-closures/.dirs/runtime 1424s ok 17 /file/copy-async-with-closures 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/measure/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/measure/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/measure/.dirs/system-config1:/tmp/test_file_FSHLK3/file/measure/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/measure/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/measure/.dirs/system-data1:/tmp/test_file_FSHLK3/file/measure/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/measure/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/measure/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/measure/.dirs/runtime 1424s ok 18 /file/measure 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/measure-async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/measure-async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/measure-async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/measure-async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/measure-async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/measure-async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/measure-async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/measure-async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/measure-async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/measure-async/.dirs/runtime 1424s ok 19 /file/measure-async 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/system-config1:/tmp/test_file_FSHLK3/file/load-bytes/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/system-data1:/tmp/test_file_FSHLK3/file/load-bytes/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/load-bytes/.dirs/runtime 1424s ok 20 /file/load-bytes 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/load-bytes-async/.dirs/runtime 1424s ok 21 /file/load-bytes-async 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/load-bytes-4gb/.dirs/runtime 1424s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/load-contents-4gb/.dirs/runtime 1424s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/load-contents-4gb-async/.dirs/runtime 1424s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/.dirs/runtime 1424s ok 25 /file/writev 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/build-attribute-list-for-copy/.dirs/runtime 1424s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1424s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1424s # 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::* 1424s # 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::* 1424s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1424s # Attributes for copy: standard::size,xattr::* 1424s # Attributes for copy: standard::size,unix::mode,xattr::* 1424s ok 26 /file/build-attribute-list-for-copy 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/move_async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/move_async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/move_async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/move_async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/move_async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/move_async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/move_async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/move_async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/move_async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/move_async/.dirs/runtime 1424s ok 27 /file/move_async 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/move-async-with-closures/.dirs/runtime 1424s ok 28 /file/move-async-with-closures 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/query-zero-length-content-type/.dirs/runtime 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1424s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1424s ok 29 /file/query-zero-length-content-type 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/runtime 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/data/applications 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/config 1424s ok 30 /file/query-default-handler-file 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/runtime 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/data/applications 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config 1424s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_FSHLK3/file/query-default-handler-file/.dirs/config to /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config 1424s ok 31 /file/query-default-handler-file-async 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/runtime 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/data/applications 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config 1424s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_FSHLK3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config 1424s ok 32 /file/query-default-handler-uri 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/runtime 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/data/applications 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/config 1424s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_FSHLK3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/config 1424s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_FSHLK3/file/query-default-handler-uri-async/.dirs/config 1424s ok 33 /file/query-default-handler-uri-async 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/enumerator-cancellation/.dirs/runtime 1424s ok 34 /file/enumerator-cancellation 1424s # Start of async-create-delete tests 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-create-delete/0/.dirs/runtime 1424s ok 35 /file/async-create-delete/0 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-create-delete/1/.dirs/runtime 1424s ok 36 /file/async-create-delete/1 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-create-delete/10/.dirs/runtime 1424s ok 37 /file/async-create-delete/10 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-create-delete/25/.dirs/runtime 1424s ok 38 /file/async-create-delete/25 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/async-create-delete/4096/.dirs/runtime 1424s ok 39 /file/async-create-delete/4096 1424s # End of async-create-delete tests 1424s # Start of replace-symlink tests 1424s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/home 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/cache 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/system-config2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/config 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/system-data2 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/data 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/state 1424s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace-symlink/using-etag/.dirs/runtime 1424s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1424s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1424s # Using temporary directory /tmp/test_file_FSHLK3/g_file_replace_symlink_using_etag_2GF6J3 1426s ok 40 /file/replace-symlink/using-etag 1426s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1426s # End of replace-symlink tests 1426s # Start of replace tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace/write-only/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace/write-only/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace/write-only/.dirs/runtime 1426s # /file/replace/write-only summary: Test various situations for g_file_replace() 1426s # Current umask: 2 1426s # Test 0, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_LLA6J3 1426s # Test 1, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_0SA6J3 1426s # Test 2, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_N1T6J3 1426s # Test 3, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5AR6J3 1426s # Test 4, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_WGR6J3 1426s # Test 5, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_XTR6J3 1426s # Test 6, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_0UO6J3 1426s # Test 7, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_89K8J3 1426s # Test 8, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5LL8J3 1426s # Test 9, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_BTL8J3 1426s # Test 10, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_B5I8J3 1426s # Test 11, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_97F8J3 1426s # Test 12, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_HDD8J3 1426s # Test 13, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_ZPD8J3 1426s # Test 14, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_ZA08J3 1426s # Test 15, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_QOX8J3 1426s # Test 16, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4JS8J3 1426s # Test 17, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4LZ7J3 1426s # Test 18, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_TJW7J3 1426s # Test 19, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4AT7J3 1426s # Test 20, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_FTP7J3 1426s # Test 21, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_RTB8J3 1426s # Test 22, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_KN87J3 1426s # Test 23, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_2U87J3 1426s # Test 24, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_JT37J3 1426s # Test 25, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_2927J3 1426s # Test 26, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_XJ37J3 1426s # Test 27, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_IP37J3 1426s # Test 28, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4439J3 1426s # Test 29, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_8L09J3 1426s # Test 30, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_VV09J3 1426s # Test 31, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_OX09J3 1426s # Test 32, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_RBX9J3 1426s # Test 33, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_74R9J3 1426s # Test 34, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_0CS9J3 1426s # Test 35, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_HPS9J3 1426s # Test 36, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_82DAK3 1426s # Test 37, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5YDAK3 1426s # Test 38, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5S79J3 1426s # Test 39, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_6G79J3 1426s # Test 40, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_1HE9J3 1426s # Test 41, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_Z988J3 1426s # Test 42, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_9Z78J3 1426s # Test 43, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_SP68J3 1426s # Test 44, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_KC58J3 1426s # Test 45, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_IJ58J3 1426s # Test 46, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_QJQ9J3 1426s # Test 47, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_8QQ9J3 1426s # Test 48, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4DP9J3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 49, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_FOP9J3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 50, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_VUP9J3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 51, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_W4P9J3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 41 /file/replace/write-only 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_FSHLK3/file/replace/read-write/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_FSHLK3/file/replace/read-write/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/replace/read-write/.dirs/runtime 1426s # /file/replace/read-write summary: Test various situations for g_file_replace() 1426s # Current umask: 2 1426s # Test 0, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_SGK9J3 1426s # Test 1, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5QK9J3 1426s # Test 2, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_TFJ9J3 1426s # Test 3, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_O8H9J3 1426s # Test 4, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_YEF9J3 1426s # Test 5, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_PKF9J3 1426s # Test 6, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_95HBK3 1426s # Test 7, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_SXGBK3 1426s # Test 8, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_J6GBK3 1426s # Test 9, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_1HHBK3 1426s # Test 10, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_AJBBK3 1426s # Test 11, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_QEABK3 1426s # Test 12, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_MNABK3 1426s # Test 13, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_K0ABK3 1426s # Test 14, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_OK9AK3 1426s # Test 15, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_A0UBK3 1426s # Test 16, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_A1QBK3 1426s # Test 17, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_26PBK3 1426s # Test 18, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_ETNBK3 1426s # Test 19, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_BLJBK3 1426s # Test 20, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_25SAK3 1426s # Test 21, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_S9OAK3 1426s # Test 22, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_U3LAK3 1426s # Test 23, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_CGMAK3 1426s # Test 24, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_LGLAK3 1426s # Test 25, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_57JAK3 1426s # Test 26, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_RCHAK3 1426s # Test 27, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_5JHAK3 1426s # Test 28, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_Y93AK3 1426s # Test 29, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_OJ0AK3 1426s # Test 30, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_LZ0AK3 1426s # Test 31, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_230AK3 1426s # Test 32, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_FWTCK3 1426s # Test 33, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_B42CK3 1426s # Test 34, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_TH3CK3 1426s # Test 35, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_TU3CK3 1426s # Test 36, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_X93BK3 1426s # Test 37, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_KI3BK3 1426s # Test 38, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_2IXBK3 1426s # Test 39, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_7PWBK3 1426s # Test 40, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_KGICK3 1426s # Test 41, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_OSHCK3 1426s # Test 42, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_OTDCK3 1426s # Test 43, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_4EBCK3 1426s # Test 44, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_C5AEK3 1426s # Test 45, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_BGBEK3 1426s # Test 46, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_CGAEK3 1426s # Test 47, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_0KAEK3 1426s # Test 48, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_738DK3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 49, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_ND6DK3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 50, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_ZR6DK3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s # Test 51, using temporary directory /tmp/test_file_FSHLK3/g_file_replace_EA7DK3 1426s # We do not have CAP_DAC_OVERRIDE or equivalent 1426s ok 42 /file/replace/read-write 1426s # End of replace tests 1426s # Start of copy tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/system-config1:/tmp/test_file_FSHLK3/file/copy/progress/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/system-data1:/tmp/test_file_FSHLK3/file/copy/progress/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/copy/progress/.dirs/runtime 1426s ok 43 /file/copy/progress 1426s # End of copy tests 1426s # Start of writev tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/no-bytes-written/.dirs/runtime 1426s ok 44 /file/writev/no-bytes-written 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/no-vectors/.dirs/runtime 1426s ok 45 /file/writev/no-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/empty-vectors/.dirs/runtime 1426s ok 46 /file/writev/empty-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/too-big-vectors/.dirs/runtime 1426s ok 47 /file/writev/too-big-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async/.dirs/runtime 1426s ok 48 /file/writev/async 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async_all/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async_all/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async_all/.dirs/runtime 1426s ok 49 /file/writev/async_all 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async_all-empty-vectors/.dirs/runtime 1426s ok 50 /file/writev/async_all-empty-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async_all-no-vectors/.dirs/runtime 1426s ok 51 /file/writev/async_all-no-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async_all-to-big-vectors/.dirs/runtime 1426s ok 52 /file/writev/async_all-to-big-vectors 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/writev/async_all-cancellation/.dirs/runtime 1426s ok 53 /file/writev/async_all-cancellation 1426s # End of writev tests 1426s # Start of from-uri tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/from-uri/ignores-query-string/.dirs/runtime 1426s ok 54 /file/from-uri/ignores-query-string 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_FSHLK3/file/from-uri/ignores-fragment/.dirs/runtime 1426s ok 55 /file/from-uri/ignores-fragment 1426s # End of from-uri tests 1426s ok - glib/file.test 1426s # Running test: glib/union-info.test 1426s # End of file tests 1426s TAP version 14 1426s # random seed: R02S5316d4ad2fbc40fb5cf9fc3733da625d 1426s 1..2 1426s # Start of union-info tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_7KEFK3/union-info/basic/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_7KEFK3/union-info/basic/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_7KEFK3/union-info/basic/.dirs/runtime 1426s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1426s # /union-info/basic summary: Test basic properties of GIUnionInfo 1426s ok 1 /union-info/basic 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_7KEFK3/union-info/methods/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_7KEFK3/union-info/methods/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_7KEFK3/union-info/methods/.dirs/runtime 1426s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1426s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1426s ok 2 /union-info/methods 1426s # End of union-info tests 1426s ok - glib/union-info.test 1426s # Running test: glib/proxy-test.test 1426s TAP version 14 1426s # random seed: R02S1cd149031d163eb06e0ea1fc5e200694 1426s 1..11 1426s # Start of proxy tests 1426s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1426s ok 1 /proxy/direct_sync 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786df20 and GSocketClientAsyncConnectData 0x536c786d440 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786ea40 for GSocketClientAsyncConnectData 0x536c786d440 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s ok 2 /proxy/direct_async 1426s ok 3 /proxy/single_sync 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e500 and GSocketClientAsyncConnectData 0x536c786d440 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786fba0 for GSocketClientAsyncConnectData 0x536c786d440 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s ok 4 /proxy/single_async 1426s ok 5 /proxy/multiple_sync 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e7f0 and GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c78700e0 for GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c7870080 for GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s ok 6 /proxy/multiple_async 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1426s ok 7 /proxy/invalid-uris-sync 1426s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e3e0 and GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e500 and GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e3e0 and GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786eaa0 for GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e500 and GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c78702e0 for GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s ok 8 /proxy/invalid-uris-async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786df20 and GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1426s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c7870400 and GSocketClientAsyncConnectData 0x536c786e990 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786fa00 for GSocketClientAsyncConnectData 0x536c786e990 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e3e0 and GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786eaa0 for GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s ok 9 /proxy/dns 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786df20 and GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786eaa0 for GSocketClientAsyncConnectData 0x536c786e780 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s ok - glib/proxy-test.test 1426s # Running test: glib/dynamictests.test 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786e3e0 and GSocketClientAsyncConnectData 0x536c786e5c0 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c786fa00 for GSocketClientAsyncConnectData 0x536c786e5c0 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1426s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1426s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x536c786df20 and GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1426s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x536c7870080 for GSocketClientAsyncConnectData 0x536c7870270 1426s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1426s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1426s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1426s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1426s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1426s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1426s ok 10 /proxy/override 1426s ok 11 /proxy/enumerator-ports 1426s # End of proxy tests 1426s TAP version 14 1426s # random seed: R02S1a0b1e8f97668e4af77e9cf8f5610f09 1426s 1..2 1426s # Start of GObject tests 1426s ok - glib/dynamictests.test 1426s ok 1 /GObject/threaded-dynamic-ref-unref-init 1426s ok 2 /GObject/dynamic-interface-properties 1426s # End of GObject tests 1426s # Running test: glib/type-flags.test 1426s TAP version 14 1426s # random seed: R02S16449a57f803863880be3b4e09d6cb98 1426s 1..4 1426s # Start of type tests 1426s # Start of flags tests 1426s ok 1 /type/flags/interface 1426s ok 2 /type/flags/final 1426s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1426s ok 3 /type/flags/deprecated 1426s # Start of final tests 1426s ok 4 /type/flags/final/instance-check 1426s # End of final tests 1426s # End of flags tests 1426s # End of type tests 1426s ok - glib/type-flags.test 1426s # Running test: glib/convert.test 1426s TAP version 14 1426s # random seed: R02Sb6607d0dcd47098723efc19e46ea111f 1426s 1..14 1426s # Start of conversion tests 1426s ok 1 /conversion/no-conv 1426s ok 2 /conversion/iconv-state 1426s ok 3 /conversion/illegal-sequence 1426s ok 4 /conversion/byte-order 1426s ok 5 /conversion/unicode 1426s ok 6 /conversion/filename-utf8 1426s ok 7 /conversion/filename-display 1426s ok 8 /conversion/convert-embedded-nul 1426s # Start of locale-to-utf8 tests 1426s ok 9 /conversion/locale-to-utf8/embedded-nul 1426s # Start of embedded-nul tests 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of embedded-nul tests 1426s # End of locale-to-utf8 tests 1426s # Start of locale-from-utf8 tests 1426s ok 10 /conversion/locale-from-utf8/embedded-nul 1426s # Start of embedded-nul tests 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of embedded-nul tests 1426s # End of locale-from-utf8 tests 1426s # Start of filename-to-utf8 tests 1426s ok 11 /conversion/filename-to-utf8/embedded-nul 1426s # Start of embedded-nul tests 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of embedded-nul tests 1426s # End of filename-to-utf8 tests 1426s # Start of filename-from-utf8 tests 1426s ok 12 /conversion/filename-from-utf8/embedded-nul 1426s # Start of embedded-nul tests 1426s # Start of subprocess tests 1426s # End of subprocess tests 1426s # End of embedded-nul tests 1426s # End of filename-from-utf8 tests 1426s # Start of filename-from-uri tests 1426s ok 13 /conversion/filename-from-uri/query-is-ignored 1426s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1426s # End of filename-from-uri tests 1426s # End of conversion tests 1426s ok - glib/convert.test 1426s # Running test: glib/gdbus-connection-loss.test 1426s TAP version 14 1426s # random seed: R02S16397424a8ae3e877bfa7bfef9522843 1426s 1..1 1426s # Start of gdbus tests 1426s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/home 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/cache 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/system-config2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/config 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/system-data2 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/data 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/state 1426s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_6TEHK3/gdbus/connection-loss/.dirs/runtime 1426s ok 1 /gdbus/connection-loss 1426s # End of gdbus tests 1426s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1426s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1426s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1426s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1426s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1426s ok - glib/gdbus-connection-loss.test 1426s # Running test: glib/threadtests.test 1426s TAP version 14 1426s # random seed: R02S7bf4ae89761f12381574ba2e578d8e29 1426s 1..5 1426s # Start of GObject tests 1426s ok 1 /GObject/threaded-object-init 1427s ok 2 /GObject/threaded-weak-ref 1427s # slow test /GObject/threaded-weak-ref executed in 0.73 secs 1427s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1427s # /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 1427s # Executing: glib/threadtests.test 1428s ok - glib/threadtests.test 1428s ok 3 /GObject/threaded-toggle-notify 1428s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1428s # Start of threaded-weak-ref tests 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1428s # /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. 1428s ok 5 /GObject/threaded-weak-ref/on-finalization 1428s # End of threaded-weak-ref tests 1428s # End of GObject tests 1428s # Running test: glib/gdbus-subscribe.test 1428s TAP version 14 1428s # random seed: R02S51cd16202997d0202875df031758160e 1428s 1..24 1428s # Start of gdbus tests 1428s # Start of subscribe tests 1428s # Start of conn tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/simple/.dirs/runtime 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1428s # Step 0: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 1 /gdbus/subscribe/conn/simple 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1428s # Step 0: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: service 2 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: service 2 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 1 1428s # Signal received from service 2 :1.2 1428s # Signal received from service 2 :1.2 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Signal received from service 2 :1.2 1428s # Signal received from service 2 :1.2 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: (any) 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: (any) 1428s # Path: (any) 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 3: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 4: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 3 /gdbus/subscribe/conn/match_twice 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1428s # Step 0: adding subscription 1428s # Sender: :0.this.had.better.not.exist 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /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 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: org.gtk.Test.OwnedLater 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 3: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 5: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 6: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Step 7: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 5 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1428s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1428s # Step 0: adding subscription 1428s # Sender: org.freedesktop.DBus 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # String argument 0: would I lie to you? 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Waiting for signal to reach message bus 1428s # Step 3: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Signal received from message bus org.freedesktop.DBus 1428s # Signal received from (unused) org.freedesktop.DBus via connection 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Immediately unsubscribing 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1428s # End of conn tests 1428s # Start of proxy tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/simple/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1428s # Step 0: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 9 /gdbus/subscribe/proxy/simple 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1428s # Step 0: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: service 2 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: service 2 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: (any) 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: (any) 1428s # Path: (any) 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 3: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 4: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 11 /gdbus/subscribe/proxy/match_twice 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1428s # Step 0: adding subscription 1428s # Sender: :0.this.had.better.not.exist 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /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 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: org.gtk.Test.OwnedLater 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 3: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 5: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 6: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Step 7: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 5 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1428s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1428s # Step 0: adding subscription 1428s # Sender: org.freedesktop.DBus 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # String argument 0: would I lie to you? 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Waiting for signal to reach message bus 1428s # Step 3: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Signal received from message bus org.freedesktop.DBus 1428s # Signal received from (unused) org.freedesktop.DBus via proxy 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1428s # End of proxy tests 1428s # Start of parallel tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/simple/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1428s # Step 0: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 17 /gdbus/subscribe/parallel/simple 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1428s # Step 0: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: service 2 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: service 2 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 1 1428s # Signal received from service 2 :1.2 1428s # Signal received from service 2 :1.2 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Signal received from service 2 :1.2 1428s # Signal received from service 2 :1.2 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: adding subscription 1428s # Sender: (any) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: (any) 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: (any) 1428s # Path: (any) 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Cannot subscribe via proxy: no bus name 1428s # Waiting for AddMatch to be processed 1428s # Step 3: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 4: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 4 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1428s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 19 /gdbus/subscribe/parallel/match_twice 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1428s # Step 0: adding subscription 1428s # Sender: service :1.1 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 3: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 3 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1428s # Step 0: adding subscription 1428s # Sender: :0.this.had.better.not.exist 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /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 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 2: adding subscription 1428s # Sender: org.gtk.Test.OwnedLater 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 3: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 4: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 5: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Step 6: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Step 7: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 5 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 5 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via connection 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 7 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1428s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1428s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1428s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1428s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1428s # Step 0: adding subscription 1428s # Sender: org.freedesktop.DBus 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 1: emitting signal 1428s # Sender: attacker 1428s # Destination: (broadcast) 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # String argument 0: would I lie to you? 1428s # Waiting for signal to reach message bus 1428s # Step 2: emitting signal 1428s # Sender: attacker 1428s # Destination: subscriber :1.0 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Waiting for signal to reach message bus 1428s # Step 3: claiming bus name 1428s # Name: org.gtk.Test.OwnedLater 1428s # Owner: service 1428s # Signal received from message bus org.freedesktop.DBus 1428s # Signal received from (unused) org.freedesktop.DBus via connection 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Signal received from message bus org.freedesktop.DBus 1428s # Signal received from (unused) org.freedesktop.DBus via proxy 1428s # Path: /org/freedesktop/DBus 1428s # Interface: org.freedesktop.DBus 1428s # Member: NameOwnerChanged 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1428s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1428s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_MC6NK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # subscriber is :1.0 1428s # service is :1.1 1428s # service 2 is :1.2 1428s # attacker is :1.3 1428s # Waiting for AddMatch to be processed 1428s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1428s # Step 0: claiming bus name 1428s # Name: org.gtk.Test.AlreadyOwned 1428s # Owner: service 1428s # Step 1: adding subscription 1428s # Sender: org.gtk.Test.AlreadyOwned 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: (any) 1428s # String argument 0: (any) 1428s # Flags: 0 1428s # Subscribing via connection 1428s # Immediately unsubscribing 1428s # Subscribing via proxy 1428s # Waiting for AddMatch to be processed 1428s # Step 2: emitting signal 1428s # Sender: service 1428s # Destination: (broadcast) 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Waiting for signal to reach message bus 1428s # Signal received from service :1.1 1428s # Signal received from service :1.1 via proxy 1428s # Path: /org/gtk/GDBus/ExampleInterface 1428s # Interface: org.gtk.GDBus.ExampleInterface 1428s # Member: Foo 1428s # Argument 0: (not a string) 1428s # Sent in step: 2 1428s # Received Finished signal from subscriber :1.0 1428s # Received Finished signal from service :1.1 1428s # Received Finished signal from service 2 :1.2 1428s # Received Finished signal from attacker :1.3 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1428s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1428s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1428s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1428s # End of parallel tests 1428s # End of subscribe tests 1428s # End of gdbus tests 1428s ok - glib/gdbus-subscribe.test 1428s # Running test: glib/types.test 1428s ok - glib/types.test 1428s TAP version 14 1428s # random seed: R02S371387ac1611c041b7d71b16fa49461a 1428s 1..1 1428s # Start of types tests 1428s ok 1 /types/basic_types 1428s # End of types tests 1428s # Running test: glib/portal-support-flatpak-full.test 1428s ok - glib/portal-support-flatpak-full.test 1428s # Running test: glib/macros.test 1428s ok - glib/macros.test 1428s TAP version 14 1428s # random seed: R02Se08f47b2e8cb2205ef354c0720dee33a 1428s 1..1 1428s # Start of portal-support tests 1428s # Start of flatpak tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/runtime 1428s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_2IY4J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1428s ok 1 /portal-support/flatpak/full 1428s # End of flatpak tests 1428s # End of portal-support tests 1428s TAP version 14 1428s # random seed: R02S5a7a7c1aa1f0d401a254f8eee119b90b 1428s 1..3 1428s # Start of alignof tests 1428s ok 1 /alignof/fallback 1428s # End of alignof tests 1428s # Start of assert tests 1428s ok 2 /assert/static 1428s # End of assert tests 1428s # Start of struct tests 1428s ok 3 /struct/sizeof_member 1428s # End of struct tests 1428s # Running test: glib/fdo-notification-backend.test 1428s TAP version 14 1428s # random seed: R02S0155da944fc66673924ae3c566d9c802 1428s 1..2 1428s # Start of fdo-notification-backend tests 1428s # Test constructing a GFdoNotificationBackend 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 1 /fdo-notification-backend/construction 1428s # Start of dbus tests 1428s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 2 /fdo-notification-backend/dbus/activate-action 1428s # End of dbus tests 1428s # End of fdo-notification-backend tests 1428s ok - glib/fdo-notification-backend.test 1428s # Running test: glib/override.test 1428s ok - glib/override.test 1428s # Running test: glib/cxx.test 1428s TAP version 14 1428s # random seed: R02S805b97b68abc22df80d9582ac40abad2 1428s 1..1 1428s # Start of gobject tests 1428s # *** emitting foo on a TestA instance 1428s # Expecting: TestA::foo,TestI::foo 1428s # Got: TestA::foo,TestI::foo 1428s # *** emitting bar on a TestA instance 1428s # Expecting: TestA::bar 1428s # Got: TestA::bar 1428s # *** emitting baz on a TestA instance 1428s # Expecting: TestA::baz 1428s # Got: TestA::baz 1428s # *** emitting foo on a TestB instance 1428s # Expecting: TestB::foo,TestA::foo,TestI::foo 1428s # Got: TestB::foo,TestA::foo,TestI::foo 1428s # *** emitting bar on a TestB instance 1428s # Expecting: TestB::bar,TestA::bar 1428s # Got: TestB::bar,TestA::bar 1428s # *** emitting baz on a TestB instance 1428s # Expecting: TestB::baz,TestA::baz 1428s # Got: TestB::baz,TestA::baz 1428s # *** emitting foo on a TestC instance 1428s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1428s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1428s # *** emitting bar on a TestC instance 1428s # Expecting: TestC::bar,TestB::bar,TestA::bar 1428s # Got: TestC::bar,TestB::bar,TestA::bar 1428s # *** emitting baz on a TestC instance 1428s # Expecting: TestC::baz,TestB::baz,TestA::baz 1428s # Got: TestC::baz,TestB::baz,TestA::baz 1428s ok 1 /gobject/override 1428s # End of gobject tests 1428s TAP version 14 1428s # random seed: R02S9fb4f4b8a2d5521325390529f5b5bd46 1428s 1..2 1428s # Start of gtask tests 1428s # 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. 1428s ok 1 /gtask/name 1428s # Start of name tests 1428s # 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. 1428s ok - glib/cxx.test 1428s ok 2 /gtask/name/macro-wrapper 1428s # End of name tests 1428s # End of gtask tests 1428s # Running test: glib/deftype.test 1428s ok - glib/deftype.test 1428s # Running test: glib/signal-handler.test 1428s TAP version 14 1428s # random seed: R02S23e31d92383ad5ed3bf78c0db0ecc1fb 1428s 1..7 1428s # Start of signal tests 1428s # Start of handler tests 1428s # min perf: connected 1 handlers in 0.000 seconds 1428s ok 1 /signal/handler/connect-many 1428s # min perf: disconnected 1 handlers in 0.000 seconds 1428s ok 2 /signal/handler/disconnect-many-ordered 1428s # min perf: disconnected 1 handlers in 0.000 seconds 1428s ok 3 /signal/handler/disconnect-many-inverse 1428s # min perf: disconnected 1 handlers in 0.000 seconds 1428s ok 4 /signal/handler/disconnect-many-random 1428s # min perf: disconnected 1 handlers in 0.000 seconds 1428s ok 5 /signal/handler/disconnect-2-signals 1428s # min perf: disconnected 1 handlers in 0.000 seconds 1428s ok 6 /signal/handler/disconnect-2-objects 1428s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1428s ok 7 /signal/handler/block-many 1428s # End of handler tests 1428s # End of signal tests 1428s ok - glib/signal-handler.test 1428s # Running test: glib/cxx-98.test 1428s TAP version 14 1428s # random seed: R02Sc3e7b79afae276161c959c175c0cc775 1428s 1..2 1428s # Start of gtask tests 1428s # 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. 1428s ok 1 /gtask/name 1428s # Start of name tests 1428s # 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. 1428s ok 2 /gtask/name/macro-wrapper 1428s # End of name tests 1428s # End of gtask tests 1428s ok - glib/cxx-98.test 1428s # Running test: glib/thread.test 1428s TAP version 14 1428s # random seed: R02S828675c9f5779462de8a733e6bbd73f7 1428s 1..7 1428s # Start of thread tests 1428s ok 1 /thread/thread1 1428s ok 2 /thread/thread2 1428s ok 3 /thread/thread3 1428s ok 4 /thread/thread4 1428s ok 5 /thread/thread5 1428s ok 6 /thread/thread6 1428s ok 7 /thread/thread7 1428s # End of thread tests 1428s ok - glib/thread.test 1428s # Running test: glib/glistmodel.test 1428s TAP version 14 1428s # random seed: R02Sfbc43d8bd990459b437914e924639dc5 1428s 1..18 1428s # Start of glistmodel tests 1428s # Start of store tests 1428s ok 1 /glistmodel/store/properties 1428s ok 2 /glistmodel/store/non-gobjects 1428s ok 3 /glistmodel/store/boundaries 1428s ok 4 /glistmodel/store/refcounts 1428s ok - glib/glistmodel.test 1428s # Running test: glib/inet-address.test 1428s ok 5 /glistmodel/store/sorted 1428s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1428s ok 6 /glistmodel/store/splice-replace-middle 1428s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1428s ok 7 /glistmodel/store/splice-replace-all 1428s ok 8 /glistmodel/store/splice-noop 1428s ok 9 /glistmodel/store/splice-remove-multiple 1428s ok 10 /glistmodel/store/splice-add-multiple 1428s ok 11 /glistmodel/store/splice-wrong-type 1428s ok 12 /glistmodel/store/item-type 1428s ok 13 /glistmodel/store/remove-all 1428s ok 14 /glistmodel/store/sort 1428s ok 15 /glistmodel/store/get-item-cache 1428s ok 16 /glistmodel/store/items-changed 1428s ok 17 /glistmodel/store/past-end 1428s ok 18 /glistmodel/store/find 1428s # End of store tests 1428s # End of glistmodel tests 1428s ok - glib/inet-address.test 1428s TAP version 14 1428s # random seed: R02S1bec716d7d106b36f04decfda8b892e4 1428s 1..11 1428s # Start of inet-address tests 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1428s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1428s ok 1 /inet-address/parse 1428s ok 2 /inet-address/any 1428s ok 3 /inet-address/loopback 1428s ok 4 /inet-address/bytes 1428s ok 5 /inet-address/property 1428s # End of inet-address tests 1428s # Start of socket-address tests 1428s ok 6 /socket-address/basic 1428s ok 7 /socket-address/to-string 1428s # End of socket-address tests 1428s # Start of address-mask tests 1428s ok 8 /address-mask/parse 1428s ok 9 /address-mask/property 1428s ok 10 /address-mask/equal 1428s ok 11 /address-mask/match 1428s # End of address-mask tests 1428s # Running test: glib/cxx-23.test 1428s TAP version 14 1428s # random seed: R02Sf46ee4d1e4d7bf844126a1e04d28d7e5 1428s 1..2 1428s # Start of gtask tests 1428s # 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. 1428s ok 1 /gtask/name 1428s # Start of name tests 1428s # 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. 1428s ok 2 /gtask/name/macro-wrapper 1428s # End of name tests 1428s # End of gtask tests 1428s ok - glib/cxx-23.test 1428s # Running test: glib/utf8-private.test 1428s ok - glib/utf8-private.test 1428s # Running test: glib/testfilemonitor.test 1428s ok - glib/testfilemonitor.test 1428s # Running test: glib/properties-introspection.test 1428s ok - glib/properties-introspection.test 1428s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1428s TAP version 14 1428s # random seed: R02S5f578743e3cc8f0e881536bb2f714679 1428s 1..2 1428s # Start of utf8 tests 1428s ok 1 /utf8/utf8-to-utf16-make-valid 1428s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1428s # End of utf8 tests 1428s TAP version 14 1428s # random seed: R02S5a2927299b9b8d6fb2a45404609f65b0 1428s 1..8 1428s # Start of monitor tests 1428s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1428s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1428s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s # Start of file tests 1428s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1428s # End of file tests 1428s # End of monitor tests 1428s TAP version 14 1428s # random seed: R02Se9bd8088df2756cc09c12eb9a6f76fdb 1428s 1..2 1428s # Start of properties tests 1428s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1428s ok 1 /properties/introspection 1428s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1428s ok 2 /properties/collision 1428s # End of properties tests 1428s TAP version 14 1428s # random seed: R02S52c022e236f83ff594455b97fbbd0b4e 1428s 1..8 1428s # Start of gdbus tests 1428s # Start of codegen tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/annotations/.dirs/runtime 1428s ok 1 /gdbus/codegen/annotations 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/interface_stability/.dirs/runtime 1428s ok 2 /gdbus/codegen/interface_stability 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/object-manager/.dirs/runtime 1428s ok 3 /gdbus/codegen/object-manager 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/property-naming/.dirs/runtime 1428s ok 4 /gdbus/codegen/property-naming 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/autocleanups/.dirs/runtime 1428s ok 5 /gdbus/codegen/autocleanups 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/deprecations/.dirs/runtime 1428s ok 6 /gdbus/codegen/deprecations 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1428s ok 7 /gdbus/codegen/standalone-interface-info 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_GRO8J3/gdbus/codegen/unix-fd-list/.dirs/runtime 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1428s ok 8 /gdbus/codegen/unix-fd-list 1428s # End of codegen tests 1428s # End of gdbus tests 1428s ok - glib/gdbus-test-codegen-min-required-2-64.test 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # Running test: glib/gdbus-proxy-well-known-name.test 1428s TAP version 14 1428s # random seed: R02S4b954a02f2705ab6545e258919f6c744 1428s 1..1 1428s # Start of gdbus tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_SGB8J3/gdbus/proxy-well-known-name/.dirs/runtime 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1428s ok 1 /gdbus/proxy-well-known-name 1428s # End of gdbus tests 1428s ok - glib/gdbus-proxy-well-known-name.test 1428s # Running test: glib/tls-certificate.test 1428s TAP version 14 1428s # random seed: R02S584495fdcb3b6d0759ac1905471790b9 1428s 1..19 1428s # Start of tls-certificate tests 1428s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1428s ok 1 /tls-certificate/pem-parser 1428s ok 2 /tls-certificate/pem-parser-handles-chain 1428s ok 3 /tls-certificate/from_file 1428s ok 4 /tls-certificate/from_files 1428s ok 5 /tls-certificate/from_files_crlf 1428s ok 6 /tls-certificate/from_files_pkcs8 1428s ok 7 /tls-certificate/from_files_pkcs8enc 1428s ok 8 /tls-certificate/list_from_file 1428s ok 9 /tls-certificate/pkcs11-uri 1428s ok 10 /tls-certificate/pkcs11-uri-unsupported 1428s ok 11 /tls-certificate/from_pkcs12 1428s ok 12 /tls-certificate/from_pkcs12_file 1428s ok 13 /tls-certificate/not-valid-before 1428s ok 14 /tls-certificate/not-valid-after 1428s ok 15 /tls-certificate/subject-name 1428s ok 16 /tls-certificate/issuer-name 1428s ok 17 /tls-certificate/dns-names 1428s ok 18 /tls-certificate/ip-addresses 1428s ok 19 /tls-certificate/pem-parser-no-sentinel 1428s # End of tls-certificate tests 1428s ok - glib/tls-certificate.test 1428s # Running test: glib/credentials.test 1428s ok - glib/credentials.test 1428s TAP version 14 1428s # random seed: R02S8830aada2ba7ef7e7a542a4e099624d4 1428s 1..1 1428s # Start of credentials tests 1428s # GCredentials:linux-ucred:pid=14218,uid=1000,gid=1000 1428s # GCredentials:linux-ucred:pid=14218,uid=0,gid=1000 1428s ok 1 /credentials/basic 1428s # End of credentials tests 1428s # Running test: glib/signals-refcount1.test 1428s TAP version 14 1428s # random seed: R02S32175143b8950a05952d61158bbf47e3 1428s 1..1 1428s # Start of gobject tests 1428s # Start of refcount tests 1428s # init 0xef315c4d2c0 1428s # 1428s # init 0xef315c45580 1428s # 1432s # Executing: glib/signals-refcount1.test 1433s # dispose 0xef315c4d2c0! 1433s # 1433s # dispose 0xef315c45580! 1433s # 1433s ok 1 /gobject/refcount/signals 1433s # slow test /gobject/refcount/signals executed in 5.00 secs 1433s # End of refcount tests 1433s # End of gobject tests 1433s ok - glib/signals-refcount1.test 1433s TAP version 14 1433s # random seed: R02S6989fa80dcdf3ef9dd44703eb22677cb 1433s 1..52 1433s # Start of strfuncs tests 1433s ok 1 /strfuncs/ascii-strcasecmp 1433s ok 2 /strfuncs/ascii_strdown 1433s ok 3 /strfuncs/ascii_strdup 1433s # Running test: glib/strfuncs.test 1433s ok 4 /strfuncs/ascii_strtod 1433s ok 5 /strfuncs/bounds-check 1433s ok 6 /strfuncs/has-prefix 1433s ok 7 /strfuncs/has-prefix-macro 1433s ok 8 /strfuncs/has-suffix 1433s ok 9 /strfuncs/has-suffix-macro 1433s ok 10 /strfuncs/memdup 1433s ok 11 /strfuncs/memdup2 1433s ok 12 /strfuncs/set_str 1433s ok 13 /strfuncs/stpcpy 1433s ok 14 /strfuncs/str_match_string 1433s ok 15 /strfuncs/str_tokenize_and_fold 1433s ok 16 /strfuncs/strcanon 1433s ok 17 /strfuncs/strchomp 1433s ok 18 /strfuncs/strchug 1433s ok 19 /strfuncs/strcompress-strescape 1433s ok 20 /strfuncs/strconcat 1433s ok 21 /strfuncs/strdelimit 1433s ok 22 /strfuncs/strdup 1433s ok 23 /strfuncs/strdup-printf 1433s ok 24 /strfuncs/strdupv 1433s ok 25 /strfuncs/strerror 1433s ok 26 /strfuncs/strip-context 1433s ok 27 /strfuncs/strjoin 1433s ok 28 /strfuncs/strjoinv 1433s ok 29 /strfuncs/strlcat 1433s ok 30 /strfuncs/strlcpy 1433s ok 31 /strfuncs/strncasecmp 1433s ok 32 /strfuncs/strndup 1433s ok - glib/strfuncs.test 1433s # Running test: glib/macros-c-17.test 1433s ok - glib/macros-c-17.test 1433s # Running test: glib/unix-streams.test 1433s ok 33 /strfuncs/strnfill 1433s ok 34 /strfuncs/strreverse 1433s ok 35 /strfuncs/strsignal 1433s ok 36 /strfuncs/strsplit 1433s ok 37 /strfuncs/strsplit-set 1433s ok 38 /strfuncs/strstr 1433s ok 39 /strfuncs/strtod 1433s ok 40 /strfuncs/strtoull-strtoll 1433s ok 41 /strfuncs/strup 1433s ok 42 /strfuncs/strv-contains 1433s ok 43 /strfuncs/strv-equal 1433s ok 44 /strfuncs/strv-length 1433s ok 45 /strfuncs/test-is-to-digit 1433s ok 46 /strfuncs/transliteration 1433s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1433s ok 47 /strfuncs/str-equal 1433s ok 48 /strfuncs/str-is-ascii 1433s # Start of ascii-string-to-num tests 1433s ok 49 /strfuncs/ascii-string-to-num/pathological 1433s ok 50 /strfuncs/ascii-string-to-num/usual 1433s # End of ascii-string-to-num tests 1433s # Start of strdup tests 1433s ok 51 /strfuncs/strdup/inline 1433s # End of strdup tests 1433s # Start of strjoinv tests 1433s ok 52 /strfuncs/strjoinv/overflow # SKIP Overflow joining strings requires G_MAXSIZE <= G_MAXUINT. 1433s # End of strjoinv tests 1433s # End of strfuncs tests 1433s TAP version 14 1433s # random seed: R02Sf04157266e878404ba5076861bfee05a 1433s 1..4 1433s # Start of C tests 1433s # G_C_STD_VERSION is 201710 1433s ok 1 /C/standard-17 1433s # End of C tests 1433s # Start of alignof tests 1433s ok 2 /alignof/fallback 1433s # End of alignof tests 1433s # Start of assert tests 1433s ok 3 /assert/static 1433s # End of assert tests 1433s # Start of struct tests 1433s ok 4 /struct/sizeof_member 1433s # End of struct tests 1433s TAP version 14 1433s # random seed: R02S481d7248ef1d877b1b3fee27b23088a4 1433s 1..9 1433s # Start of unix-streams tests 1433s ok 1 /unix-streams/basic 1434s ok 2 /unix-streams/pipe-io-test 1434s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1434s ok 3 /unix-streams/nonblocking-io-test 1434s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1434s ok - glib/unix-streams.test 1434s ok 4 /unix-streams/read_write 1434s ok 5 /unix-streams/read_writev 1434s ok 6 /unix-streams/write-wouldblock 1434s ok 7 /unix-streams/writev-wouldblock 1434s ok 8 /unix-streams/write-async-wouldblock 1434s ok 9 /unix-streams/writev-async-wouldblock 1434s # End of unix-streams tests 1434s # Running test: glib/bookmarkfile.test 1434s TAP version 14 1434s # random seed: R02S037a69277c464d416f6c8b700d2b38bf 1434s 1..96 1434s # Start of bookmarks tests 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/load-from-data-dirs/.dirs/runtime 1434s ok 1 /bookmarks/load-from-data-dirs 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/to-file/.dirs/runtime 1434s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_EDC9J3/bookmarkfile-test-R6C9J3.xbel 1434s # Roundtrip from a valid bookmark file 1434s ok 2 /bookmarks/to-file 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/move-item/.dirs/runtime 1434s ok 3 /bookmarks/move-item 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/corner-cases/.dirs/runtime 1434s ok 4 /bookmarks/corner-cases 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/misc/.dirs/runtime 1434s ok 5 /bookmarks/misc 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/deprecated/.dirs/runtime 1434s ok 6 /bookmarks/deprecated 1434s # Start of parse tests 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1434s ok 7 /bookmarks/parse/fail-23.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1434s ok 8 /bookmarks/parse/fail-28.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1434s ok 9 /bookmarks/parse/fail-11.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1434s ok 10 /bookmarks/parse/fail-39.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1434s ok 11 /bookmarks/parse/fail-08.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1434s ok 12 /bookmarks/parse/fail-31.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1434s ok 13 /bookmarks/parse/fail-21.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1434s ok 14 /bookmarks/parse/fail-16.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1434s ok 15 /bookmarks/parse/fail-03.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1434s ok 16 /bookmarks/parse/valid-03.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1434s ok 17 /bookmarks/parse/fail-42.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1434s ok 18 /bookmarks/parse/fail-17.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1434s ok 19 /bookmarks/parse/fail-14.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1434s ok 20 /bookmarks/parse/fail-01.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1434s ok 21 /bookmarks/parse/fail-09.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1434s ok 22 /bookmarks/parse/fail-19.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1434s ok 23 /bookmarks/parse/fail-29.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1434s ok 24 /bookmarks/parse/fail-30.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1434s ok 25 /bookmarks/parse/fail-07.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1434s ok 26 /bookmarks/parse/fail-10.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1434s ok 27 /bookmarks/parse/fail-32.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1434s ok 28 /bookmarks/parse/fail-38.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1434s ok 29 /bookmarks/parse/fail-18.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1434s ok 30 /bookmarks/parse/fail-37.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1434s ok 31 /bookmarks/parse/fail-15.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1434s ok 32 /bookmarks/parse/fail-25.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1434s ok 33 /bookmarks/parse/fail-26.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1434s ok 34 /bookmarks/parse/fail-12.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1434s ok 35 /bookmarks/parse/valid-02.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1434s ok 36 /bookmarks/parse/fail-34.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1434s ok 37 /bookmarks/parse/fail-27.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1434s ok 38 /bookmarks/parse/fail-41.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1434s ok 39 /bookmarks/parse/valid-01.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1434s ok 40 /bookmarks/parse/fail-35.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1434s ok 41 /bookmarks/parse/fail-05.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1434s ok 42 /bookmarks/parse/fail-13.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1434s ok 43 /bookmarks/parse/fail-02.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1434s ok 44 /bookmarks/parse/fail-33.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1434s ok 45 /bookmarks/parse/fail-22.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1434s ok 46 /bookmarks/parse/fail-06.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1434s ok 47 /bookmarks/parse/fail-04.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1434s ok 48 /bookmarks/parse/fail-40.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1434s ok 49 /bookmarks/parse/fail-36.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1434s ok 50 /bookmarks/parse/fail-20.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1434s ok 51 /bookmarks/parse/fail-24.xbel 1434s # End of parse tests 1434s # Start of copy tests 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1434s ok 52 /bookmarks/copy/fail-23.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1434s ok 53 /bookmarks/copy/fail-28.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1434s ok 54 /bookmarks/copy/fail-11.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1434s ok 55 /bookmarks/copy/fail-39.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1434s ok 56 /bookmarks/copy/fail-08.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1434s ok 57 /bookmarks/copy/fail-31.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1434s ok 58 /bookmarks/copy/fail-21.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1434s ok 59 /bookmarks/copy/fail-16.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1434s ok 60 /bookmarks/copy/fail-03.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1434s ok 61 /bookmarks/copy/valid-03.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1434s ok 62 /bookmarks/copy/fail-42.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1434s ok 63 /bookmarks/copy/fail-17.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1434s ok 64 /bookmarks/copy/fail-14.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1434s ok 65 /bookmarks/copy/fail-01.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1434s ok 66 /bookmarks/copy/fail-09.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1434s ok 67 /bookmarks/copy/fail-19.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1434s ok 68 /bookmarks/copy/fail-29.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1434s ok 69 /bookmarks/copy/fail-30.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1434s ok 70 /bookmarks/copy/fail-07.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1434s ok 71 /bookmarks/copy/fail-10.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1434s ok 72 /bookmarks/copy/fail-32.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1434s ok 73 /bookmarks/copy/fail-38.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1434s ok 74 /bookmarks/copy/fail-18.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1434s ok 75 /bookmarks/copy/fail-37.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1434s ok 76 /bookmarks/copy/fail-15.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1434s ok 77 /bookmarks/copy/fail-25.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1434s ok 78 /bookmarks/copy/fail-26.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1434s ok 79 /bookmarks/copy/fail-12.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1434s ok 80 /bookmarks/copy/valid-02.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1434s ok 81 /bookmarks/copy/fail-34.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1434s ok 82 /bookmarks/copy/fail-27.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1434s ok 83 /bookmarks/copy/fail-41.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1434s ok 84 /bookmarks/copy/valid-01.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1434s ok 85 /bookmarks/copy/fail-35.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1434s ok 86 /bookmarks/copy/fail-05.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1434s ok 87 /bookmarks/copy/fail-13.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1434s ok 88 /bookmarks/copy/fail-02.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1434s ok 89 /bookmarks/copy/fail-33.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1434s ok - glib/bookmarkfile.test 1434s # Running test: glib/gdbus-peer-object-manager.test 1434s ok - glib/gdbus-peer-object-manager.test 1434s # Running test: glib/memory-monitor-portal.test 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1434s ok 90 /bookmarks/copy/fail-22.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1434s ok 91 /bookmarks/copy/fail-06.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1434s ok 92 /bookmarks/copy/fail-04.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1434s ok 93 /bookmarks/copy/fail-40.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1434s ok 94 /bookmarks/copy/fail-36.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1434s ok 95 /bookmarks/copy/fail-20.xbel 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_EDC9J3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1434s ok 96 /bookmarks/copy/fail-24.xbel 1434s # End of copy tests 1434s # End of bookmarks tests 1434s TAP version 14 1434s # random seed: R02S029b7b013768e384e62f3223778df1c4 1434s 1..2 1434s # Start of gdbus tests 1434s # Start of peer-object-manager tests 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/normal/.dirs/runtime 1434s ok 1 /gdbus/peer-object-manager/normal 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_FMABK3/gdbus/peer-object-manager/root/.dirs/runtime 1434s ok 2 /gdbus/peer-object-manager/root 1434s # End of peer-object-manager tests 1434s # End of gdbus tests 1434s TAP version 13 1434s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1434s 1..1 1434s ok - glib/memory-monitor-portal.test 1434s # Running test: glib/properties-refcount3.test 1434s TAP version 14 1434s # random seed: R02Se895ececfa5459082da71969b10d2d6a 1434s 1..1 1434s # Start of gobject tests 1434s # Start of refcount tests 1437s # Executing: glib/properties-refcount3.test 1442s # Executing: glib/properties-refcount3.test 1447s # Executing: glib/properties-refcount3.test 1452s # Executing: glib/properties-refcount3.test 1457s # Executing: glib/properties-refcount3.test 1462s # Executing: glib/properties-refcount3.test 1464s # 1464s # stopping 1464s # 1464s # stopped 1464s # 1464s # 13090027 5849012 1464s # 1464s ok 1 /gobject/refcount/properties-3 1464s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1464s # End of refcount tests 1464s # End of gobject tests 1464s ok - glib/properties-refcount3.test 1464s # Running test: glib/gio-tool.py.test 1464s TAP version 13 1464s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1464s # gio: /usr/bin/gio 1464s # tmpdir: /tmp/tmpt3vxp2q8 1464s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpt3vxp2q8/folder/desktop.entry'] 1464s # Working Directory: /tmp/tmpt3vxp2q8/folder 1464s # Return code: 0 1464s # Output: 1464s # /tmp/tmpt3vxp2q8/folder/desktop.entry 1464s # Error: 1464s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1464s # gio: /usr/bin/gio 1464s # tmpdir: /tmp/tmp8y2bde_d 1464s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp8y2bde_d/folder/desktop.entry'] 1464s # Working Directory: /tmp/tmp8y2bde_d 1464s # Return code: 0 1464s # Output: 1464s # /tmp/tmp8y2bde_d/folder/desktop.entry 1464s # Error: 1465s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmpa7fjq357 1465s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpa7fjq357/folder/desktop.entry'] 1465s # Working Directory: /tmp/tmpa7fjq357/sibling 1465s # Return code: 0 1465s # Output: 1465s # /tmp/tmpa7fjq357/folder/desktop.entry 1465s # Error: 1465s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmpdkbae2dg 1465s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1465s # Working Directory: /tmp/tmpdkbae2dg/folder 1465s # Return code: 0 1465s # Output: 1465s # /tmp/tmpdkbae2dg/folder/desktop.entry 1465s # Error: 1465s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmp265ichva 1465s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1465s # Working Directory: /tmp/tmp265ichva 1465s # Return code: 0 1465s # Output: 1465s # /tmp/tmp265ichva/folder/desktop.entry 1465s # Error: 1465s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmpzthztzp9 1465s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1465s # Working Directory: /tmp/tmpzthztzp9/sibling 1465s # Return code: 0 1465s # Output: 1465s # /tmp/tmpzthztzp9/folder/desktop.entry 1465s # Error: 1465s ok 7 __main__.TestGioTool.test_help 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmpnujd8gr7 1465s # Running: ['/usr/bin/gio', '--help'] 1465s # Return code: 0 1465s # Output: 1465s # Usage: 1465s # gio COMMAND [ARGS…] 1465s # 1465s # Commands: 1465s # help Print help 1465s # version Print version 1465s # cat Concatenate files to standard output 1465s # copy Copy one or more files 1465s # info Show information about locations 1465s # launch Launch an application from a desktop file 1465s # list List the contents of locations 1465s # mime Get or set the handler for a mimetype 1465s # mkdir Create directories 1465s # monitor Monitor files and directories for changes 1465s # mount Mount or unmount the locations 1465s # move Move one or more files 1465s # open Open files with the default application 1465s # rename Rename a file 1465s # remove Delete one or more files 1465s # save Read from standard input and save 1465s # set Set a file attribute 1465s # trash Move files or directories to the trash 1465s # tree Lists the contents of locations in a tree 1465s # 1465s # Use “gio help COMMAND” to get detailed help. 1465s # Error: 1465s # 1465s # Running: ['/usr/bin/gio', 'help'] 1465s # Return code: 0 1465s # Output: 1465s # Usage: 1465s # gio COMMAND [ARGS…] 1465s # 1465s # Commands: 1465s # help Print help 1465s # version Print version 1465s # cat Concatenate files to standard output 1465s # copy Copy one or more files 1465s # info Show information about locations 1465s # launch Launch an application from a desktop file 1465s # list List the contents of locations 1465s # mime Get or set the handler for a mimetype 1465s # mkdir Create directories 1465s # monitor Monitor files and directories for changes 1465s # mount Mount or unmount the locations 1465s # move Move one or more files 1465s # open Open files with the default application 1465s # rename Rename a file 1465s # remove Delete one or more files 1465s # save Read from standard input and save 1465s # set Set a file attribute 1465s # trash Move files or directories to the trash 1465s # tree Lists the contents of locations in a tree 1465s # 1465s # Use “gio help COMMAND” to get detailed help. 1465s # Error: 1465s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmp3vnpnwtu 1465s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp3vnpnwtu/tmp4iq15ukz'] 1465s # Return code: 0 1465s # Output: 1465s # uri: file:///tmp/tmp3vnpnwtu/tmp4iq15ukz 1465s # local path: /tmp/tmp3vnpnwtu/tmp4iq15ukz 1465s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1465s # attributes: 1465s # standard::content-type: application/x-zerosize 1465s # Error: 1465s ok 9 __main__.TestGioTool.test_no_args 1465s # gio: /usr/bin/gio 1465s # tmpdir: /tmp/tmpkbf68fth 1465s # Running: ['/usr/bin/gio'] 1465s # Return code: 1 1465s # Output: 1465s # 1465s # Error: 1465s # Usage: 1465s # gio COMMAND [ARGS…] 1465s # 1465s # Commands: 1465s # help Print help 1465s # version Print version 1465s # cat Concatenate files to standard output 1465s # copy Copy one or more files 1465s # info Show information about locations 1465s # launch Launch an application from a desktop file 1465s # list List the contents of locations 1465s # mime Get or set the handler for a mimetype 1465s # mkdir Create directories 1465s # monitor Monitor files and directories for changes 1465s # mount Mount or unmount the locations 1465s # move Move one or more files 1465s # open Open files with the default application 1465s # rename Rename a file 1465s # remove Delete one or more files 1465s # save Read from standard input and save 1465s # set Set a file attribute 1465s # trash Move files or directories to the trash 1465s # tree Lists the contents of locations in a tree 1465s # 1465s # Use “gio help COMMAND” to get detailed help. 1465s 1..9 1465s ok - glib/gio-tool.py.test 1465s # Running test: glib/gdbus-bz627724.test 1465s TAP version 14 1465s # random seed: R02S9b505b6b8ffb5fe272d41fec20332fd1 1465s 1..1 1465s # Start of gdbus tests 1465s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/home 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/cache 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/system-config2 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/config 1465s ok - glib/gdbus-bz627724.test 1465s # Running test: glib/socket.test 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/system-data2 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/data 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/state 1465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_U8CMK3/gdbus/bz627724/.dirs/runtime 1465s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1465s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1465s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1465s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1465s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1465s ok 1 /gdbus/bz627724 1465s # End of gdbus tests 1465s TAP version 14 1465s # random seed: R02Sf4406b0b3f34b76ae9c2bb9ca1ea7296 1465s 1..30 1465s # Start of socket tests 1466s ok 1 /socket/ipv4_sync 1466s # slow test /socket/ipv4_sync executed in 1.01 secs 1467s ok 2 /socket/ipv4_async 1467s # slow test /socket/ipv4_async executed in 1.00 secs 1467s ok 3 /socket/ipv6_sync 1467s ok 4 /socket/ipv6_async 1467s ok 5 /socket/ipv6_v4mapped 1467s # Executing: glib/socket.test 1468s ok 6 /socket/close_graceful 1468s # slow test /socket/close_graceful executed in 1.00 secs 1468s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1468s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1468s ok 8 /socket/fd_reuse 1468s ok 9 /socket/address 1468s ok 10 /socket/unix-from-fd 1468s ok 11 /socket/unix-connection 1468s ok 12 /socket/unix-connection-ancillary-data 1468s ok 13 /socket/source-postmortem 1468s ok 14 /socket/read_write 1468s ok 15 /socket/read_writev 1468s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1468s ok 16 /socket/receive_bytes 1468s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1468s ok 17 /socket/receive_bytes_from 1468s # Start of ipv4_sync tests 1468s ok 18 /socket/ipv4_sync/datagram 1468s # Start of datagram tests 1468s not ok - Test timed out after 300 seconds 1469s ok 19 /socket/ipv4_sync/datagram/timeouts 1469s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1469s # End of datagram tests 1469s # End of ipv4_sync tests 1469s # Start of ipv6_sync tests 1469s ok 20 /socket/ipv6_sync/datagram 1469s # Start of datagram tests 1470s ok 21 /socket/ipv6_sync/datagram/timeouts 1470s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1470s # End of datagram tests 1470s # End of ipv6_sync tests 1470s # Start of reuse tests 1470s ok 22 /socket/reuse/tcp 1470s ok 23 /socket/reuse/udp 1470s # End of reuse tests 1470s # Start of get_available tests 1470s ok 24 /socket/get_available/datagram 1470s ok 25 /socket/get_available/stream 1470s # End of get_available tests 1470s # Start of credentials tests 1470s # Supported on this OS: GCredentials:linux-ucred:pid=0 1470s ok 26 /socket/credentials/tcp_client 1470s # Supported on this OS: GCredentials:linux-ucred:pid=0 1470s ok 27 /socket/credentials/tcp_server 1470s # Supported on this OS: GCredentials:linux-ucred:pid=14343,uid=1000,gid=1000 1470s ok - glib/socket.test 1470s ok 28 /socket/credentials/unix_socketpair 1470s # End of credentials tests 1470s # Start of accept tests 1470s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1470s ok 29 /socket/accept/cancelled 1470s # End of accept tests 1470s # Start of connect tests 1470s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1470s ok 30 /socket/connect/cancelled 1470s # End of connect tests 1470s # End of socket tests 1470s # Running test: glib/memory-settings-backend.test 1470s TAP version 14 1470s # random seed: R02S2e19f6b65a935bc4e62a31fed950e57e 1470s 1..1 1470s # Start of memory-settings-backend tests 1470s ok 1 /memory-settings-backend/extension-point-registered 1470s # End of memory-settings-backend tests 1470s ok - glib/memory-settings-backend.test 1470s # Running test: glib/spawn-path-search.test 1470s TAP version 14 1470s # random seed: R02S029bde4d64147a2d8313bd0e046c06ea 1470s 1..7 1470s # Start of spawn tests 1470s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1470s ok - glib/spawn-path-search.test 1470s # Running test: glib/binding.test 1470s # 1470s # this is spawn-test-helper from glib/tests 1470s # 1470s ok 1 /spawn/do-not-search 1470s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1470s # 1470s # this is spawn-test-helper from path-test-subdir 1470s # 1470s ok 2 /spawn/search-path 1470s # /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. 1470s # 1470s # this is spawn-test-helper from path-test-subdir 1470s # 1470s ok 3 /spawn/search-path-from-envp 1470s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1470s # 1470s # this is spawn-test-helper from path-test-subdir 1470s # 1470s ok 4 /spawn/search-path-ambiguous 1470s # 1470s # this is spawn-test-helper from path-test-subdir 1470s # 1470s ok 5 /spawn/search-path-heap-allocation 1470s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1470s # 1470s # this is spawn-test-helper from glib/tests 1470s # 1470s ok 6 /spawn/search-path-fallback-in-environ 1470s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1470s # 1470s # this is spawn-test-helper from glib/tests 1470s # 1470s ok 7 /spawn/search-path-fallback-in-envp 1470s # End of spawn tests 1470s TAP version 14 1470s # random seed: R02Sfafc5b259cd3d3357093f220bbbb22b7 1470s 1..19 1470s # Start of binding tests 1470s ok 1 /binding/default 1470s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1470s ok 2 /binding/canonicalisation 1470s ok 3 /binding/bidirectional 1470s ok 4 /binding/transform 1470s ok 5 /binding/transform-default 1470s ok 6 /binding/transform-closure 1470s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1470s ok 7 /binding/chain 1470s ok 8 /binding/sync-create 1470s ok 9 /binding/invert-boolean 1470s ok 10 /binding/same-object 1470s ok 11 /binding/unbind 1470s ok 12 /binding/unbind-weak 1470s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1470s ok 13 /binding/unbind-multiple 1470s ok 14 /binding/fail 1470s ok 15 /binding/interface 1470s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1470s ok 16 /binding/concurrent-unbind 1470s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1470s ok 17 /binding/concurrent-finalizing 1470s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1470s ok 18 /binding/dispose-source 1470s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1470s ok 19 /binding/dispose-target 1470s # End of binding tests 1470s ok - glib/binding.test 1470s # Running test: glib/sandbox.test 1470s TAP version 14 1470s # random seed: R02S2000a690fd59f2bff2d61dc39d3add9b 1470s 1..4 1470s # Start of sandbox tests 1470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/home 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/cache 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/system-config2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/config 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/system-data2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/data 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/state 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_9VR7J3/sandbox/none/.dirs/runtime 1470s ok 1 /sandbox/none 1470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/home 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/cache 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/system-config2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/config 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/system-data2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/data 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/state 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_9VR7J3/sandbox/snap/.dirs/runtime 1470s # Created snap.yaml in /tmp/test_sandbox_9VR7J3/snap/current/meta/snap.yaml 1470s ok 2 /sandbox/snap 1470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/home 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/cache 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/system-config2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/config 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/system-data2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/data 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/state 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_9VR7J3/sandbox/classic-snap/.dirs/runtime 1470s # Created snap.yaml in /tmp/test_sandbox_9VR7J3/snap/current/meta/snap.yaml 1470s ok 3 /sandbox/classic-snap 1470s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/home 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/cache 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/system-config2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/config 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/system-data2 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/data 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/state 1470s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/runtime 1470s # Creating .flatpak-info in /tmp/test_sandbox_9VR7J3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1470s ok 4 /sandbox/flatpak 1470s # End of sandbox tests 1470s ok - glib/sandbox.test 1470s # Running test: glib/signals-refcount2.test 1470s TAP version 14 1470s # random seed: R02S6dd45fdd160d841b5264f673a384aa3a 1470s 1..1 1470s # Start of gobject tests 1470s # Start of refcount tests 1470s # init 0x10b14258d2c0 1470s # 1470s # init 0x10b142585580 1470s # 1472s # Executing: glib/signals-refcount2.test 1475s # dispose 0x10b14258d2c0! 1475s # 1475s # dispose 0x10b142585580! 1475s # 1475s ok 1 /gobject/refcount/signals 1475s # slow test /gobject/refcount/signals executed in 5.00 secs 1475s # End of refcount tests 1475s # End of gobject tests 1475s ok - glib/signals-refcount2.test 1475s # Running test: glib/thumbnail-verification.test 1475s ok - glib/thumbnail-verification.test 1475s TAP version 14 1475s # random seed: R02Sd3745a97975a78aef30b89cd02ba3303 1475s 1..1 1475s # Start of png-thumbs tests 1475s ok 1 /png-thumbs/validity 1475s # End of png-thumbs tests 1475s # Running test: glib/gdbus-names.test 1475s TAP version 14 1475s # random seed: R02Sd79c2510ee8d763caca5bcc45ab300e7 1475s 1..10 1475s # Start of gdbus tests 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/validate-names/.dirs/runtime 1475s ok 1 /gdbus/validate-names 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-own-name/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 2 /gdbus/bus-own-name 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 3 /gdbus/bus-watch-name 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 4 /gdbus/bus-watch-name-auto-start 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s dbus-daemon[15002]: [session uid=1000 pid=15002 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14993 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1475s # Acquired a message bus connection 1475s dbus-daemon[15002]: [session uid=1000 pid=15002 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1475s # Acquired the name org.gtk.GDBus.FakeService 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 6 /gdbus/bus-watch-name-closures 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1475s ok - glib/gdbus-names.test 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 7 /gdbus/bus-watch-name-closures-auto-start 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-watch-different-context/.dirs/runtime 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 8 /gdbus/bus-watch-different-context 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/bus-unwatch-early/.dirs/runtime 1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1475s ok 9 /gdbus/bus-unwatch-early 1475s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/home 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/cache 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/system-config2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/config 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/system-data2 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/data 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/state 1475s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_YS19J3/gdbus/escape-object-path/.dirs/runtime 1475s ok 10 /gdbus/escape-object-path 1475s # End of gdbus tests 1475s # Running test: glib/macros-c-11.test 1475s ok - glib/macros-c-11.test 1475s TAP version 14 1475s # random seed: R02S105d76e6a9215a2146960463f5911682 1475s 1..4 1475s # Start of C tests 1475s # G_C_STD_VERSION is 201112 1475s ok 1 /C/standard-11 1475s # End of C tests 1475s # Start of alignof tests 1475s ok 2 /alignof/fallback 1475s # End of alignof tests 1475s # Start of assert tests 1475s ok 3 /assert/static 1475s # End of assert tests 1475s # Start of struct tests 1475s ok 4 /struct/sizeof_member 1475s # End of struct tests 1475s # Running test: glib/application-command-line.test 1475s ok - glib/application-command-line.test 1475s TAP version 14 1475s # random seed: R02Sc2764aadbd228601a9d7f21b6c67a91b 1475s 1..1 1475s # Start of application-command-line tests 1475s ok 1 /application-command-line/basic-properties 1475s # End of application-command-line tests 1475s # Running test: glib/task.test 1475s TAP version 14 1475s # random seed: R02S84c7e3d95bf81053f784f8d75b0123b3 1475s 1..37 1475s # Start of gtask tests 1475s ok 1 /gtask/basic 1475s ok 2 /gtask/error 1475s ok 3 /gtask/error-literal 1475s ok 4 /gtask/error-literal-from-variable 1475s ok 5 /gtask/return-from-same-iteration 1475s ok 6 /gtask/return-from-toplevel 1475s ok 7 /gtask/return-from-anon-thread 1475s ok 8 /gtask/return-from-wrong-thread 1475s ok 9 /gtask/no-callback 1475s ok 10 /gtask/report-error 1475s ok 11 /gtask/priority 1475s ok 12 /gtask/name 1475s ok 13 /gtask/static-name 1475s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1475s ok 14 /gtask/asynchronous-cancellation 1475s ok 15 /gtask/check-cancellable 1475s ok 16 /gtask/return-if-cancelled 1475s ok 17 /gtask/run-in-thread 1475s ok 18 /gtask/run-in-thread-sync 1475s ok 19 /gtask/run-in-thread-priority 1476s ok 20 /gtask/run-in-thread-nested 1476s ok 21 /gtask/run-in-thread-overflow 1476s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1476s # GLib-GIO-DEBUG: GTask 0x13f554591db0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1476s # GLib-GIO-DEBUG: GTask 0x13f5545fb3f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1476s ok 22 /gtask/return-on-cancel 1476s # GLib-GIO-DEBUG: GTask 0x13f554591510 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1476s # GLib-GIO-DEBUG: GTask 0x13f5545911d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1476s ok 23 /gtask/return-on-cancel-sync 1476s ok 24 /gtask/return-on-cancel-atomic 1476s ok 25 /gtask/return-pointer 1476s ok 26 /gtask/return-value 1476s ok 27 /gtask/return-prefixed-error 1476s ok 28 /gtask/object-keepalive 1476s ok 29 /gtask/legacy-error 1476s ok 30 /gtask/finalize-without-return 1476s ok 31 /gtask/thread-pool-stress # SKIP Skipping thread pool stress test in non-thorough mode 1476s # Start of name tests 1476s ok 32 /gtask/name/macro-wrapper 1476s # End of name tests 1476s # Start of return tests 1476s ok 33 /gtask/return/error-first 1476s ok 34 /gtask/return/value-first 1476s # Start of in-idle tests 1476s ok - glib/task.test 1476s # Running test: glib/search-utils.test 1476s ok 35 /gtask/return/in-idle/error-first 1476s ok 36 /gtask/return/in-idle/value-first 1476s # End of in-idle tests 1476s # End of return tests 1476s # Start of attach-source tests 1476s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1476s ok 37 /gtask/attach-source/set-name 1476s # End of attach-source tests 1476s # End of gtask tests 1476s TAP version 14 1476s ok - glib/search-utils.test 1476s # Running test: glib/live-g-file.test 1476s # random seed: R02Sd6dcb941e918e37f4e90f759be0da564 1476s # GLib-DEBUG: Current user locale: C.UTF-8 1476s 1..6 1476s # Start of search tests 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1476s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1476s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1476s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1476s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1476s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1476s ok 1 /search/basic 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1476s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1476s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1476s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1476s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1476s ok 2 /search/composed 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1476s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1476s ok 3 /search/decomposed 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1476s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1476s ok 4 /search/turkish 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1476s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1476s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1476s ok 5 /search/c_locale_unicode 1476s # GLib-DEBUG: Started 1476s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1476s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1476s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1476s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1476s ok 6 /search/multi_words 1476s # End of search tests 1476s TAP version 14 1476s # random seed: R02Sabd0ccfee183191a857f0603ff47fa22 1476s 1..13 1476s # Start of live-g-file tests 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/prep_clean_structure/.dirs/runtime 1476s # Cleaning target testing structure in '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1476s ok 1 /live-g-file/prep_clean_structure 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/create_structure/.dirs/runtime 1476s # 1476s # Going to create testing structure in '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # Creating directory 'dir1'... 1476s # Creating directory 'dir1/subdir'... 1476s # Creating directory 'dir2'... 1476s # Creating directory 'dir-target'... 1476s # Creating directory 'dir_no-access'... 1476s # Creating directory 'dir_no-write'... 1476s # Creating file 'target-file'... 1476s # Creating file 'normal_file'... 1476s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1476s # Creating file 'executable_file'... 1476s # Creating file 'private_file'... 1476s # Creating file 'normal_file2'... 1476s # Creating file 'readonly_file'... 1476s # Creating file 'UTF_příliš z'... 1476s # Creating directory 'dir_příliš z'... 1476s # Creating symlink 'lost_symlink' --> 'nowhere'... 1476s # Creating directory 'dir_hidden'... 1476s # Creating file 'dir_hidden/.a-hidden-file'... 1476s # Creating file 'dir_hidden/file-in-.hidden1'... 1476s # Creating file 'dir_hidden/file-in-.hidden2'... 1476s # Creating pattern file... 1476s # done. 1476s ok 2 /live-g-file/create_structure 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_initial_structure/.dirs/runtime 1476s # Testing sample structure in '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # Testing file 'dir1'... 1476s # Testing file 'dir1/subdir'... 1476s # Testing file 'dir2'... 1476s # Testing file 'dir-target'... 1476s # Testing file 'dir_no-access'... 1476s # Testing file 'dir_no-write'... 1476s # Testing file 'target-file'... 1476s # Testing file 'normal_file'... 1476s # Testing file 'normal_file-symlink'... 1476s # Testing file 'executable_file'... 1476s # Testing file 'private_file'... 1476s # Testing file 'normal_file2'... 1476s # Testing file 'readonly_file'... 1476s # Testing file 'UTF_příliš z'... 1476s # Testing file 'dir_příliš z'... 1476s # Testing file 'lost_symlink'... 1476s # Testing file 'dir_hidden'... 1476s # Testing file 'dir_hidden/.a-hidden-file'... 1476s # Testing file 'dir_hidden/file-in-.hidden1'... 1476s # Testing file 'dir_hidden/file-in-.hidden2'... 1476s # Testing pattern file... 1476s # read 65536 bytes, total = 65536 of 65536. 1476s ok 3 /live-g-file/test_initial_structure 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_traverse_structure/.dirs/runtime 1476s # Traversing through the sample structure in '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # Found file dir1, relative to root: dir1 1476s # Found file subdir, relative to root: dir1/subdir 1476s # Found file dir2, relative to root: dir2 1476s # Found file dir-target, relative to root: dir-target 1476s # Found file dir_no-access, relative to root: dir_no-access 1476s # Found file dir_no-write, relative to root: dir_no-write 1476s # Found file target-file, relative to root: target-file 1476s # Found file normal_file, relative to root: normal_file 1476s # Found file normal_file-symlink, relative to root: normal_file-symlink 1476s # Found file executable_file, relative to root: executable_file 1476s # Found file private_file, relative to root: private_file 1476s # Found file normal_file2, relative to root: normal_file2 1476s # Found file readonly_file, relative to root: readonly_file 1476s # Found file UTF_příliš z, relative to root: UTF_příliš z 1476s # Found file dir_příliš z, relative to root: dir_příliš z 1476s # Found file lost_symlink, relative to root: lost_symlink 1476s # Found file dir_hidden, relative to root: dir_hidden 1476s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1476s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1476s # Found file .hidden, relative to root: dir_hidden/.hidden 1476s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1476s # Found file pattern_file, relative to root: pattern_file 1476s ok 4 /live-g-file/test_traverse_structure 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_enumerate/.dirs/runtime 1476s # Test enumerate '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # Testing file 'dir_no-access' 1476s # Testing file 'normal_file' 1476s # Testing file 'normal_file-symlink' 1476s # Testing file 'not_exists' 1476s # Testing file 'not_exists' 1476s # Testing file 'not_exists2' 1476s # Testing file 'not_exists3' 1476s # Testing file 'not_exists4' 1476s # Testing file 'dir_no-execute/file' 1476s ok 5 /live-g-file/test_enumerate 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_open/.dirs/runtime 1476s # test_open: 'dir1' 1476s # test_open: 'dir_no-access' 1476s # test_open: 'target-file' 1476s # test_open: 'normal_file-symlink' 1476s # test_open: 'executable_file' 1476s # test_open: 'private_file' 1476s # test_open: 'readonly_file' 1476s # test_open: 'UTF_příliš z' 1476s # test_open: 'pattern_file' 1476s # test_open: 'not_exists' 1476s # test_open: 'dir_no-execute/file' 1476s # test_open: 'lost_symlink' 1476s ok 6 /live-g-file/test_open 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_create/.dirs/runtime 1476s # test_create: 'dir1' 1476s # error code 3 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir1”: Is a directory 1476s # test_create: 'dir1/subdir' 1476s # error code 3 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir1/subdir”: Is a directory 1476s # test_create: 'dir2' 1476s # error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir2”: File exists 1476s # test_create: 'normal_file' 1476s # error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/normal_file”: File exists 1476s # test_create: 'executable_file' 1476s # test_create: 'private_file' 1476s # test_create: 'normal_file2' 1476s # test_create: 'UTF_příliš z' 1476s # error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/UTF_příliš z”: File exists 1476s # test_create: 'dir_příliš z' 1476s # error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_příliš z”: File exists 1476s # test_create: 'pattern_file' 1476s # test_create: 'not_exists2' 1476s # test_create: 'not_exists3' 1476s # test_create: 'not_exists4' 1476s ok 7 /live-g-file/test_create 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_copy_move/.dirs/runtime 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> '.' 1476s # res = 0, error code 2 = Target file exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> 'target-file' 1476s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir2' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> 'dir-target' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> '.' 1476s # res = 0, error code 2 = Target file exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> 'target-file' 1476s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/dir-target”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> 'not_exists' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> 'dir_no-access' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'dir-target' --> 'dir_no-write' 1476s # res = 0, error code 25 = Can’t recursively copy directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/target-file”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'target-file' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> '.' 1476s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/normal_file-symlink: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1476s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1476s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/executable_file”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/executable_file”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'executable_file' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/private_file”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/private_file”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'private_file' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/normal_file2”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/UTF_příliš z”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> '.' 1476s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/pattern_file”: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> 'target-file' 1476s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> 'not_exists' 1476s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'dir-target' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> '.' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'target-file' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'not_exists' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'dir_no-access' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'dir_no-write' 1476s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists”: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'not_exists' --> 'dir-target' 1476s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> 'dir-target' 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> '.' 1476s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/lost_symlink: File exists 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> 'target-file' 1476s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> 'not_exists' 1476s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1476s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1476s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1476s ok 8 /live-g-file/test_copy_move 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_delete/.dirs/runtime 1476s # Deleting dir1, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir1 1476s # result = 0, error = Error removing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir1: Directory not empty 1476s # Deleting dir2, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir2 1476s # result = 0, error = Error removing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir2: No such file or directory 1476s # Deleting executable_file, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/executable_file 1476s # result = 0, error = Error trashing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/executable_file: No such file or directory 1476s # Deleting readonly_file, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/readonly_file 1476s # Deleting dir_příliš z, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_příliš z 1476s # Deleting not_exists, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists 1476s # result = 0, error = Error removing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists: No such file or directory 1476s # Deleting not_exists, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists 1476s # result = 0, error = Error trashing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/not_exists: No such file or directory 1476s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-execute/file 1476s # result = 0, error = Error removing file /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1476s # Deleting lost_symlink, path = /tmp/test_live-g-file_2GIBK3/testdir_live-g-file/lost_symlink 1476s ok 9 /live-g-file/test_delete 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1476s # We do not have CAP_DAC_OVERRIDE or equivalent 1476s ok 10 /live-g-file/test_make_directory_with_parents 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/final_clean/.dirs/runtime 1476s # Cleaning target testing structure in '/tmp/test_live-g-file_2GIBK3/testdir_live-g-file'... 1476s # deleting 'dir1' 1476s # deleting 'subdir' 1476s # deleting 'dir-target' 1476s # deleting 'dir2' 1476s # deleting 'target-file' 1476s # deleting 'normal_file-symlink' 1476s # deleting 'pattern_file' 1476s # deleting 'executable_file' 1476s # deleting 'private_file' 1476s # deleting 'normal_file2' 1476s # deleting 'UTF_příliš z' 1476s # deleting 'lost_symlink' 1476s # deleting 'dir_no-access' 1476s # deleting 'dir_no-write' 1476s # deleting 'target-file' 1476s # deleting 'normal_file' 1476s # deleting 'normal_file-symlink' 1476s # deleting 'executable_file~' 1476s # deleting 'private_file' 1476s # deleting 'normal_file2~' 1476s # deleting 'a' 1476s # deleting 'UTF_příliš z' 1476s # deleting 'dir_hidden' 1476s # deleting '.a-hidden-file' 1476s # deleting 'file-in-.hidden1' 1476s # deleting '.hidden' 1476s # deleting 'file-in-.hidden2' 1476s # deleting 'pattern_file' 1476s # deleting 'executable_file' 1476s # deleting 'normal_file2' 1476s # deleting 'not_exists2' 1476s # deleting 'not_exists3' 1476s # deleting 'not_exists4' 1476s ok 11 /live-g-file/final_clean 1476s # Start of test_unix_is_mountpoint tests 1476s ok - glib/live-g-file.test 1476s # Running test: glib/buffered-output-stream.test 1476s ok - glib/buffered-output-stream.test 1476s # Running test: glib/array-test.test 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1476s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1476s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1476s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_2GIBK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1476s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1476s # End of test_unix_is_mountpoint tests 1476s # End of live-g-file tests 1476s TAP version 14 1476s # random seed: R02Sba4ddaf1f432c393d676247f7b74465d 1476s 1..5 1476s # Start of buffered-output-stream tests 1476s ok 1 /buffered-output-stream/write 1476s ok 2 /buffered-output-stream/grow 1476s ok 3 /buffered-output-stream/seek 1476s ok 4 /buffered-output-stream/truncate 1476s # End of buffered-output-stream tests 1476s # Start of filter-output-stream tests 1476s ok 5 /filter-output-stream/close 1476s # End of filter-output-stream tests 1476s TAP version 14 1476s # random seed: R02S8c0fc42cd4aba4aaa053533ca1694fcc 1476s 1..120 1476s # Start of array tests 1476s ok 1 /array/ref-count 1476s ok 2 /array/steal 1476s ok 3 /array/clear-func 1476s ok 4 /array/binary-search 1476s ok 5 /array/overflow-append-vals 1476s ok 6 /array/overflow-set-size 1476s # Start of new tests 1476s ok 7 /array/new/zero-terminated 1476s ok 8 /array/new/take 1476s ok 9 /array/new/take-zero-terminated 1476s # Start of take tests 1476s ok 10 /array/new/take/empty 1476s ok 11 /array/new/take/overflow 1476s ok 12 /array/new/take/zero-size 1476s # End of take tests 1476s # Start of take-zero-terminated tests 1476s ok 13 /array/new/take-zero-terminated/zero-size 1476s ok 14 /array/new/take-zero-terminated/null 1476s # End of take-zero-terminated tests 1476s # End of new tests 1476s # Start of copy tests 1476s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1476s ok 15 /array/copy/sized 1476s ok 16 /array/copy/zero-terminated 1476s ok 17 /array/copy/non-zero-terminated-no-clear 1476s ok 18 /array/copy/non-zero-terminated-clear 1476s ok 19 /array/copy/zero-terminated-no-clear 1476s ok 20 /array/copy/zero-terminated-clear 1476s # End of copy tests 1476s # Start of remove-range tests 1476s ok 21 /array/remove-range/zero-terminated-null 1476s ok 22 /array/remove-range/non-zero-terminated-no-clear 1476s ok 23 /array/remove-range/non-zero-terminated-clear 1476s ok 24 /array/remove-range/zero-terminated-no-clear 1476s ok 25 /array/remove-range/zero-terminated-clear 1476s # End of remove-range tests 1476s # Start of set-size tests 1476s ok 26 /array/set-size/zero-terminated-null 1476s ok 27 /array/set-size/non-zero-terminated-no-clear 1476s ok 28 /array/set-size/non-zero-terminated-clear 1476s ok 29 /array/set-size/zero-terminated-no-clear 1476s ok 30 /array/set-size/zero-terminated-clear 1476s # Start of sized tests 1476s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1476s ok 32 /array/set-size/sized/non-zero-terminated-clear 1476s ok 33 /array/set-size/sized/zero-terminated-no-clear 1476s ok 34 /array/set-size/sized/zero-terminated-clear 1476s # End of sized tests 1476s # End of set-size tests 1476s # Start of append-val tests 1476s ok 35 /array/append-val/non-zero-terminated-no-clear 1476s ok 36 /array/append-val/non-zero-terminated-clear 1476s ok 37 /array/append-val/zero-terminated-no-clear 1476s ok 38 /array/append-val/zero-terminated-clear 1476s # End of append-val tests 1476s # Start of prepend-val tests 1476s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1476s ok 40 /array/prepend-val/non-zero-terminated-clear 1476s ok 41 /array/prepend-val/zero-terminated-no-clear 1476s ok 42 /array/prepend-val/zero-terminated-clear 1476s # End of prepend-val tests 1476s # Start of prepend-vals tests 1476s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1476s ok 44 /array/prepend-vals/non-zero-terminated-clear 1476s ok 45 /array/prepend-vals/zero-terminated-no-clear 1476s ok 46 /array/prepend-vals/zero-terminated-clear 1476s # End of prepend-vals tests 1476s # Start of insert-vals tests 1476s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1476s ok 48 /array/insert-vals/non-zero-terminated-clear 1476s ok 49 /array/insert-vals/zero-terminated-no-clear 1476s ok 50 /array/insert-vals/zero-terminated-clear 1476s # End of insert-vals tests 1476s # Start of remove-index tests 1476s ok 51 /array/remove-index/non-zero-terminated-no-clear 1476s ok 52 /array/remove-index/non-zero-terminated-clear 1476s ok 53 /array/remove-index/zero-terminated-no-clear 1476s ok 54 /array/remove-index/zero-terminated-clear 1476s # End of remove-index tests 1476s # Start of remove-index-fast tests 1476s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1476s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1476s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1476s ok 58 /array/remove-index-fast/zero-terminated-clear 1476s # End of remove-index-fast tests 1476s # Start of sort tests 1476s ok 59 /array/sort/non-zero-terminated-no-clear 1476s ok 60 /array/sort/non-zero-terminated-clear 1476s ok 61 /array/sort/zero-terminated-no-clear 1476s ok 62 /array/sort/zero-terminated-clear 1476s # End of sort tests 1476s # Start of sort-with-data tests 1476s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1476s ok 64 /array/sort-with-data/non-zero-terminated-clear 1476s ok 65 /array/sort-with-data/zero-terminated-no-clear 1476s ok 66 /array/sort-with-data/zero-terminated-clear 1476s # End of sort-with-data tests 1476s # End of array tests 1476s # Start of pointerarray tests 1476s ok 67 /pointerarray/add 1476s ok 68 /pointerarray/insert 1476s ok 69 /pointerarray/new-take 1476s ok 70 /pointerarray/new-take-null-terminated 1476s ok 71 /pointerarray/new-from-array 1476s ok 72 /pointerarray/new-from-null-terminated-array 1476s ok 73 /pointerarray/free-func 1476s ok 74 /pointerarray/array_extend_and_steal 1476s ok 75 /pointerarray/sort 1476s ok 76 /pointerarray/sort-with-data 1476s ok 77 /pointerarray/sort-values 1476s ok 78 /pointerarray/sort-values-with-data 1476s ok 79 /pointerarray/remove-range 1476s ok 80 /pointerarray/steal 1476s # Start of free tests 1476s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1476s ok 81 /pointerarray/free/null-terminated 1476s # End of free tests 1476s # Start of new-take tests 1476s ok 82 /pointerarray/new-take/empty 1476s ok 83 /pointerarray/new-take/overflow 1476s ok 84 /pointerarray/new-take/with-free-func 1476s # End of new-take tests 1476s # Start of new-take-null-terminated tests 1476s ok 85 /pointerarray/new-take-null-terminated/empty 1476s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1476s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1476s # End of new-take-null-terminated tests 1476s # Start of new-from-array tests 1476s ok 88 /pointerarray/new-from-array/empty 1476s ok 89 /pointerarray/new-from-array/overflow 1476s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1476s # End of new-from-array tests 1476s # Start of new-from-null-terminated-array tests 1476s ok 91 /pointerarray/new-from-null-terminated-array/empty 1476s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1476s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1476s # End of new-from-null-terminated-array tests 1476s # Start of ref-count tests 1476s ok 94 /pointerarray/ref-count/not-null-terminated 1476s ok 95 /pointerarray/ref-count/null-terminated 1476s # End of ref-count tests 1476s # Start of array_copy tests 1476s # /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 1476s ok 96 /pointerarray/array_copy/not-null-terminated 1476s # /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 1476s ok 97 /pointerarray/array_copy/null-terminated 1476s # End of array_copy tests 1476s # Start of array_extend tests 1476s ok 98 /pointerarray/array_extend/not-null-terminated 1476s ok 99 /pointerarray/array_extend/null-terminated 1476s # End of array_extend tests 1476s # Start of sort tests 1476s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1476s ok 100 /pointerarray/sort/example 1476s # End of sort tests 1476s # Start of sort-with-data tests 1476s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1476s ok 101 /pointerarray/sort-with-data/example 1476s # End of sort-with-data tests 1476s # Start of sort-values tests 1476s ok 102 /pointerarray/sort-values/example 1476s # End of sort-values tests 1476s # Start of sort-values-with-data tests 1476s ok 103 /pointerarray/sort-values-with-data/example 1476s # End of sort-values-with-data tests 1476s # Start of find tests 1476s ok 104 /pointerarray/find/empty 1476s ok 105 /pointerarray/find/non-empty 1476s # End of find tests 1476s # Start of steal_index tests 1476s ok 106 /pointerarray/steal_index/not-null-terminated 1476s ok 107 /pointerarray/steal_index/null-terminated 1476s # End of steal_index tests 1476s # End of pointerarray tests 1476s # Start of bytearray tests 1476s ok 108 /bytearray/steal 1476s ok 109 /bytearray/append 1476s ok 110 /bytearray/prepend 1476s ok 111 /bytearray/remove 1476s ok 112 /bytearray/remove-fast 1476s ok 113 /bytearray/remove-range 1476s ok 114 /bytearray/ref-count 1476s ok 115 /bytearray/set-size 1476s ok 116 /bytearray/sort 1476s ok 117 /bytearray/sort-with-data 1476s ok 118 /bytearray/new-take 1476s ok 119 /bytearray/new-take-overflow 1476s ok 120 /bytearray/free-to-bytes 1476s # End of bytearray tests 1476s ok - glib/array-test.test 1476s # Running test: glib/mutex.test 1476s TAP version 14 1476s # random seed: R02S4ec1f2a994208cdc8a5fe76c2d26d5de 1476s 1..17 1476s # Start of thread tests 1476s ok 1 /thread/mutex1 1476s ok 2 /thread/mutex2 1476s ok 3 /thread/mutex3 1476s ok 4 /thread/mutex4 1477s # Executing: glib/mutex.test 1481s ok 5 /thread/mutex5 1481s # slow test /thread/mutex5 executed in 4.77 secs 1481s # Start of mutex tests 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1481s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1481s ok 6 /thread/mutex/errno 1481s # Start of perf tests 1481s # max perf: 1.000000 mips 1481s ok 7 /thread/mutex/perf/uncontended 1481s # Start of contended tests 1481s # max perf: inf mips 1481s ok 8 /thread/mutex/perf/contended/1 1481s # max perf: inf mips 1481s ok 9 /thread/mutex/perf/contended/2 1481s # max perf: 4.000000 mips 1481s ok 10 /thread/mutex/perf/contended/3 1481s # max perf: 5.000000 mips 1481s ok 11 /thread/mutex/perf/contended/4 1481s # max perf: 6.000000 mips 1481s ok 12 /thread/mutex/perf/contended/5 1481s # max perf: 3.500000 mips 1481s ok 13 /thread/mutex/perf/contended/6 1481s # max perf: 0.173913 mips 1481s ok 14 /thread/mutex/perf/contended/7 1481s # max perf: 4.500000 mips 1481s ok 15 /thread/mutex/perf/contended/8 1481s # max perf: 1.111111 mips 1481s ok 16 /thread/mutex/perf/contended/9 1481s # max perf: 2.200000 mips 1481s ok 17 /thread/mutex/perf/contended/10 1481s # End of contended tests 1481s # End of perf tests 1481s # End of mutex tests 1481s # End of thread tests 1481s ok - glib/mutex.test 1481s # Running test: glib/g-file-info-filesystem-readonly.test 1481s TAP version 14 1481s # random seed: R02S278f75979906bc1a6f7bd9f94d1ba2cb 1481s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1481s 1..2 1481s # Start of g-file-info-filesystem-readonly tests 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1481s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_SS0IK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1481s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1481s ok - glib/g-file-info-filesystem-readonly.test 1481s # Running test: glib/volumemonitor.test 1481s ok - glib/volumemonitor.test 1481s # Running test: glib/type.test 1481s ok - glib/type.test 1481s # Running test: glib/portal-support-snap-classic.test 1481s # End of g-file-info-filesystem-readonly tests 1481s TAP version 14 1481s # random seed: R02S225f3bdd613cb2cd1e07c63765e1bb4d 1481s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1481s 1..3 1481s # Start of volumemonitor tests 1481s ok 1 /volumemonitor/connected_drives 1481s ok 2 /volumemonitor/volumes 1481s ok 3 /volumemonitor/mounts 1481s # End of volumemonitor tests 1481s TAP version 14 1481s # random seed: R02S75ee45f0bc6fcc9611de5fdc63ebfb91 1481s 1..6 1481s # Start of type tests 1481s ok 1 /type/registration-serial 1481s ok 2 /type/interface-prerequisite 1481s ok 3 /type/interface-check 1481s ok 4 /type/next-base 1481s ok 5 /type/is-a 1481s # Invalid types can’t be queried. 1481s # Unclassed types can’t be queried. 1481s ok 6 /type/query 1481s # End of type tests 1481s TAP version 14 1481s # random seed: R02S34dc323c461fe59fde4cb745e7de781e 1481s 1..3 1481s # Start of portal-support tests 1481s # Start of snap-classic tests 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1481s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/no-snapctl: No such file or directory 1481s ok 1 /portal-support/snap-classic/no-snapctl 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/runtime 1481s ok - glib/portal-support-snap-classic.test 1481s # Running test: glib/utf8-validate.test 1481s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3IFJK3/meta/snap.yaml 1481s # Created snapctl in /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1481s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/none: No such file or directory 1481s ok 2 /portal-support/snap-classic/none 1481s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/home 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/cache 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/system-config2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/config 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/system-data2 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/data 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/state 1481s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/runtime 1481s # Created snap.yaml in /tmp/test_portal-support-snap-classic_3IFJK3/meta/snap.yaml 1481s # Created snapctl in /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1481s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3IFJK3/portal-support/snap-classic/all: No such file or directory 1481s ok 3 /portal-support/snap-classic/all 1481s # End of snap-classic tests 1481s # End of portal-support tests 1481s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_3IFJK3: No such file or directory 1481s TAP version 14 1481s # random seed: R02Sb92b360b3f0bd97262de41b44235e385 1481s 1..238 1481s # Start of utf8 tests 1481s # Vector 0 1481s # Vector 1 1481s # Vector 2 1481s # Vector 3 1481s # Vector 4 1481s # Vector 5 1481s # Vector 6 1481s # Vector 7 1481s # Vector 8 1481s # Vector 9 1481s # Vector 10 1481s # Vector 11 1481s # Vector 12 1481s # Vector 13 1481s # Vector 14 1481s # Vector 15 1481s # Vector 16 1481s # Vector 17 1481s # Vector 18 1481s # Vector 19 1481s # Vector 20 1481s # Vector 21 1481s # Vector 22 1481s # Vector 23 1481s # Vector 24 1481s # Vector 25 1481s # Vector 26 1481s # Vector 27 1481s ok 1 /utf8/get-char-validated 1481s # Start of validate tests 1481s ok 2 /utf8/validate/0 1481s ok 3 /utf8/validate/1 1481s ok 4 /utf8/validate/2 1481s ok 5 /utf8/validate/3 1481s ok 6 /utf8/validate/4 1481s ok 7 /utf8/validate/5 1481s ok 8 /utf8/validate/6 1481s ok 9 /utf8/validate/7 1481s ok 10 /utf8/validate/8 1481s ok 11 /utf8/validate/9 1481s ok 12 /utf8/validate/10 1481s ok 13 /utf8/validate/11 1481s ok 14 /utf8/validate/12 1481s ok 15 /utf8/validate/13 1481s ok 16 /utf8/validate/14 1481s ok 17 /utf8/validate/15 1481s ok 18 /utf8/validate/16 1481s ok 19 /utf8/validate/17 1481s ok 20 /utf8/validate/18 1481s ok 21 /utf8/validate/19 1481s ok 22 /utf8/validate/20 1481s ok 23 /utf8/validate/21 1481s ok 24 /utf8/validate/22 1481s ok 25 /utf8/validate/23 1481s ok 26 /utf8/validate/24 1481s ok 27 /utf8/validate/25 1481s ok 28 /utf8/validate/26 1481s ok 29 /utf8/validate/27 1481s ok 30 /utf8/validate/28 1481s ok 31 /utf8/validate/29 1481s ok 32 /utf8/validate/30 1481s ok 33 /utf8/validate/31 1481s ok 34 /utf8/validate/32 1481s ok 35 /utf8/validate/33 1481s ok 36 /utf8/validate/34 1481s ok 37 /utf8/validate/35 1481s ok 38 /utf8/validate/36 1481s ok 39 /utf8/validate/37 1481s ok 40 /utf8/validate/38 1481s ok 41 /utf8/validate/39 1481s ok 42 /utf8/validate/40 1481s ok 43 /utf8/validate/41 1481s ok 44 /utf8/validate/42 1481s ok 45 /utf8/validate/43 1481s ok 46 /utf8/validate/44 1481s ok 47 /utf8/validate/45 1481s ok 48 /utf8/validate/46 1481s ok 49 /utf8/validate/47 1481s ok 50 /utf8/validate/48 1481s ok 51 /utf8/validate/49 1481s ok 52 /utf8/validate/50 1481s ok 53 /utf8/validate/51 1481s ok 54 /utf8/validate/52 1481s ok 55 /utf8/validate/53 1481s ok 56 /utf8/validate/54 1481s ok 57 /utf8/validate/55 1481s ok 58 /utf8/validate/56 1481s ok 59 /utf8/validate/57 1481s ok 60 /utf8/validate/58 1481s ok 61 /utf8/validate/59 1481s ok 62 /utf8/validate/60 1481s ok 63 /utf8/validate/61 1481s ok 64 /utf8/validate/62 1481s ok 65 /utf8/validate/63 1481s ok 66 /utf8/validate/64 1481s ok 67 /utf8/validate/65 1481s ok 68 /utf8/validate/66 1481s ok 69 /utf8/validate/67 1481s ok 70 /utf8/validate/68 1481s ok 71 /utf8/validate/69 1481s ok 72 /utf8/validate/70 1481s ok 73 /utf8/validate/71 1481s ok 74 /utf8/validate/72 1481s ok 75 /utf8/validate/73 1481s ok 76 /utf8/validate/74 1481s ok 77 /utf8/validate/75 1481s ok 78 /utf8/validate/76 1481s ok 79 /utf8/validate/77 1481s ok 80 /utf8/validate/78 1481s ok 81 /utf8/validate/79 1481s ok 82 /utf8/validate/80 1481s ok 83 /utf8/validate/81 1481s ok 84 /utf8/validate/82 1481s ok 85 /utf8/validate/83 1481s ok 86 /utf8/validate/84 1481s ok 87 /utf8/validate/85 1481s ok 88 /utf8/validate/86 1481s ok 89 /utf8/validate/87 1481s ok 90 /utf8/validate/88 1481s ok 91 /utf8/validate/89 1481s ok 92 /utf8/validate/90 1481s ok 93 /utf8/validate/91 1481s ok 94 /utf8/validate/92 1481s ok 95 /utf8/validate/93 1481s ok 96 /utf8/validate/94 1481s ok 97 /utf8/validate/95 1481s ok 98 /utf8/validate/96 1481s ok 99 /utf8/validate/97 1481s ok 100 /utf8/validate/98 1481s ok 101 /utf8/validate/99 1481s ok 102 /utf8/validate/100 1481s ok 103 /utf8/validate/101 1481s ok 104 /utf8/validate/102 1481s ok 105 /utf8/validate/103 1481s ok 106 /utf8/validate/104 1481s ok 107 /utf8/validate/105 1481s ok 108 /utf8/validate/106 1481s ok 109 /utf8/validate/107 1481s ok 110 /utf8/validate/108 1481s ok 111 /utf8/validate/109 1481s ok 112 /utf8/validate/110 1481s ok 113 /utf8/validate/111 1481s ok 114 /utf8/validate/112 1481s ok 115 /utf8/validate/113 1481s ok 116 /utf8/validate/114 1481s ok 117 /utf8/validate/115 1481s ok 118 /utf8/validate/116 1481s ok 119 /utf8/validate/117 1481s ok 120 /utf8/validate/118 1481s ok 121 /utf8/validate/119 1481s ok 122 /utf8/validate/120 1481s ok 123 /utf8/validate/121 1481s ok 124 /utf8/validate/122 1481s ok 125 /utf8/validate/123 1481s ok 126 /utf8/validate/124 1481s ok 127 /utf8/validate/125 1481s ok 128 /utf8/validate/126 1481s ok 129 /utf8/validate/127 1481s ok 130 /utf8/validate/128 1481s ok 131 /utf8/validate/129 1481s ok 132 /utf8/validate/130 1481s ok 133 /utf8/validate/131 1481s ok 134 /utf8/validate/132 1481s ok 135 /utf8/validate/133 1481s ok 136 /utf8/validate/134 1481s ok 137 /utf8/validate/135 1481s ok 138 /utf8/validate/136 1481s ok 139 /utf8/validate/137 1481s ok - glib/utf8-validate.test 1481s # Running test: glib/portal-support-flatpak-none.test 1481s ok - glib/portal-support-flatpak-none.test 1481s # Running test: glib/init.test 1481s ok - glib/init.test 1481s # Running test: glib/g-file-info.test 1482s ok 140 /utf8/validate/138 1482s ok 141 /utf8/validate/139 1482s ok 142 /utf8/validate/140 1482s ok 143 /utf8/validate/141 1482s ok 144 /utf8/validate/142 1482s ok 145 /utf8/validate/143 1482s ok 146 /utf8/validate/144 1482s ok 147 /utf8/validate/145 1482s ok 148 /utf8/validate/146 1482s ok 149 /utf8/validate/147 1482s ok 150 /utf8/validate/148 1482s ok 151 /utf8/validate/149 1482s ok 152 /utf8/validate/150 1482s ok 153 /utf8/validate/151 1482s ok 154 /utf8/validate/152 1482s ok 155 /utf8/validate/153 1482s ok 156 /utf8/validate/154 1482s ok 157 /utf8/validate/155 1482s ok 158 /utf8/validate/156 1482s ok 159 /utf8/validate/157 1482s ok 160 /utf8/validate/158 1482s ok 161 /utf8/validate/159 1482s ok 162 /utf8/validate/160 1482s ok 163 /utf8/validate/161 1482s ok 164 /utf8/validate/162 1482s ok 165 /utf8/validate/163 1482s ok 166 /utf8/validate/164 1482s ok 167 /utf8/validate/165 1482s ok 168 /utf8/validate/166 1482s ok 169 /utf8/validate/167 1482s ok 170 /utf8/validate/168 1482s ok 171 /utf8/validate/169 1482s ok 172 /utf8/validate/170 1482s ok 173 /utf8/validate/171 1482s ok 174 /utf8/validate/172 1482s ok 175 /utf8/validate/173 1482s ok 176 /utf8/validate/174 1482s ok 177 /utf8/validate/175 1482s ok 178 /utf8/validate/176 1482s ok 179 /utf8/validate/177 1482s ok 180 /utf8/validate/178 1482s ok 181 /utf8/validate/179 1482s ok 182 /utf8/validate/180 1482s ok 183 /utf8/validate/181 1482s ok 184 /utf8/validate/182 1482s ok 185 /utf8/validate/183 1482s ok 186 /utf8/validate/184 1482s ok 187 /utf8/validate/185 1482s ok 188 /utf8/validate/186 1482s ok 189 /utf8/validate/187 1482s ok 190 /utf8/validate/188 1482s ok 191 /utf8/validate/189 1482s ok 192 /utf8/validate/190 1482s ok 193 /utf8/validate/191 1482s ok 194 /utf8/validate/192 1482s ok 195 /utf8/validate/193 1482s ok 196 /utf8/validate/194 1482s ok 197 /utf8/validate/195 1482s ok 198 /utf8/validate/196 1482s ok 199 /utf8/validate/197 1482s ok 200 /utf8/validate/198 1482s ok 201 /utf8/validate/199 1482s ok 202 /utf8/validate/200 1482s ok 203 /utf8/validate/201 1482s ok 204 /utf8/validate/202 1482s ok 205 /utf8/validate/203 1482s ok 206 /utf8/validate/204 1482s ok 207 /utf8/validate/205 1482s ok 208 /utf8/validate/206 1482s ok 209 /utf8/validate/207 1482s ok 210 /utf8/validate/208 1482s ok 211 /utf8/validate/209 1482s ok 212 /utf8/validate/210 1482s ok 213 /utf8/validate/211 1482s ok 214 /utf8/validate/212 1482s ok 215 /utf8/validate/213 1482s ok 216 /utf8/validate/214 1482s ok 217 /utf8/validate/215 1482s ok 218 /utf8/validate/216 1482s ok 219 /utf8/validate/217 1482s ok 220 /utf8/validate/218 1482s ok 221 /utf8/validate/219 1482s ok 222 /utf8/validate/220 1482s ok 223 /utf8/validate/221 1482s ok 224 /utf8/validate/222 1482s ok 225 /utf8/validate/223 1482s ok 226 /utf8/validate/224 1482s ok 227 /utf8/validate/225 1482s ok 228 /utf8/validate/226 1482s ok 229 /utf8/validate/227 1482s ok 230 /utf8/validate/228 1482s ok 231 /utf8/validate/229 1482s ok 232 /utf8/validate/230 1482s ok 233 /utf8/validate/231 1482s ok 234 /utf8/validate/232 1482s ok 235 /utf8/validate/233 1482s ok 236 /utf8/validate/234 1482s ok 237 /utf8/validate/235 1482s ok 238 /utf8/validate/236 1482s # End of validate tests 1482s # End of utf8 tests 1482s TAP version 14 1482s # random seed: R02S2785abd7fcc4526a6e34d79f5c820e92 1482s 1..1 1482s # Start of portal-support tests 1482s # Start of flatpak tests 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/runtime 1482s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_S2BLK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1482s ok 1 /portal-support/flatpak/none 1482s # End of flatpak tests 1482s # End of portal-support tests 1482s TAP version 14 1482s # random seed: R02Sda2ec13166cf8f53adef7f2507d3cf47 1482s 1..2 1482s # Start of thread tests 1482s # Start of deprecated tests 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7J8KK3/thread/deprecated/init/.dirs/runtime 1482s ok 1 /thread/deprecated/init 1482s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1482s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7J8KK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1482s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1482s # End of deprecated tests 1482s # End of thread tests 1482s TAP version 14 1482s # random seed: R02S6e02c9d2eb5f3f921b8231623ab7b713 1482s 1..6 1482s # Start of g-file-info tests 1482s ok 1 /g-file-info/test_g_file_info 1482s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1482s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1482s ok 2 /g-file-info/xattrs 1482s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1482s ok - glib/g-file-info.test 1482s # Running test: glib/defaultiface.test 1482s ok - glib/defaultiface.test 1482s # Running test: glib/simple-proxy.test 1482s ok - glib/simple-proxy.test 1482s # Running test: glib/accumulator.test 1482s ok - glib/accumulator.test 1482s # Running test: glib/cxx-11.test 1482s ok 3 /g-file-info/set-modified-date-time-precision 1482s # Start of test_g_file_info tests 1482s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1482s ok 4 /g-file-info/test_g_file_info/modification-time 1482s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1482s ok 5 /g-file-info/test_g_file_info/access-time 1482s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1482s ok 6 /g-file-info/test_g_file_info/creation-time 1482s # End of test_g_file_info tests 1482s # End of g-file-info tests 1482s TAP version 14 1482s # random seed: R02Sffc667df9e105f53be0657cef600ef56 1482s 1..2 1482s # Start of gobject tests 1482s ok 1 /gobject/static-iface 1482s ok 2 /gobject/dynamic-iface 1482s # End of gobject tests 1482s TAP version 14 1482s # random seed: R02Sb29956cbe642ebcfb003033d25a844c6 1482s 1..3 1482s # Start of static-proxy tests 1482s ok 1 /static-proxy/uri 1482s ok 2 /static-proxy/socks 1482s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1482s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1482s ok 3 /static-proxy/ignore 1482s # End of static-proxy tests 1482s TAP version 14 1482s # random seed: R02S76da5421ababd3d54c8904a77e73fd75 1482s 1..1 1482s # Start of gobject tests 1482s ok 1 /gobject/accumulator 1482s # End of gobject tests 1482s ok - glib/cxx-11.test 1482s # Running test: glib/uri.test 1482s TAP version 14 1482s # random seed: R02S61222a6eb6d45e1961d0b7c7e8f183e9 1482s 1..2 1482s # Start of gtask tests 1482s # 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. 1482s ok 1 /gtask/name 1482s # Start of name tests 1482s # 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. 1482s ok 2 /gtask/name/macro-wrapper 1482s # End of name tests 1482s # End of gtask tests 1482s TAP version 14 1482s # random seed: R02Sfb6ea5dd594dcfd67ddba78e3e151c24 1482s 1..24 1482s # Start of uri tests 1482s ok 1 /uri/file-to-uri 1482s ok 2 /uri/file-from-uri 1482s ok 3 /uri/file-roundtrip 1482s ok 4 /uri/list 1482s # Test 0: %2Babc %4F 1482s # Test 1: %2Babc %4F 1482s # Test 2: %00abc %4F 1482s # Test 3: /cursors/none.png 1482s # Test 4: /cursors%2fbad-subdir/none.png 1482s # Test 5: %0 1482s # Test 6: %ra 1482s # Test 7: %2r 1482s # Test 8: Timm Bäder 1482s # Test 9: (null) 1482s ok 5 /uri/unescape-string 1482s ok 6 /uri/unescape-segment 1482s # Test 0: abcdefgABCDEFG._~ 1482s # Test 1: :+ \\?# 1482s # Test 2: a+b:c 1482s # Test 3: a+b:c\303\234 1482s # Test 4: \374;\322 1482s # Test 5: \303\261\303( 1482s ok 7 /uri/escape-string 1482s ok 8 /uri/escape-bytes 1482s ok 9 /uri/scheme 1482s ok 10 /uri/build 1482s ok 11 /uri/split 1482s ok 12 /uri/is_valid 1482s ok 13 /uri/to-string 1482s ok 14 /uri/join 1482s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1482s # Combination 0 1482s # Combination 1 1482s # Combination 2 1482s # Combination 3 1482s # Combination 4 1482s # Combination 5 1482s # Combination 6 1482s # Combination 7 1482s # Combination 8 1482s # Combination 9 1482s ok - glib/uri.test 1482s # Running test: glib/tls-interaction.test 1482s # Combination 10 1482s # Combination 11 1482s # Combination 12 1482s # Combination 13 1482s # Combination 14 1482s # Combination 15 1482s # Combination 16 1482s # Combination 17 1482s # Combination 18 1482s # Combination 19 1482s # Combination 20 1482s # Combination 21 1482s # Combination 22 1482s # Combination 23 1482s # Combination 24 1482s # Combination 25 1482s # Combination 26 1482s # Combination 27 1482s # Combination 28 1482s # Combination 29 1482s # Combination 30 1482s # Combination 31 1482s # Combination 32 1482s # Combination 33 1482s # Combination 34 1482s # Combination 35 1482s # Combination 36 1482s # Combination 37 1482s # Combination 38 1482s # Combination 39 1482s # Combination 40 1482s # Combination 41 1482s # Combination 42 1482s # Combination 43 1482s # Combination 44 1482s # Combination 45 1482s # Combination 46 1482s # Combination 47 1482s # Combination 48 1482s # Combination 49 1482s # Combination 50 1482s # Combination 51 1482s # Combination 52 1482s # Combination 53 1482s # Combination 54 1482s # Combination 55 1482s # Combination 56 1482s # Combination 57 1482s # Combination 58 1482s # Combination 59 1482s # Combination 60 1482s # Combination 61 1482s # Combination 62 1482s # Combination 63 1482s # Combination 64 1482s # Combination 65 1482s # Combination 66 1482s # Combination 67 1482s # Combination 68 1482s # Combination 69 1482s # Combination 70 1482s # Combination 71 1482s # Combination 72 1482s # Combination 73 1482s # Combination 74 1482s # Combination 75 1482s # Combination 76 1482s # Combination 77 1482s # Combination 78 1482s # Combination 79 1482s # Combination 80 1482s # Combination 81 1482s # Combination 82 1482s # Combination 83 1482s # Combination 84 1482s # Combination 85 1482s # Combination 86 1482s # Combination 87 1482s # Combination 88 1482s # Combination 89 1482s # Combination 90 1482s # Combination 91 1482s # Combination 92 1482s # Combination 93 1482s # Combination 94 1482s # Combination 95 1482s # Combination 96 1482s # Combination 97 1482s # Combination 98 1482s # Combination 99 1482s # Combination 100 1482s # Combination 101 1482s # Combination 102 1482s # Combination 103 1482s # Combination 104 1482s # Combination 105 1482s # Combination 106 1482s # Combination 107 1482s # Combination 108 1482s # Combination 109 1482s # Combination 110 1482s # Combination 111 1482s # Combination 112 1482s # Combination 113 1482s # Combination 114 1482s # Combination 115 1482s # Combination 116 1482s # Combination 117 1482s # Combination 118 1482s # Combination 119 1482s # Combination 120 1482s # Combination 121 1482s # Combination 122 1482s # Combination 123 1482s # Combination 124 1482s # Combination 125 1482s # Combination 126 1482s # Combination 127 1482s # Combination 128 1482s # Combination 129 1482s # Combination 130 1482s # Combination 131 1482s # Combination 132 1482s # Combination 133 1482s # Combination 134 1482s # Combination 135 1482s # Combination 136 1482s # Combination 137 1482s # Combination 138 1482s # Combination 139 1482s # Combination 140 1482s # Combination 141 1482s # Combination 142 1482s # Combination 143 1482s # Combination 144 1482s # Combination 145 1482s # Combination 146 1482s # Combination 147 1482s # Combination 148 1482s # Combination 149 1482s # Combination 150 1482s # Combination 151 1482s # Combination 152 1482s # Combination 153 1482s # Combination 154 1482s # Combination 155 1482s # Combination 156 1482s # Combination 157 1482s # Combination 158 1482s # Combination 159 1482s # Combination 160 1482s # Combination 161 1482s # Combination 162 1482s # Combination 163 1482s # Combination 164 1482s # Combination 165 1482s # Combination 166 1482s # Combination 167 1482s # Combination 168 1482s # Combination 169 1482s # Combination 170 1482s # Combination 171 1482s # Combination 172 1482s # Combination 173 1482s # Combination 174 1482s # Combination 175 1482s # Combination 176 1482s # Combination 177 1482s # Combination 178 1482s # Combination 179 1482s # Combination 180 1482s # Combination 181 1482s # Combination 182 1482s # Combination 183 1482s # Combination 184 1482s # Combination 185 1482s # Combination 186 1482s # Combination 187 1482s # Combination 188 1482s # Combination 189 1482s # Combination 190 1482s # Combination 191 1482s # Combination 192 1482s # Combination 193 1482s # Combination 194 1482s # Combination 195 1482s # Combination 196 1482s # Combination 197 1482s # Combination 198 1482s # Combination 199 1482s # Combination 200 1482s # Combination 201 1482s # Combination 202 1482s # Combination 203 1482s # Combination 204 1482s # Combination 205 1482s # Combination 206 1482s # Combination 207 1482s # Combination 208 1482s # Combination 209 1482s # Combination 210 1482s # Combination 211 1482s # Combination 212 1482s # Combination 213 1482s # Combination 214 1482s # Combination 215 1482s # Combination 216 1482s # Combination 217 1482s # Combination 218 1482s # Combination 219 1482s # Combination 220 1482s # Combination 221 1482s # Combination 222 1482s # Combination 223 1482s # Combination 224 1482s # Combination 225 1482s # Combination 226 1482s # Combination 227 1482s # Combination 228 1482s # Combination 229 1482s # Combination 230 1482s # Combination 231 1482s # Combination 232 1482s # Combination 233 1482s # Combination 234 1482s # Combination 235 1482s # Combination 236 1482s # Combination 237 1482s # Combination 238 1482s # Combination 239 1482s # Combination 240 1482s # Combination 241 1482s # Combination 242 1482s # Combination 243 1482s # Combination 244 1482s # Combination 245 1482s # Combination 246 1482s # Combination 247 1482s # Combination 248 1482s # Combination 249 1482s # Combination 250 1482s # Combination 251 1482s # Combination 252 1482s # Combination 253 1482s # Combination 254 1482s # Combination 255 1482s ok 15 /uri/join-split-round-trip 1482s ok 16 /uri/normalize 1482s # Start of unescape-bytes tests 1482s # Test 0: %00%00 1482s # Test 1: /cursors/none.png 1482s # Test 2: /cursors%2fbad-subdir/none.png 1482s # Test 3: %% 1482s # Test 4: % 1482s ok 17 /uri/unescape-bytes/nul-terminated 1482s # Test 0: %00%00 1482s # Test 1: /cursors/none.png 1482s # Test 2: /cursors%2fbad-subdir/none.png 1482s # Test 3: %% 1482s # Test 4: % 1482s ok 18 /uri/unescape-bytes/length 1482s # End of unescape-bytes tests 1482s # Start of parsing tests 1482s # Test 0: foo: 1482s # Test 1: file:/dev/null 1482s # Test 2: file:///dev/null 1482s # Test 3: ftp://user@host/path 1482s # Test 4: ftp://user@host:9999/path 1482s # Test 5: ftp://user:password@host/path 1482s # Test 6: ftp://user:password@host:9999/path 1482s # Test 7: ftp://user:password@host 1482s # Test 8: http://us%65r@host 1482s # Test 9: http://us%40r@host 1482s # Test 10: http://us%3ar@host 1482s # Test 11: http://us%2fr@host 1482s # Test 12: http://us%3fr@host 1482s # Test 13: http://host?query 1482s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1482s # 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 1482s # Test 16: http://space/%20 1482s # Test 17: http://delims/%3C%3E%23%25%22 1482s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1482s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1482s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1482s # Test 21: http://[3ffe:2a00:100:7031::1] 1482s # Test 22: http://[1080::8:800:200C:417A]/foo 1482s # Test 23: http://[::192.9.5.5]/ipng 1482s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1482s # Test 25: http://[2010:836B:4179::836B:4179] 1482s # Test 26: http://host/path with spaces 1482s # Test 27: http://host/path 1482s # Test 28: http://host/path 1482s # Test 29: http://host 1482s # Test 30: http://host:999 1482s # Test 31: http://host/pa 1482s # th 1482s # Test 32: http: 1482s # //host/path 1482s # Test 33: http:// host/path 1482s # Test 34: http://host/path? 1482s # Test 35: http://host/path# 1482s # Test 36: http://host/path% 1482s # Test 37: http://h%ost/path 1482s # Test 38: http://host/path%% 1482s # Test 39: http://host/path%%% 1482s # Test 40: http://host/path%/x/ 1482s # Test 41: http://host/path%0x/ 1482s # Test 42: http://host/path%ax 1482s # Test 43: http://host/päth/ 1482s # Test 44: HTTP://////////////// 1482s # Test 45: http://@host 1482s # Test 46: http://:@host 1482s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1482s # Test 48: http://example.com/.. 1482s # Test 49: foo0://host/path 1482s # Test 50: f0.o://host/path 1482s # Test 51: http++://host/path 1482s # Test 52: http-ish://host/path 1482s # Test 53: http://[fe80::dead:beef%]/ 1482s # Test 54: http://[fe80::dead:beef%em1]/ 1482s # Test 55: http://[fe80::dead:beef%em1]/ 1482s # Test 56: http://[fe80::dead:beef%25em1]/ 1482s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1482s # Test 58: http://[fe80::dead:beef%25em%31]/ 1482s # Test 59: http://[fe80::dead:beef%10]/ 1482s # Test 60: http://[fe80::dead:beef%10]/ 1482s # Test 61: http://[fe80::dead:beef%25]/ 1482s # Test 62: http://[fe80::dead:beef%25]/ 1482s # Test 63: http://[192.168.0.1%25em1]/ 1482s # Test 64: http://[fe80::dead:beef%2em1]/ 1482s # Test 65: http://[fe80::dead:beef%2em1]/ 1482s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1482s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1482s # Test 68: http://xn--mixed-üp/ 1482s # Test 69: data:./// 1482s # Test 70: data:/.// 1482s ok 19 /uri/parsing/absolute 1482s ok 20 /uri/parsing/relative 1482s # End of parsing tests 1482s # Start of iter-params tests 1482s # URI 0: p1=foo&p2=bar;p3=baz 1482s # URI 1: p1=foo&p2=bar 1482s # URI 2: p1=foo&&P1=bar 1482s # URI 3: %00=foo 1482s # URI 4: p1=%00 1482s # URI 5: p1=foo&p1=bar 1482s # URI 6: p1=foo&P1=bar 1482s # URI 7: =% 1482s # URI 8: = 1482s # URI 9: foo 1482s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1482s ok 21 /uri/iter-params/nul-terminated 1482s # URI 0: p1=foo&p2=bar;p3=baz 1482s # URI 1: p1=foo&p2=bar 1482s # URI 2: p1=foo&&P1=bar 1482s # URI 3: %00=foo 1482s # URI 4: p1=%00 1482s # URI 5: p1=foo&p1=bar 1482s # URI 6: p1=foo&P1=bar 1482s # URI 7: =% 1482s # URI 8: = 1482s # URI 9: foo 1482s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1482s ok 22 /uri/iter-params/length 1482s # End of iter-params tests 1482s # Start of parse-params tests 1482s # URI 0: p1=foo&p2=bar;p3=baz 1482s # URI 1: p1=foo&p2=bar 1482s # URI 2: p1=foo&&P1=bar 1482s # URI 3: %00=foo 1482s # URI 4: p1=%00 1482s # URI 5: p1=foo&p1=bar 1482s # URI 6: p1=foo&P1=bar 1482s # URI 7: =% 1482s # URI 8: = 1482s # URI 9: foo 1482s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1482s ok 23 /uri/parse-params/nul-terminated 1482s # URI 0: p1=foo&p2=bar;p3=baz 1482s # URI 1: p1=foo&p2=bar 1482s # URI 2: p1=foo&&P1=bar 1482s # URI 3: %00=foo 1482s # URI 4: p1=%00 1482s # URI 5: p1=foo&p1=bar 1482s # URI 6: p1=foo&P1=bar 1482s # URI 7: =% 1482s # URI 8: = 1482s # URI 9: foo 1482s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1482s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1482s ok 24 /uri/parse-params/length 1482s # End of parse-params tests 1482s # End of uri tests 1482s TAP version 14 1482s # random seed: R02S2b9427f20efa805ceaaea9884424cc70 1482s 1..42 1482s # Start of tls-interaction tests 1482s # Start of ask-password tests 1482s # Start of invoke-with-loop tests 1482s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1482s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1482s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1482s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1482s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1482s # End of invoke-with-loop tests 1482s # Start of invoke-without-loop tests 1482s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1482s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1482s ok - glib/tls-interaction.test 1482s # Running test: glib/1bit-mutex.test 1482s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1482s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1482s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1482s # End of invoke-without-loop tests 1482s # Start of invoke-in-loop tests 1482s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1482s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1482s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1482s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1482s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1482s # End of invoke-in-loop tests 1482s # Start of sync tests 1482s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1482s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1482s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1482s # End of sync tests 1482s # Start of async tests 1482s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1482s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1482s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1482s # End of async tests 1482s # End of ask-password tests 1482s # Start of request-certificate tests 1482s # Start of invoke-with-loop tests 1482s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1482s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1482s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1482s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1482s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1482s # End of invoke-with-loop tests 1482s # Start of invoke-without-loop tests 1482s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1482s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1482s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1482s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1482s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1482s # End of invoke-without-loop tests 1482s # Start of invoke-in-loop tests 1482s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1482s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1482s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1482s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1482s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1482s # End of invoke-in-loop tests 1482s # Start of sync tests 1482s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1482s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1482s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1482s # End of sync tests 1482s # Start of async tests 1482s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1482s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1482s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1482s # End of async tests 1482s # End of request-certificate tests 1482s # End of tls-interaction tests 1482s TAP version 14 1482s # random seed: R02Se08270ddb9f2acf0bb64e44d279f2f10 1482s 1..2 1482s # Start of glib tests 1482s # Start of 1bit-mutex tests 1482s # Executing: glib/1bit-mutex.test 1486s ok 1 /glib/1bit-mutex/int 1486s # slow test /glib/1bit-mutex/int executed in 4.92 secs 1487s # Executing: glib/1bit-mutex.test 1491s ok - glib/1bit-mutex.test 1491s # Running test: glib/gmenumodel.test 1491s ok 2 /glib/1bit-mutex/pointer 1491s # slow test /glib/1bit-mutex/pointer executed in 4.97 secs 1491s # End of 1bit-mutex tests 1491s # End of glib tests 1491s TAP version 14 1491s # random seed: R02Sd36f7fe1d2e7a314f1d8905c3b223b5f 1491s 1..15 1491s # Start of gmenu tests 1492s # Executing: glib/gmenumodel.test 1493s ok 1 /gmenu/equality 1493s # slow test /gmenu/equality executed in 1.55 secs 1495s ok 2 /gmenu/random 1495s # slow test /gmenu/random executed in 1.88 secs 1495s ok 3 /gmenu/attributes 1495s ok 4 /gmenu/links 1495s ok 5 /gmenu/mutable 1495s ok 6 /gmenu/convenience 1495s ok 7 /gmenu/menuitem 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1495s ok 8 /gmenu/input-validation 1495s # Start of dbus tests 1496s ok 9 /gmenu/dbus/roundtrip 1496s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1496s ok 10 /gmenu/dbus/subscriptions 1497s # Executing: glib/gmenumodel.test 1498s ok 11 /gmenu/dbus/threaded 1498s # slow test /gmenu/dbus/threaded executed in 1.54 secs 1498s # Start of peer tests 1499s ok 12 /gmenu/dbus/peer/roundtrip 1499s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1499s ok 13 /gmenu/dbus/peer/subscriptions 1499s # End of peer tests 1499s # Start of export tests 1499s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1499s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1499s ok 14 /gmenu/dbus/export/error-handling 1499s # End of export tests 1499s # End of dbus tests 1499s # Start of attributes tests 1499s ok 15 /gmenu/attributes/iterate 1499s # End of attributes tests 1499s # End of gmenu tests 1499s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1499s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1499s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1499s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1499s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1499s ok - glib/gmenumodel.test 1499s # Running test: glib/include.test 1499s TAP version 14 1499s # random seed: R02S6ff5bab6061fa21f8f7e164ace4e47c3 1499s ok - glib/include.test 1499s # Running test: glib/signalgroup.test 1499s ok - glib/signalgroup.test 1499s # Running test: glib/custom-dispatch.test 1499s ok - glib/custom-dispatch.test 1499s # Running test: glib/cxx-17.test 1499s ok - glib/cxx-17.test 1499s # Running test: glib/rcbox.test 1499s ok - glib/rcbox.test 1499s # Running test: glib/memory-input-stream.test 1499s ok - glib/memory-input-stream.test 1499s # Running test: glib/properties-refcount2.test 1499s 1..1 1499s # Start of include tests 1499s ok 1 /include/rwlock 1499s # End of include tests 1499s TAP version 14 1499s # random seed: R02Sc3c00d115fd11b9f07a0cf033ff4ff14 1499s 1..9 1499s # Start of GObject tests 1499s # Start of SignalGroup tests 1499s ok 1 /GObject/SignalGroup/invalid 1499s ok 2 /GObject/SignalGroup/simple 1499s ok 3 /GObject/SignalGroup/changing-target 1499s ok 4 /GObject/SignalGroup/blocking 1499s ok 5 /GObject/SignalGroup/weak-ref-target 1499s ok 6 /GObject/SignalGroup/connect-object 1499s ok 7 /GObject/SignalGroup/signal-parsing 1499s ok 8 /GObject/SignalGroup/properties 1499s ok 9 /GObject/SignalGroup/interface 1499s # Start of signal-parsing tests 1499s # End of signal-parsing tests 1499s # End of SignalGroup tests 1499s # End of GObject tests 1499s TAP version 14 1499s # random seed: R02S5da37490557e74eedb5757dc3dd14ae8 1499s 1..2 1499s # Start of properties tests 1499s # Start of custom-dispatch tests 1499s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1499s ok 1 /properties/custom-dispatch/init 1499s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1499s ok 2 /properties/custom-dispatch/set 1499s # End of custom-dispatch tests 1499s # End of properties tests 1499s TAP version 14 1499s # random seed: R02S00368d9b68178332cee8c70d6db8dba7 1499s 1..2 1499s # Start of gtask tests 1499s # 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. 1499s ok 1 /gtask/name 1499s # Start of name tests 1499s # 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. 1499s ok 2 /gtask/name/macro-wrapper 1499s # End of name tests 1499s # End of gtask tests 1499s TAP version 14 1499s # random seed: R02S2a33f1b75c8246f514f20cea6d0d6f1a 1499s 1..8 1499s # Start of rcbox tests 1499s ok 1 /rcbox/new 1499s # global_point = 0x14f5c3798540 1499s ok 2 /rcbox/release-full 1499s # global_point_a = 0x14f5c3798540 1499s # global_point_b = 0x14f5c3798610 1499s ok 3 /rcbox/dup 1499s ok 4 /rcbox/alignment 1499s # End of rcbox tests 1499s # Start of atomic-rcbox tests 1499s ok 5 /atomic-rcbox/new 1499s # global_point = 0x14f5c3798610 1499s ok 6 /atomic-rcbox/release-full 1499s # global_point_a = 0x14f5c3798610 1499s # global_point_b = 0x14f5c3798540 1499s ok 7 /atomic-rcbox/dup 1499s ok 8 /atomic-rcbox/alignment 1499s # End of atomic-rcbox tests 1499s TAP version 14 1499s # random seed: R02S84e142c4ef2d105fc06abd761a87cee1 1499s 1..6 1499s # Start of memory-input-stream tests 1499s ok 1 /memory-input-stream/read-chunks 1499s ok 2 /memory-input-stream/async 1499s ok 3 /memory-input-stream/seek 1499s ok 4 /memory-input-stream/truncate 1499s ok 5 /memory-input-stream/read-bytes 1499s ok 6 /memory-input-stream/from-bytes 1499s # End of memory-input-stream tests 1499s TAP version 14 1499s # random seed: R02S1619ec08f07abf197d4fce06f5a8f885 1499s 1..1 1499s # Start of gobject tests 1499s # Start of refcount tests 1499s # init 0x16e511b84eb0 1499s # 1499s # . 1499s # . 1499s # . 1499s # . 1499s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1500s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1501s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # . 1502s # dispose 0x16e511b84eb0! 1502s # 1502s ok 1 /gobject/refcount/properties-2 1502s # slow test /gobject/refcount/properties-2 executed in 2.92 secs 1502s # End of refcount tests 1502s ok - glib/properties-refcount2.test 1502s # End of gobject tests 1502s # Running test: glib/spawn-test.test 1502s TAP version 14 1502s # random seed: R02Se0c9a68f0626e168d4021452a5acf922 1502s 1..2 1502s # Start of spawn tests 1502s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/home 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/cache 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/system-config2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/config 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/system-data2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/data 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/state 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_CZTEK3/spawn/basics/.dirs/runtime 1502s ok 1 /spawn/basics 1502s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/home 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/cache 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/system-config2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/config 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/system-data2 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/data 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/state 1502s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_CZTEK3/spawn/stdio-overwrite/.dirs/runtime 1502s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1502s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1502s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1502s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1502s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1502s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1502s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1502s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1502s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1502s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1502s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1502s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1502s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1502s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1502s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1502s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1502s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1502s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1502s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1502s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1502s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1502s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1502s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1502s ok - glib/spawn-test.test 1502s # Running test: glib/socket-address.test 1502s ok - glib/socket-address.test 1502s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1502s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1502s # Fetching GSpawn result with stdin open, stdout open, stderr open 1502s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1502s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1502s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1502s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1502s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1502s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1502s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1502s ok 2 /spawn/stdio-overwrite 1502s # End of spawn tests 1502s TAP version 14 1502s # random seed: R02Sf85f3593a6b2650d8fa604e3f9178234 1502s 1..2 1502s # Start of socket tests 1502s # Start of address tests 1502s # Start of unix tests 1502s ok 1 /socket/address/unix/construct 1502s ok 2 /socket/address/unix/to-string 1502s # End of unix tests 1502s # End of address tests 1502s # End of socket tests 1502s # Running test: glib/relation.test 1502s TAP version 14 1502s # random seed: R02S201b08e69cbd1e8eaf48056bfea6cc1a 1502s 1..1 1502s # Start of glib tests 1502s ok 1 /glib/relation 1502s # End of glib tests 1502s ok - glib/relation.test 1502s # Running test: glib/atomic-c-11.test 1502s TAP version 14 1502s # random seed: R02Sc2aebc9a5faa1516e3304499b18e77f1 1502s 1..2 1502s # Start of atomic tests 1502s ok 1 /atomic/types 1502s ok - glib/atomic-c-11.test 1502s ok 2 /atomic/threaded 1502s # End of atomic tests 1502s # Running test: glib/deprecated-properties.test 1502s TAP version 14 1502s # random seed: R02Sa329adbeab1b366c0091873542aa2d59 1502s 1..3 1502s # Start of deprecated-properties tests 1502s ok 1 /deprecated-properties/construct 1502s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1502s ok 2 /deprecated-properties/default-construct 1502s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1502s ok 3 /deprecated-properties/set 1502s # End of deprecated-properties tests 1502s ok - glib/deprecated-properties.test 1502s # Running test: glib/hostutils.test 1502s TAP version 14 1502s # random seed: R02S1340324b645a57d8fb711a4ed85a7087 1502s 1..4 1502s # Start of hostutils tests 1502s ok 1 /hostutils/hostname_is_non_ascii 1502s ok 2 /hostutils/to_ascii 1502s ok 3 /hostutils/to_unicode 1502s ok 4 /hostutils/is_ip_addr 1502s # End of hostutils tests 1502s ok - glib/hostutils.test 1502s # Running test: glib/object.test 1502s # Executing: glib/object.test 1502s TAP version 14 1502s # random seed: R02S4e70e705dbc3ce73653d2119092b8e13 1502s 1..2 1502s # Start of object tests 1502s # Start of constructor tests 1502s ok 1 /object/constructor/singleton 1502s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1502s # End of constructor tests 1502s # End of object tests 1502s ok - glib/object.test 1502s # Running test: glib/power-profile-monitor-portal.test 1503s TAP version 13 1503s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1503s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1503s 1..2 1503s ok - glib/power-profile-monitor-portal.test 1503s # Running test: glib/performance-threaded.test 1503s Running test "liststore-is-a" 1504s 2172 runs, min/avg/max = 0.441/0.460/0.575 ms 1504s Running test "liststore-interface-peek" 1505s 2737 runs, min/avg/max = 0.352/0.365/0.468 ms 1505s Running test "liststore-interface-peek-same" 1506s 2745 runs, min/avg/max = 0.350/0.364/0.470 ms 1506s ok - glib/performance-threaded.test 1506s # Running test: glib/module-test-plugin.test 1506s TAP version 14 1506s # random seed: R02S06be0590507e2ca5a43a795e14364519 1506s 1..3 1506s # Start of module tests 1506s ok - glib/module-test-plugin.test 1506s ok 1 /module/basics 1506s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1506s ok 2 /module/invalid-libtool-archive 1506s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1506s ok 3 /module/local-binding 1506s # End of module tests 1506s # Running test: glib/utils-c-23.test 1506s TAP version 14 1506s # random seed: R02S022902781af9d3728330ae03b10987f3 1506s 1..41 1506s # Start of utils tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/language-names/.dirs/runtime 1506s ok 1 /utils/language-names 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/locale-variants/.dirs/runtime 1506s # Testing locale ‘en’ 1506s # Testing locale ‘sr@latin’ 1506s # Testing locale ‘fr_BE’ 1506s # Testing locale ‘sr_SR@latin’ 1506s # Testing locale ‘sr_SR@latin.UTF-8’ 1506s # Testing locale ‘sr@latin_invalid’ 1506s # Testing locale ‘sr.UTF-8@latin’ 1506s # Testing locale ‘sr.UTF-8_latin’ 1506s # Testing locale ‘sr.UTF-8@latin_invalid’ 1506s ok 2 /utils/locale-variants 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/version/.dirs/runtime 1506s ok 3 /utils/version 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/appname/.dirs/runtime 1506s ok 4 /utils/appname 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/prgname-thread-safety/.dirs/runtime 1506s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1506s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1506s ok 5 /utils/prgname-thread-safety 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/tmpdir/.dirs/runtime 1506s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1506s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/tmpdir: No such file or directory 1506s ok 6 /utils/tmpdir 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/basic_bits/.dirs/runtime 1506s ok 7 /utils/basic_bits 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/bits/.dirs/runtime 1506s ok 8 /utils/bits 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/swap/.dirs/runtime 1506s ok 9 /utils/swap 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/find-program/.dirs/runtime 1506s ok 10 /utils/find-program 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/find-program-for-path/.dirs/runtime 1506s ok 11 /utils/find-program-for-path 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/debug/.dirs/runtime 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/debug: No such file or directory 1506s ok 12 /utils/debug 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/codeset/.dirs/runtime 1506s ok 13 /utils/codeset 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/codeset2/.dirs/runtime 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/codeset2: No such file or directory 1506s ok 14 /utils/codeset2 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/console-charset/.dirs/runtime 1506s ok 15 /utils/console-charset 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/gettext/.dirs/runtime 1506s ok 16 /utils/gettext 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/username/.dirs/runtime 1506s ok 17 /utils/username 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/realname/.dirs/runtime 1506s ok 18 /utils/realname 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/hostname/.dirs/runtime 1506s ok 19 /utils/hostname 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/os-info/.dirs/runtime 1506s # NAME: Ubuntu 1506s ok 20 /utils/os-info 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/.dirs/runtime 1506s ok 21 /utils/clear-pointer 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer-cast/.dirs/runtime 1506s ok 22 /utils/clear-pointer-cast 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/take-pointer/.dirs/runtime 1506s ok 23 /utils/take-pointer 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-source/.dirs/runtime 1506s ok 24 /utils/clear-source 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/misc-mem/.dirs/runtime 1506s ok 25 /utils/misc-mem 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/.dirs/runtime 1506s # /utils/aligned-mem summary: Aligned memory allocator 1506s # Alignment must not be zero 1506s # Alignment must be a power of two 1506s # Alignment must be a multiple of sizeof(void*) 1506s ok 26 /utils/aligned-mem 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/free-sized/.dirs/runtime 1506s # /utils/free-sized summary: Check that g_free_sized() works 1506s ok 27 /utils/free-sized 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/nullify/.dirs/runtime 1506s ok 28 /utils/nullify 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/atexit/.dirs/runtime 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/atexit: No such file or directory 1506s ok 29 /utils/atexit 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/check-setuid/.dirs/runtime 1506s ok 30 /utils/check-setuid 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/int-limits/.dirs/runtime 1506s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1506s ok 31 /utils/int-limits 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-list/.dirs/runtime 1506s ok 32 /utils/clear-list 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-slist/.dirs/runtime 1506s ok 33 /utils/clear-slist 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/steal-handle-id/.dirs/runtime 1506s ok 34 /utils/steal-handle-id 1506s # Start of user-special-dirs tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/desktop/.dirs/runtime 1506s ok 35 /utils/user-special-dirs/desktop 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1506s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1506s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/load-unlocked: No such file or directory 1506s ok 36 /utils/user-special-dirs/load-unlocked 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1506s ok - glib/utils-c-23.test 1506s # Running test: glib/portal-support-snap.test 1506s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1506s Unable to clean up temporary directory /tmp/test_utils-c-23_FRX4J3/utils/user-special-dirs/reload-leaks: No such file or directory 1506s ok 37 /utils/user-special-dirs/reload-leaks 1506s # End of user-special-dirs tests 1506s # Start of clear-pointer tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/clear-pointer/side-effects/.dirs/runtime 1506s ok 38 /utils/clear-pointer/side-effects 1506s # End of clear-pointer tests 1506s # Start of aligned-mem tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/alignment/.dirs/runtime 1506s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1506s ok 39 /utils/aligned-mem/alignment 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/zeroed/.dirs/runtime 1506s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1506s ok 40 /utils/aligned-mem/zeroed 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-23_FRX4J3/utils/aligned-mem/free-sized/.dirs/runtime 1506s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1506s ok 41 /utils/aligned-mem/free-sized 1506s # Start of subprocess tests 1506s # End of subprocess tests 1506s # End of aligned-mem tests 1506s # End of utils tests 1506s TAP version 14 1506s # random seed: R02Sf15134cd0ed9b172633ba6a79ef6c8b8 1506s 1..7 1506s # Start of portal-support tests 1506s # Start of snap tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/no-snapctl: No such file or directory 1506s ok 1 /portal-support/snap/no-snapctl 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none/.dirs/runtime/snapctl 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/none: No such file or directory 1506s ok 2 /portal-support/snap/none 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all/.dirs/runtime/snapctl 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/all: No such file or directory 1506s ok 3 /portal-support/snap/all 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/desktop-only: No such file or directory 1506s ok 4 /portal-support/snap/desktop-only 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only/.dirs/runtime/snapctl 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/network-only: No such file or directory 1506s ok 5 /portal-support/snap/network-only 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/gsettings-only: No such file or directory 1506s ok 6 /portal-support/snap/gsettings-only 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime 1506s # Created snap.yaml in /tmp/test_portal-support-snap_DCC6J3/meta/snap.yaml 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s # Created snapctl in /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1506s ok - glib/portal-support-snap.test 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3/portal-support/snap/updates-dynamically: No such file or directory 1506s ok 7 /portal-support/snap/updates-dynamically 1506s # End of snap tests 1506s # End of portal-support tests 1506s Unable to clean up temporary directory /tmp/test_portal-support-snap_DCC6J3: No such file or directory 1506s # Running test: glib/filter-streams.test 1506s TAP version 14 1506s # random seed: R02S401685eb1baa05db56225ed915d9d9e7 1506s 1..4 1506s # Start of filter-stream tests 1506s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1506s ok 1 /filter-stream/input 1506s ok 2 /filter-stream/output 1506s ok 3 /filter-stream/async-input 1506s ok 4 /filter-stream/async-output 1506s # End of filter-stream tests 1506s ok - glib/filter-streams.test 1506s # Running test: glib/dump.test 1506s TAP version 14 1506s # random seed: R02S54d78d2114c9c9467f79cb637f8f7ccf 1506s 1..5 1506s # Start of dump tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_6UN7J3/dump/empty-file/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_6UN7J3/dump/empty-file/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6UN7J3/dump/empty-file/.dirs/runtime 1506s ok 1 /dump/empty-file 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6UN7J3/dump/missing-get-type/.dirs/runtime 1506s Invalid GType function: 'does_not_exist_get_type' 1506s ok 2 /dump/missing-get-type 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/state 1506s ok - glib/dump.test 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6UN7J3/dump/missing-quark/.dirs/runtime 1506s Invalid error quark function: 'does_not_exist_error' 1506s ok 3 /dump/missing-quark 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6UN7J3/dump/basic/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6UN7J3/dump/basic/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6UN7J3/dump/basic/.dirs/system-config1:/tmp/test_dump_6UN7J3/dump/basic/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6UN7J3/dump/basic/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6UN7J3/dump/basic/.dirs/system-data1:/tmp/test_dump_6UN7J3/dump/basic/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6UN7J3/dump/basic/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6UN7J3/dump/basic/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6UN7J3/dump/basic/.dirs/runtime 1506s ok 4 /dump/basic 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/system-config1:/tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/system-data1:/tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_6UN7J3/dump/empty-lines/.dirs/runtime 1506s ok 5 /dump/empty-lines 1506s # End of dump tests 1506s # Running test: glib/async-close-output-stream.test 1506s TAP version 14 1506s # random seed: R02S0bf72db624df49fee6d66b9878c0903a 1506s 1..3 1506s # Start of close-async tests 1506s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1506s ok 1 /close-async/without-flush 1506s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1506s ok - glib/async-close-output-stream.test 1506s # Running test: glib/shell.test 1506s ok - glib/shell.test 1506s # Running test: glib/gdbus-proxy-threads.test 1506s ok 2 /close-async/with-flush 1506s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1506s ok 3 /close-async/with-async-flush 1506s # End of close-async tests 1506s TAP version 14 1506s # random seed: R02S0455924e9f99ec91d9cae56570dc4961 1506s 1..52 1506s # Start of shell tests 1506s # Start of cmdline tests 1506s test cmdline: foo bar 1506s ok 1 /shell/cmdline/0 1506s test cmdline: foo 'bar' 1506s ok 2 /shell/cmdline/1 1506s test cmdline: foo "bar" 1506s ok 3 /shell/cmdline/2 1506s test cmdline: foo '' 'bar' 1506s ok 4 /shell/cmdline/3 1506s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1506s ok 5 /shell/cmdline/4 1506s test cmdline: foo blah foo bar baz 1506s ok 6 /shell/cmdline/5 1506s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1506s ok 7 /shell/cmdline/6 1506s test cmdline: foo \ 1506s bar 1506s ok 8 /shell/cmdline/7 1506s test cmdline: foo '' '' 1506s ok 9 /shell/cmdline/8 1506s test cmdline: foo \" la la la 1506s ok 10 /shell/cmdline/9 1506s test cmdline: foo \ foo woo woo\ 1506s ok 11 /shell/cmdline/10 1506s test cmdline: foo "yada yada \$\"" 1506s ok 12 /shell/cmdline/11 1506s test cmdline: foo "c:\\" 1506s ok 13 /shell/cmdline/12 1506s test cmdline: foo # bla bla bla 1506s bar 1506s ok 14 /shell/cmdline/13 1506s test cmdline: foo a#b 1506s ok 15 /shell/cmdline/14 1506s test cmdline: #foo 1506s ok 16 /shell/cmdline/15 1506s test cmdline: foo bar \ 1506s ok 17 /shell/cmdline/16 1506s test cmdline: foo 'bar baz 1506s ok 18 /shell/cmdline/17 1506s test cmdline: foo '"bar" baz 1506s ok 19 /shell/cmdline/18 1506s test cmdline: 1506s ok 20 /shell/cmdline/19 1506s test cmdline: 1506s ok 21 /shell/cmdline/20 1506s test cmdline: # foo bar 1506s ok 22 /shell/cmdline/21 1506s test cmdline: # 1506s ok 23 /shell/cmdline/22 1506s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1506s ok 24 /shell/cmdline/23 1506s # End of cmdline tests 1506s # Start of quote tests 1506s ok 25 /shell/quote/0 1506s ok 26 /shell/quote/1 1506s ok 27 /shell/quote/2 1506s ok 28 /shell/quote/3 1506s ok 29 /shell/quote/4 1506s ok 30 /shell/quote/5 1506s ok 31 /shell/quote/6 1506s # End of quote tests 1506s # Start of unquote tests 1506s ok 32 /shell/unquote/0 1506s ok 33 /shell/unquote/1 1506s ok 34 /shell/unquote/2 1506s ok 35 /shell/unquote/3 1506s ok 36 /shell/unquote/4 1506s ok 37 /shell/unquote/5 1506s ok 38 /shell/unquote/6 1506s ok 39 /shell/unquote/7 1506s ok 40 /shell/unquote/8 1506s ok 41 /shell/unquote/9 1506s ok 42 /shell/unquote/10 1506s ok 43 /shell/unquote/11 1506s ok 44 /shell/unquote/12 1506s ok 45 /shell/unquote/13 1506s ok 46 /shell/unquote/14 1506s ok 47 /shell/unquote/15 1506s ok 48 /shell/unquote/16 1506s ok 49 /shell/unquote/17 1506s ok 50 /shell/unquote/18 1506s ok 51 /shell/unquote/19 1506s ok 52 /shell/unquote/20 1506s # End of unquote tests 1506s # End of shell tests 1506s TAP version 14 1506s # random seed: R02Sf2d4a2a0f03be3711fa21da4bd319596 1506s 1..1 1506s # Start of gdbus tests 1506s # Start of proxy tests 1506s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/home 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/cache 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/system-config2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/config 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/system-data2 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/data 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/state 1506s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_JV47J3/gdbus/proxy/vs-threads/.dirs/runtime 1507s ok 1 /gdbus/proxy/vs-threads 1507s # slow test /gdbus/proxy/vs-threads executed in 1.06 secs 1507s # End of proxy tests 1507s # End of gdbus tests 1507s cleaning up pid 15776 1507s ok - glib/gdbus-proxy-threads.test 1507s # Running test: glib/gdbus-auth.test 1507s TAP version 14 1507s # random seed: R02S48104be220fde5ecfd4e993b00905dea 1507s 1..5 1507s # Start of gdbus tests 1507s # Start of auth tests 1507s # Start of client tests 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1507s ok 1 /gdbus/auth/client/EXTERNAL 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1507s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1507s # End of client tests 1507s # Start of server tests 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1507s ok 3 /gdbus/auth/server/ANONYMOUS 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1507s ok 4 /gdbus/auth/server/EXTERNAL 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5VF9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1507s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1507s # End of server tests 1507s # End of auth tests 1507s # End of gdbus tests 1507s ok - glib/gdbus-auth.test 1507s # Running test: glib/utils-isolated.test 1507s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1507s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1507s TAP version 14 1507s # random seed: R02Sa112efee54d89476b1b0ab20ae96740d 1507s 1..11 1507s # Start of utils-isolated tests 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/tmp-dir/.dirs/runtime 1507s ok 1 /utils-isolated/tmp-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/home-dir/.dirs/runtime 1507s ok 2 /utils-isolated/home-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-cache-dir/.dirs/runtime 1507s ok 3 /utils-isolated/user-cache-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-config-dirs/.dirs/runtime 1507s ok 4 /utils-isolated/system-config-dirs 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-config-dir/.dirs/runtime 1507s ok 5 /utils-isolated/user-config-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/system-data-dirs/.dirs/runtime 1507s ok 6 /utils-isolated/system-data-dirs 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-data-dir/.dirs/runtime 1507s ok 7 /utils-isolated/user-data-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-state-dir/.dirs/runtime 1507s ok 8 /utils-isolated/user-state-dir 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/user-runtime-dir/.dirs/runtime 1507s ok 9 /utils-isolated/user-runtime-dir 1507s # Start of cleanup tests 1507s ok - glib/utils-isolated.test 1507s # Running test: glib/portal-support-env-var.test 1507s ok - glib/portal-support-env-var.test 1507s # Running test: glib/contenttype.test 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1507s Unable to clean up temporary directory /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1507s Unable to clean up temporary directory /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1507s Unable to clean up temporary directory /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/handles-errors: Directory not empty 1507s ok 10 /utils-isolated/cleanup/handles-errors 1507s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1507s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1507s Unable to clean up temporary directory /tmp/test_utils-isolated_U08AK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1507s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1507s # End of cleanup tests 1507s # End of utils-isolated tests 1507s TAP version 14 1507s # random seed: R02S1c06eacf384658a82895f54047b5e61f 1507s 1..1 1507s # Start of portal-support tests 1507s ok 1 /portal-support/env-var 1507s # End of portal-support tests 1507s TAP version 14 1507s # random seed: R02S579d6c2d545c082b69cc301e5cd58851 1507s 1..14 1507s # Start of contenttype tests 1507s ok 1 /contenttype/guess 1507s ok 2 /contenttype/guess_svg_from_data 1507s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1507s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1507s ok 5 /contenttype/unknown 1507s ok 6 /contenttype/subtype 1507s ok 7 /contenttype/list 1507s ok 8 /contenttype/executable 1507s ok - glib/contenttype.test 1507s # Running test: glib/timer.test 1507s ok - glib/timer.test 1507s # Running test: glib/date.test 1507s ok 9 /contenttype/description 1507s ok 10 /contenttype/icon 1507s ok 11 /contenttype/symbolic-icon 1507s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1507s ok 12 /contenttype/tree 1507s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1507s ok 13 /contenttype/tree_invalid_encoding 1507s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1507s ok 14 /contenttype/test_type_is_a_special_case 1507s # End of contenttype tests 1507s TAP version 14 1507s # random seed: R02S51777ad5b695f67b6217f2d3f046ef94 1507s 1..10 1507s # Start of timer tests 1507s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1507s ok 2 /timer/stop 1507s ok 3 /timer/continue 1507s ok 4 /timer/reset 1507s ok 5 /timer/is_active 1507s # End of timer tests 1507s # Start of timeval tests 1507s ok 6 /timeval/add 1507s ok 7 /timeval/from-iso8601 1507s ok 8 /timeval/to-iso8601 1507s # Start of to-iso8601 tests 1507s ok 9 /timeval/to-iso8601/overflow 1507s # End of to-iso8601 tests 1507s # End of timeval tests 1507s # Start of usleep tests 1507s ok 10 /usleep/with-zero-wait 1507s # End of usleep tests 1507s TAP version 14 1507s # random seed: R02S17e993a0613e4cd754375ed7302fab70 1507s 1..122 1507s # Start of date tests 1507s ok 1 /date/basic 1507s ok 2 /date/empty 1507s ok 3 /date/dmy 1507s ok 4 /date/julian 1507s ok 5 /date/compare 1507s ok 6 /date/dates 1507s ok 7 /date/strftime 1507s ok 8 /date/two-digit-years 1507s ok 9 /date/parse 1507s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1507s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1507s ok 11 /date/month_substring 1507s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1507s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1507s ok 13 /date/clamp 1507s ok 14 /date/order 1507s ok 15 /date/copy 1507s # Vector 0: 0000-00-00, invalid 1507s # Vector 1: 0001-01-01, valid 1507s # Vector 2: 0000-01-01, invalid 1507s # Vector 3: 2000-02-30, invalid 1507s # Vector 4: 2000-02-29, valid 1507s # Vector 5: 2001-02-29, invalid 1507s # Vector 6: 65535-01-01, valid 1507s ok 16 /date/valid-dmy 1507s # Considering 2000-01-01 1507s # Considering 2000-01-07 1507s # Considering 2000-01-08 1507s # Considering 2001-01-01 1507s # Considering 2001-01-07 1507s # Considering 2001-01-08 1507s # Considering 2002-01-01 1507s # Considering 2002-01-07 1507s # Considering 2002-01-08 1507s # Considering 2003-01-01 1507s # Considering 2003-01-07 1507s # Considering 2003-01-08 1507s # Considering 2004-01-01 1507s # Considering 2004-01-07 1507s # Considering 2004-01-08 1507s # Considering 2006-01-01 1507s # Considering 2006-01-07 1507s # Considering 2006-01-08 1507s # Considering 2010-01-01 1507s # Considering 2010-01-07 1507s # Considering 2010-01-08 1507s ok 17 /date/week-of-year 1507s # Start of parse tests 1507s # Test 0 1507s # Test 1 1507s ok 18 /date/parse/invalid 1507s # End of parse tests 1507s # Start of year tests 1507s ok 19 /date/year/1 1507s ok 20 /date/year/2 1507s ok 21 /date/year/3 1507s ok 22 /date/year/4 1507s ok 23 /date/year/5 1507s ok 24 /date/year/6 1507s ok 25 /date/year/7 1507s ok 26 /date/year/8 1507s ok 27 /date/year/9 1507s ok 28 /date/year/10 1507s ok 29 /date/year/11 1507s ok 30 /date/year/12 1507s ok 31 /date/year/13 1507s ok 32 /date/year/14 1507s ok 33 /date/year/98 1507s ok 34 /date/year/99 1507s ok 35 /date/year/100 1507s ok 36 /date/year/101 1507s ok 37 /date/year/102 1507s ok 38 /date/year/103 1507s ok 39 /date/year/397 1507s ok 40 /date/year/398 1507s ok 41 /date/year/399 1507s ok 42 /date/year/400 1507s ok 43 /date/year/401 1507s ok 44 /date/year/402 1507s ok 45 /date/year/403 1507s ok 46 /date/year/404 1507s ok 47 /date/year/405 1507s ok 48 /date/year/406 1507s ok 49 /date/year/1598 1507s ok 50 /date/year/1599 1507s ok 51 /date/year/1600 1507s ok 52 /date/year/1601 1507s ok 53 /date/year/1602 1507s ok 54 /date/year/1650 1507s ok 55 /date/year/1651 1507s ok 56 /date/year/1897 1507s ok 57 /date/year/1898 1507s ok 58 /date/year/1899 1507s ok 59 /date/year/1900 1507s ok 60 /date/year/1901 1507s ok 61 /date/year/1902 1507s ok 62 /date/year/1903 1507s ok 63 /date/year/1961 1507s ok 64 /date/year/1962 1507s ok 65 /date/year/1963 1507s ok 66 /date/year/1964 1507s ok 67 /date/year/1965 1507s ok 68 /date/year/1967 1507s ok 69 /date/year/1968 1507s ok 70 /date/year/1969 1507s ok 71 /date/year/1970 1507s ok 72 /date/year/1971 1507s ok 73 /date/year/1972 1507s ok 74 /date/year/1973 1507s ok 75 /date/year/1974 1507s ok 76 /date/year/1975 1507s ok 77 /date/year/1976 1507s ok 78 /date/year/1977 1507s ok 79 /date/year/1978 1507s ok 80 /date/year/1979 1507s ok 81 /date/year/1980 1507s ok 82 /date/year/1981 1507s ok 83 /date/year/1982 1507s ok 84 /date/year/1983 1507s ok 85 /date/year/1984 1507s ok 86 /date/year/1985 1507s ok 87 /date/year/1986 1507s ok 88 /date/year/1987 1507s ok 89 /date/year/1988 1507s ok 90 /date/year/1989 1507s ok 91 /date/year/1990 1507s ok 92 /date/year/1991 1507s ok 93 /date/year/1992 1507s ok 94 /date/year/1993 1507s ok 95 /date/year/1994 1507s ok 96 /date/year/1995 1507s ok 97 /date/year/1996 1507s ok 98 /date/year/1997 1507s ok 99 /date/year/1998 1507s ok 100 /date/year/1999 1507s ok 101 /date/year/2000 1507s ok 102 /date/year/2001 1507s ok 103 /date/year/2002 1507s ok 104 /date/year/2003 1507s ok 105 /date/year/2004 1507s ok 106 /date/year/2005 1507s ok 107 /date/year/2006 1507s ok 108 /date/year/2007 1507s # Executing: glib/date.test 1507s ok 109 /date/year/2008 1507s ok 110 /date/year/2009 1507s ok 111 /date/year/2010 1507s ok 112 /date/year/2011 1507s ok 113 /date/year/2012 1507s ok 114 /date/year/3000 1507s ok 115 /date/year/3001 1507s ok 116 /date/year/3002 1507s ok 117 /date/year/3998 1507s ok 118 /date/year/3999 1507s ok 119 /date/year/4000 1507s ok 120 /date/year/4001 1507s ok 121 /date/year/4002 1507s ok 122 /date/year/4003 1507s # End of year tests 1507s # End of date tests 1507s ok - glib/date.test 1507s # Running test: glib/gobject-query.py.test 1508s TAP version 13 1508s ok 1 __main__.TestGobjectQuery.test_froots 1508s # gobject-query: /usr/bin/gobject-query 1508s # tmpdir: /tmp/tmpza4mxkif 1508s # Running: ['/usr/bin/gobject-query', 'froots'] 1508s # Return code: 0 1508s # Output: 1508s # ├void 1508s # ├GInterface 1508s # │ └GTypePlugin 1508s # ├gchar 1508s # ├guchar 1508s # ├gboolean 1508s # ├gint 1508s # ├guint 1508s # ├glong 1508s # ├gulong 1508s # ├gint64 1508s # ├guint64 1508s # ├GEnum 1508s # ├GFlags 1508s # ├gfloat 1508s # ├gdouble 1508s # ├gchararray 1508s # ├gpointer 1508s # │ └GType 1508s # ├GBoxed 1508s # │ └GValueArray 1508s # ├GParam 1508s # │ ├GParamChar 1508s # │ ├GParamUChar 1508s # │ ├GParamBoolean 1508s # │ ├GParamInt 1508s # │ ├GParamUInt 1508s # │ ├GParamLong 1508s # │ ├GParamULong 1508s # │ ├GParamInt64 1508s # │ ├GParamUInt64 1508s # │ ├GParamUnichar 1508s # │ ├GParamEnum 1508s # │ ├GParamFlags 1508s # │ ├GParamFloat 1508s # │ ├GParamDouble 1508s # │ ├GParamString 1508s # │ ├GParamParam 1508s # │ ├GParamBoxed 1508s # │ ├GParamPointer 1508s # │ ├GParamValueArray 1508s # │ ├GParamObject 1508s # │ ├GParamOverride 1508s # │ ├GParamGType 1508s # │ └GParamVariant 1508s # ├GObject 1508s # └GVariant 1508s # Error: 1508s ok 2 __main__.TestGobjectQuery.test_help 1508s # gobject-query: /usr/bin/gobject-query 1508s # tmpdir: /tmp/tmp0x7knu5g 1508s # Running: ['/usr/bin/gobject-query', '--help'] 1508s # Return code: 0 1508s # Output: 1508s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1508s # -r specify root type 1508s # -n don't descend type tree 1508s # -h show help 1508s # -b specify indent string 1508s # -i specify incremental indent string 1508s # -s specify line spacing 1508s # qualifiers: 1508s # froots iterate over fundamental roots 1508s # tree print type tree 1508s # Error: 1508s ok 3 __main__.TestGobjectQuery.test_tree 1508s # gobject-query: /usr/bin/gobject-query 1508s # tmpdir: /tmp/tmpv7fcjs6m 1508s # Running: ['/usr/bin/gobject-query', 'tree'] 1508s # Return code: 0 1508s # Output: 1508s # GObject 1508s # Error: 1508s ok 4 __main__.TestGobjectQuery.test_version 1508s # gobject-query: /usr/bin/gobject-query 1508s # tmpdir: /tmp/tmp92pt3u6z 1508s # Running: ['/usr/bin/gobject-query', '--version'] 1508s # Return code: 0 1508s # Output: 1508s # 2.87.2 1508s # Error: 1508s 1..4 1508s ok - glib/gobject-query.py.test 1508s # Running test: glib/flags.test 1508s TAP version 14 1508s # random seed: R02S2fe88bf38c76a043a9ff29a59c988da4 1508s 1..1 1508s # Start of gobject tests 1508s # Start of flags tests 1508s ok 1 /gobject/flags/validate 1508s # End of flags tests 1508s # End of gobject tests 1508s ok - glib/flags.test 1508s # Running test: glib/async-splice-output-stream.test 1508s TAP version 14 1508s # random seed: R02S107ac0f533006faeb2c0cbcdd54736c6 1508s 1..5 1508s # Start of async-splice tests 1508s ok 1 /async-splice/copy-chunks 1508s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1508s ok 2 /async-splice/copy-chunks-threaded-input 1508s ok 3 /async-splice/copy-chunks-threaded-output 1508s ok 4 /async-splice/copy-chunks-threaded 1508s ok 5 /async-splice/cancelled 1508s # End of async-splice tests 1508s ok - glib/async-splice-output-stream.test 1508s # Running test: glib/socket-service.test 1508s TAP version 14 1508s # random seed: R02S453af60a95d4e08ae94cf4bbc8f2ce54 1508s 1..4 1508s # Start of socket-service tests 1508s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a76762e8240 and GSocketClientAsyncConnectData 0x1a76762e2f00 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s ok 1 /socket-service/start-stop 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a76762ec2d0 and GSocketClientAsyncConnectData 0x1a76762ebf30 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1508s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a76762ec250 for GSocketClientAsyncConnectData 0x1a76762e2f00 1508s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1508s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1508s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a76762ec250 for GSocketClientAsyncConnectData 0x1a76762ebf30 1508s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1508s ok 2 /socket-service/read_write_async 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a76762ec2d0 and GSocketClientAsyncConnectData 0x1a76762ef9e0 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1508s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a76762eee30 for GSocketClientAsyncConnectData 0x1a76762ef9e0 1508s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1508s ok 3 /socket-service/read_writev_async 1508s # Start of threaded tests 1508s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1508s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a76762e0a70 and GSocketClientAsyncConnectData 0x1a76762ebf30 1508s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1508s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1508s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a76762f0070 for GSocketClientAsyncConnectData 0x1a76762ebf30 1508s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1508s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1508s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1508s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1508s ok 4 /socket-service/threaded/712570 1508s # End of threaded tests 1508s # End of socket-service tests 1508s ok - glib/socket-service.test 1508s # Running test: glib/repository-search-paths.test 1508s TAP version 14 1508s # random seed: R02Sf20851309cc3f26f3a8b2954d248f581 1508s 1..4 1508s # Start of repository tests 1508s # Start of search-paths tests 1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/home 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/cache 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/system-config2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/config 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/system-data2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/data 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/state 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/default/.dirs/runtime 1508s ok 1 /repository/search-paths/default 1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/home 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/cache 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/system-config2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/config 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/system-data2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/data 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/state 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D3OMK3/repository/search-paths/prepend/.dirs/runtime 1508s ok 2 /repository/search-paths/prepend 1508s # End of search-paths tests 1508s # Start of library-paths tests 1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/home 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/cache 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/system-config2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/config 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/system-data2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/data 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/state 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/default/.dirs/runtime 1508s ok 3 /repository/library-paths/default 1508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/home 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/cache 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/system-config2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/config 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/system-data2 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/data 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/state 1508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_D3OMK3/repository/library-paths/prepend/.dirs/runtime 1508s ok 4 /repository/library-paths/prepend 1508s # End of library-paths tests 1508s # End of repository tests 1508s ok - glib/repository-search-paths.test 1508s # Running test: glib/mainloop.test 1508s TAP version 14 1508s # random seed: R02Sba7bd452e95b756f16279bc4a659852f 1508s 1..48 1508s # Start of maincontext tests 1508s ok 1 /maincontext/basic 1508s # Add same-priority sources: 38 1508s # Find each source: 19 1508s # Remove in random order: 54 1508s ok 2 /maincontext/nsources_same_priority 1508s # Add different-priority sources: 45 1508s # Find each source: 19 1508s # Remove in random order: 59 1508s ok 3 /maincontext/nsources_different_priority 1508s # Add sources from threads: 113 1508s # Remove sources from threads: 91 1508s ok 4 /maincontext/nsources_threadpool 1508s ok 5 /maincontext/source_finalization 1508s # /maincontext/idle-once summary: Test g_idle_add_once() works 1508s ok 6 /maincontext/idle-once 1508s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1508s ok 7 /maincontext/timeout-once 1508s # /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. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1508s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1508s # Start of source_finalization_from_source tests 1508s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 9 /maincontext/source_finalization_from_source/0 1508s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 10 /maincontext/source_finalization_from_source/1 1508s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 11 /maincontext/source_finalization_from_source/2 1508s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 12 /maincontext/source_finalization_from_source/3 1508s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 13 /maincontext/source_finalization_from_source/4 1508s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 14 /maincontext/source_finalization_from_source/5 1508s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 15 /maincontext/source_finalization_from_source/6 1508s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 16 /maincontext/source_finalization_from_source/7 1508s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 17 /maincontext/source_finalization_from_source/8 1508s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1508s ok 18 /maincontext/source_finalization_from_source/9 1508s # End of source_finalization_from_source tests 1508s # Start of source_finalization_from_dispatch tests 1508s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1508s ok 19 /maincontext/source_finalization_from_dispatch/0 1508s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1508s ok 20 /maincontext/source_finalization_from_dispatch/1 1508s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1508s ok 21 /maincontext/source_finalization_from_dispatch/2 1508s # End of source_finalization_from_dispatch tests 1508s # End of maincontext tests 1508s # Start of mainloop tests 1508s ok 22 /mainloop/basic 1508s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1508s ok 24 /mainloop/priorities 1509s ok 25 /mainloop/invoke 1509s # slow test /mainloop/invoke executed in 0.50 secs 1510s ok 26 /mainloop/child_sources 1510s # slow test /mainloop/child_sources executed in 1.17 secs 1512s ok 27 /mainloop/recursive_child_sources 1512s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1512s ok 28 /mainloop/recursive_loop_child_sources 1512s ok 29 /mainloop/swapping_child_sources 1512s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1512s ok 30 /mainloop/blocked_child_sources 1512s # Executing: glib/mainloop.test 1513s ok 31 /mainloop/source_time 1513s # slow test /mainloop/source_time executed in 1.00 secs 1513s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1513s ok 32 /mainloop/overflow 1514s ok 33 /mainloop/ready-time 1514s # slow test /mainloop/ready-time executed in 0.50 secs 1514s ok 34 /mainloop/wakeup 1514s ok 35 /mainloop/remove-invalid 1514s ok 36 /mainloop/unref-while-pending 1514s # Test that the global default main context is used if NULL is passed to various methods 1514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1514s ok 37 /mainloop/null-default-context 1515s ok 38 /mainloop/unix-fd 1515s # slow test /mainloop/unix-fd executed in 1.55 secs 1515s ok 39 /mainloop/unix-fd-source 1515s ok 40 /mainloop/source-unix-fd-api 1515s ok 41 /mainloop/wait 1515s ok 42 /mainloop/unix-file-poll 1515s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1515s ok 43 /mainloop/unix-fd-priority 1515s ok 44 /mainloop/nfds 1515s ok 45 /mainloop/steal-fd 1517s ok 46 /mainloop/simultaneous-source-context-destruction 1517s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.13 secs 1517s # Start of ownerless-polling tests 1517s ok 47 /mainloop/ownerless-polling/attach-first 1517s ok 48 /mainloop/ownerless-polling/pop-first 1517s # End of ownerless-polling tests 1517s # End of mainloop tests 1517s ok - glib/mainloop.test 1517s # Running test: glib/memory-monitor-poll.test 1517s TAP version 14 1517s # random seed: R02S5bbab203734a7802c93216ec875991e6 1517s 1..4 1517s # Start of memory-monitor-poll tests 1517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1517s ok 1 /memory-monitor-poll/dup-default 1517s # GLib-GIO-DEBUG: memory free ratio 0.190000 1517s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1517s ok 2 /memory-monitor-poll/critical-event 1517s # GLib-GIO-DEBUG: memory free ratio 0.290000 1517s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1517s ok 3 /memory-monitor-poll/medium-event 1517s ok - glib/memory-monitor-poll.test 1517s # GLib-GIO-DEBUG: memory free ratio 0.390000 1517s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1517s ok 4 /memory-monitor-poll/low-event 1517s # End of memory-monitor-poll tests 1517s # SUMMARY: total=337; passed=336; skipped=1; failed=0; user=267.0s; system=73.3s; maxrss=157696 1517s autopkgtest [16:24:16]: test installed-tests: -----------------------] 1518s autopkgtest [16:24:17]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1518s installed-tests PASS 1518s autopkgtest [16:24:17]: test closure-refcount: preparing testbed 1518s Reading package lists... 1518s Building dependency tree... 1518s Reading state information... 1518s Solving dependencies... 1519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1519s autopkgtest [16:24:18]: test closure-refcount: [----------------------- 1520s Running test: glib/closure-refcount.test 1520s TAP version 14 1520s # random seed: R02S30dc7ec3769cd6db0504701a6240da2a 1520s 1..1 1520s # Start of closure tests 1520s # Init 0xe5058e56db0 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread2 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread1 1520s # Yielding from main thread 1520s # Yielding from main thread 1520s # Yielding from thread2 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from thread2 1521s # Yielding from thread1 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from main thread 1521s # Yielding from thread2 1521s # Yielding from main thread 1521s # Yielding from thread1 1521s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread2 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread1 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread2 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from thread1 1522s # Yielding from main thread 1522s # Yielding from main thread 1522s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread2 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread1 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread2 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from thread1 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1523s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread2 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from thread2 1524s # Yielding from main thread 1524s # Yielding from thread1 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s # Yielding from main thread 1524s Executing: glib/closure-refcount.test 1524s # Yielding from main thread 1524s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from thread1 1525s # Yielding from main thread 1525s # Yielding from thread2 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Yielding from main thread 1525s # Stopping 1525s # Stopped 1525s ok 1 /closure/refcount 1525s # slow test /closure/refcount executed in 5.37 secs 1525s # End of closure tests 1525s PASS: glib/closure-refcount.test 1525s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.7s; system=0.0s; maxrss=4096 1525s autopkgtest [16:24:24]: test closure-refcount: -----------------------] 1526s autopkgtest [16:24:25]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1526s closure-refcount PASS 1526s autopkgtest [16:24:25]: test debugcontroller: preparing testbed 1526s Reading package lists... 1526s Building dependency tree... 1526s Reading state information... 1526s Solving dependencies... 1526s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1527s autopkgtest [16:24:26]: test debugcontroller: [----------------------- 1527s Running test: glib/debugcontroller.test 1527s TAP version 14 1527s # random seed: R02Se2779a3044be8fd52aa33f1cc659364d 1527s 1..3 1527s # Start of debug-controller tests 1527s # Start of dbus tests 1527s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1527s # GLib-GIO-DEBUG: Debug output enabled 1527s # GLib-GIO-DEBUG: Debug output disabled 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s ok 1 /debug-controller/dbus/basic 1527s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s ok 2 /debug-controller/dbus/duplicate 1527s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1527s # GLib-GIO-DEBUG: Debug output enabled 1527s # GLib-GIO-DEBUG: Debug output disabled 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1527s ok 3 /debug-controller/dbus/properties 1527s # End of dbus tests 1527s # End of debug-controller tests 1527s PASS: glib/debugcontroller.test 1527s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1528s autopkgtest [16:24:27]: test debugcontroller: -----------------------] 1528s autopkgtest [16:24:27]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1528s debugcontroller PASS 1528s autopkgtest [16:24:27]: test gdbus-server-auth: preparing testbed 1528s Reading package lists... 1528s Building dependency tree... 1528s Reading state information... 1529s Solving dependencies... 1529s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1529s autopkgtest [16:24:28]: test gdbus-server-auth: [----------------------- 1530s Running test: glib/gdbus-server-auth.test 1530s TAP version 14 1530s # random seed: R02Sec26473740b2ee6d354816ff9f0fb553 1530s 1..10 1530s # Start of gdbus tests 1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/home 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/cache 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/system-config2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/config 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/system-data2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/data 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/state 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/.dirs/runtime 1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-WZUKK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-WZUKK3/dbus-cQiKKJ82 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1530s ok 1 /gdbus/server-auth 1530s # Start of server-auth tests 1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/home 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/cache 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/system-config2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/config 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/system-data2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/data 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/state 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/abstract/.dirs/runtime 1530s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-XTNMK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-XTNMK3/dbus-bu78C26y 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1530s ok 2 /gdbus/server-auth/abstract 1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/home 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/cache 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/system-config2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/config 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/system-data2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/data 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/state 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/tcp/.dirs/runtime 1530s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1530s # Connectable address: tcp:host=127.0.0.1,port=33515 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1530s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1530s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1530s ok 3 /gdbus/server-auth/tcp 1530s # slow test /gdbus/server-auth/tcp executed in 0.92 secs 1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/home 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/cache 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/system-config2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/config 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/system-data2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/data 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/state 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/.dirs/runtime 1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-LRALK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-LRALK3/dbus-H29i0MSk 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1530s ok 4 /gdbus/server-auth/anonymous 1530s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/home 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/cache 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/system-config2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/config 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/system-data2 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/data 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/state 1530s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/.dirs/runtime 1530s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-2EJLK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1530s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-2EJLK3/dbus-fseqFBc1 1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1530s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1530s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1530s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1530s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1530s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1530s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1531s ok 5 /gdbus/server-auth/external 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/.dirs/runtime 1531s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-9CLKK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1531s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-9CLKK3/dbus-Aw9IP8vi 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1531s ok 6 /gdbus/server-auth/sha1 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/path-in-use/.dirs/runtime 1531s ok 7 /gdbus/server-auth/path-in-use 1531s # Start of anonymous tests 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1531s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1531s # Connectable address: tcp:host=127.0.0.1,port=42347 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1531s ok 8 /gdbus/server-auth/anonymous/tcp 1531s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1531s # End of anonymous tests 1531s # Start of external tests 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1531s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-RK6JK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1531s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KFUKK3/gdbus-server-auth-RK6JK3/dbus-DofUnFKu 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40422 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1531s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40422,uid=1000,gid=1000 1531s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40422 1531s ok 9 /gdbus/server-auth/external/require-same-user 1531s # End of external tests 1531s # Start of sha1 tests 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KFUKK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1531s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1531s # Connectable address: tcp:host=127.0.0.1,port=43749 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1531s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1531s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1531s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1531s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1531s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1532s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1532s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1532s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1532s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1532s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1532s ok 10 /gdbus/server-auth/sha1/tcp 1532s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1532s # End of sha1 tests 1532s # End of server-auth tests 1532s # End of gdbus tests 1532s PASS: glib/gdbus-server-auth.test 1532s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1533s autopkgtest [16:24:32]: test gdbus-server-auth: -----------------------] 1533s gdbus-server-auth PASS 1533s autopkgtest [16:24:32]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1533s autopkgtest [16:24:32]: test gdbus-threading: preparing testbed 1533s Reading package lists... 1534s Building dependency tree... 1534s Reading state information... 1534s Solving dependencies... 1534s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1535s autopkgtest [16:24:34]: test gdbus-threading: [----------------------- 1535s Running test: glib/gdbus-threading.test 1535s TAP version 14 1535s # random seed: R02Sc0a27665f24c73da4fdd8654ccd110ef 1535s 1..3 1535s # Start of gdbus tests 1535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/home 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/cache 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/system-config2 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/config 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/system-data2 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/data 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/state 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LXKOK3/gdbus/delivery-in-thread/.dirs/runtime 1535s ok 1 /gdbus/delivery-in-thread 1535s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/home 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/cache 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/system-config2 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/config 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/system-data2 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/data 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/state 1535s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LXKOK3/gdbus/method-calls-in-thread/.dirs/runtime 1536s ok 2 /gdbus/method-calls-in-thread 1536s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 1536s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/home 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/cache 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/system-config2 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/config 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/system-data2 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/data 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/state 1536s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_LXKOK3/gdbus/threaded-singleton/.dirs/runtime 1536s # GLib-GIO-DEBUG: refcount of 0x722a300048f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a300067f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a300071d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a30001470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a300060e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a30004c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1536s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a300068a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000bc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30006840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30006ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30007b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30000b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30007380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1537s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30007380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30002a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a300060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a300060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a300060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30007b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30007b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1538s # GLib-GIO-DEBUG: refcount of 0x722a30007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30001090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30007ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30000ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a30006d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a300015d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a300015d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a300015d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1539s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a300015a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s Executing: glib/gdbus-threading.test 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1540s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1541s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30004c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1542s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30000b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30000b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30000b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1543s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30004c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s # GLib-GIO-DEBUG: refcount of 0x722a30002740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1544s ok 3 /gdbus/threaded-singleton 1544s # slow test /gdbus/threaded-singleton executed in 8.49 secs 1544s # End of gdbus tests 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1544s PASS: glib/gdbus-threading.test 1544s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.3s; maxrss=8192 1544s autopkgtest [16:24:43]: test gdbus-threading: -----------------------] 1545s gdbus-threading PASS 1545s autopkgtest [16:24:44]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1545s autopkgtest [16:24:44]: test gmenumodel: preparing testbed 1545s Reading package lists... 1545s Building dependency tree... 1545s Reading state information... 1545s Solving dependencies... 1546s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1546s autopkgtest [16:24:45]: test gmenumodel: [----------------------- 1547s Running test: glib/gmenumodel.test 1547s TAP version 14 1547s # random seed: R02S662cefb1d448b0bfe8419f03f0537d79 1547s 1..15 1547s # Start of gmenu tests 1548s ok 1 /gmenu/equality 1548s # slow test /gmenu/equality executed in 1.44 secs 1550s ok 2 /gmenu/random 1550s # slow test /gmenu/random executed in 1.81 secs 1550s ok 3 /gmenu/attributes 1550s ok 4 /gmenu/links 1550s ok 5 /gmenu/mutable 1550s ok 6 /gmenu/convenience 1550s ok 7 /gmenu/menuitem 1550s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1550s ok 8 /gmenu/input-validation 1550s # Start of dbus tests 1551s ok 9 /gmenu/dbus/roundtrip 1551s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1551s ok 10 /gmenu/dbus/subscriptions 1551s Executing: glib/gmenumodel.test 1553s ok 11 /gmenu/dbus/threaded 1553s # slow test /gmenu/dbus/threaded executed in 1.61 secs 1553s # Start of peer tests 1554s ok 12 /gmenu/dbus/peer/roundtrip 1554s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1554s ok 13 /gmenu/dbus/peer/subscriptions 1554s # End of peer tests 1554s # Start of export tests 1554s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1554s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1554s ok 14 /gmenu/dbus/export/error-handling 1554s # End of export tests 1554s # End of dbus tests 1554s # Start of attributes tests 1554s ok 15 /gmenu/attributes/iterate 1554s # End of attributes tests 1554s # End of gmenu tests 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1554s PASS: glib/gmenumodel.test 1554s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.0s; system=0.3s; maxrss=18432 1555s autopkgtest [16:24:54]: test gmenumodel: -----------------------] 1555s autopkgtest [16:24:54]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1555s gmenumodel PASS 1556s autopkgtest [16:24:55]: test mainloop: preparing testbed 1556s Reading package lists... 1556s Building dependency tree... 1556s Reading state information... 1556s Solving dependencies... 1556s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1557s autopkgtest [16:24:56]: test mainloop: [----------------------- 1557s Running test: glib/mainloop.test 1557s TAP version 14 1557s # random seed: R02S8aff46306eb217c3141243ca42e488bd 1557s 1..48 1557s # Start of maincontext tests 1557s ok 1 /maincontext/basic 1557s # Add same-priority sources: 39 1557s # Find each source: 20 1557s # Remove in random order: 57 1557s ok 2 /maincontext/nsources_same_priority 1557s # Add different-priority sources: 47 1557s # Find each source: 20 1557s # Remove in random order: 60 1557s ok 3 /maincontext/nsources_different_priority 1558s # Add sources from threads: 123 1558s # Remove sources from threads: 101 1558s ok 4 /maincontext/nsources_threadpool 1558s ok 5 /maincontext/source_finalization 1558s # /maincontext/idle-once summary: Test g_idle_add_once() works 1558s ok 6 /maincontext/idle-once 1558s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1558s ok 7 /maincontext/timeout-once 1558s # /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. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1558s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1558s # Start of source_finalization_from_source tests 1558s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 9 /maincontext/source_finalization_from_source/0 1558s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 10 /maincontext/source_finalization_from_source/1 1558s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 11 /maincontext/source_finalization_from_source/2 1558s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 12 /maincontext/source_finalization_from_source/3 1558s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 13 /maincontext/source_finalization_from_source/4 1558s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 14 /maincontext/source_finalization_from_source/5 1558s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 15 /maincontext/source_finalization_from_source/6 1558s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 16 /maincontext/source_finalization_from_source/7 1558s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 17 /maincontext/source_finalization_from_source/8 1558s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1558s ok 18 /maincontext/source_finalization_from_source/9 1558s # End of source_finalization_from_source tests 1558s # Start of source_finalization_from_dispatch tests 1558s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1558s ok 19 /maincontext/source_finalization_from_dispatch/0 1558s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1558s ok 20 /maincontext/source_finalization_from_dispatch/1 1558s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1558s ok 21 /maincontext/source_finalization_from_dispatch/2 1558s # End of source_finalization_from_dispatch tests 1558s # End of maincontext tests 1558s # Start of mainloop tests 1558s ok 22 /mainloop/basic 1558s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1558s ok 24 /mainloop/priorities 1558s ok 25 /mainloop/invoke 1558s # slow test /mainloop/invoke executed in 0.50 secs 1559s ok 26 /mainloop/child_sources 1559s # slow test /mainloop/child_sources executed in 1.18 secs 1561s ok 27 /mainloop/recursive_child_sources 1561s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1561s ok 28 /mainloop/recursive_loop_child_sources 1562s ok 29 /mainloop/swapping_child_sources 1562s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1562s ok 30 /mainloop/blocked_child_sources 1562s Executing: glib/mainloop.test 1563s ok 31 /mainloop/source_time 1563s # slow test /mainloop/source_time executed in 1.00 secs 1563s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1563s ok 32 /mainloop/overflow 1563s ok 33 /mainloop/ready-time 1563s # slow test /mainloop/ready-time executed in 0.50 secs 1563s ok 34 /mainloop/wakeup 1563s ok 35 /mainloop/remove-invalid 1563s ok 36 /mainloop/unref-while-pending 1563s # Test that the global default main context is used if NULL is passed to various methods 1563s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3818 1563s ok 37 /mainloop/null-default-context 1565s ok 38 /mainloop/unix-fd 1565s # slow test /mainloop/unix-fd executed in 1.58 secs 1565s ok 39 /mainloop/unix-fd-source 1565s ok 40 /mainloop/source-unix-fd-api 1565s ok 41 /mainloop/wait 1565s ok 42 /mainloop/unix-file-poll 1565s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1565s ok 43 /mainloop/unix-fd-priority 1565s ok 44 /mainloop/nfds 1565s ok 45 /mainloop/steal-fd 1566s ok 46 /mainloop/simultaneous-source-context-destruction 1566s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.12 secs 1566s # Start of ownerless-polling tests 1566s ok 47 /mainloop/ownerless-polling/attach-first 1566s ok 48 /mainloop/ownerless-polling/pop-first 1566s # End of ownerless-polling tests 1566s # End of mainloop tests 1566s PASS: glib/mainloop.test 1566s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=2.7s; maxrss=30720 1566s autopkgtest [16:25:05]: test mainloop: -----------------------] 1567s autopkgtest [16:25:06]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1567s mainloop PASS 1567s autopkgtest [16:25:06]: test memory-monitor-dbus: preparing testbed 1567s Reading package lists... 1567s Building dependency tree... 1567s Reading state information... 1567s Solving dependencies... 1567s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1568s autopkgtest [16:25:07]: test memory-monitor-dbus: [----------------------- 1568s Running test: glib/memory-monitor-dbus.test 1569s TAP version 13 1569s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1569s # Received memory warning signal, level 0 1569s # Received memory warning signal, level 0 1569s # Received memory warning signal, level 100 1569s # Received memory warning signal, level 255 1569s 1..1 1569s PASS: glib/memory-monitor-dbus.test 1569s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=38976 1569s autopkgtest [16:25:08]: test memory-monitor-dbus: -----------------------] 1569s memory-monitor-dbus PASS 1569s autopkgtest [16:25:08]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1570s autopkgtest [16:25:09]: test socket: preparing testbed 1570s Reading package lists... 1570s Building dependency tree... 1570s Reading state information... 1570s Solving dependencies... 1570s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1571s autopkgtest [16:25:10]: test socket: [----------------------- 1571s Running test: glib/socket.test 1571s TAP version 14 1571s # random seed: R02Sb173447b3b1fa433f671f1628f4aed00 1571s 1..30 1571s # Start of socket tests 1572s ok 1 /socket/ipv4_sync 1572s # slow test /socket/ipv4_sync executed in 1.00 secs 1573s ok 2 /socket/ipv4_async 1573s # slow test /socket/ipv4_async executed in 1.00 secs 1573s ok 3 /socket/ipv6_sync 1573s ok 4 /socket/ipv6_async 1573s ok 5 /socket/ipv6_v4mapped 1574s ok 6 /socket/close_graceful 1574s # slow test /socket/close_graceful executed in 1.00 secs 1574s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1574s ok 8 /socket/fd_reuse 1574s ok 9 /socket/address 1574s ok 10 /socket/unix-from-fd 1574s ok 11 /socket/unix-connection 1574s ok 12 /socket/unix-connection-ancillary-data 1574s ok 13 /socket/source-postmortem 1574s ok 14 /socket/read_write 1574s ok 15 /socket/read_writev 1574s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1574s ok 16 /socket/receive_bytes 1574s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1574s ok 17 /socket/receive_bytes_from 1574s # Start of ipv4_sync tests 1574s ok 18 /socket/ipv4_sync/datagram 1574s # Start of datagram tests 1575s ok 19 /socket/ipv4_sync/datagram/timeouts 1575s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1575s # End of datagram tests 1575s # End of ipv4_sync tests 1575s # Start of ipv6_sync tests 1575s ok 20 /socket/ipv6_sync/datagram 1575s # Start of datagram tests 1576s ok 21 /socket/ipv6_sync/datagram/timeouts 1576s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1576s # End of datagram tests 1576s # End of ipv6_sync tests 1576s # Start of reuse tests 1576s ok 22 /socket/reuse/tcp 1576s ok 23 /socket/reuse/udp 1576s # End of reuse tests 1576s # Start of get_available tests 1576s ok 24 /socket/get_available/datagram 1576s ok 25 /socket/get_available/stream 1576s # End of get_available tests 1576s # Start of credentials tests 1576s # Supported on this OS: GCredentials:linux-ucred:pid=0 1576s ok 26 /socket/credentials/tcp_client 1576s # Supported on this OS: GCredentials:linux-ucred:pid=0 1576s ok 27 /socket/credentials/tcp_server 1576s # Supported on this OS: GCredentials:linux-ucred:pid=66417,uid=1000,gid=1000 1576s ok 28 /socket/credentials/unix_socketpair 1576s # End of credentials tests 1576s # Start of accept tests 1576s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1576s ok 29 /socket/accept/cancelled 1576s # End of accept tests 1576s # Start of connect tests 1576s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1576s ok 30 /socket/connect/cancelled 1576s # End of connect tests 1576s # End of socket tests 1576s PASS: glib/socket.test 1576s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1577s autopkgtest [16:25:16]: test socket: -----------------------] 1577s socket PASS 1577s autopkgtest [16:25:16]: test socket: - - - - - - - - - - results - - - - - - - - - - 1577s autopkgtest [16:25:16]: test testfilemonitor: preparing testbed 1577s Reading package lists... 1578s Building dependency tree... 1578s Reading state information... 1578s Solving dependencies... 1578s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1578s autopkgtest [16:25:17]: test testfilemonitor: [----------------------- 1579s Running test: glib/testfilemonitor.test 1579s TAP version 14 1579s # random seed: R02S3838e6a172aebc1e168ae7e18aed4029 1579s 1..8 1579s # Start of monitor tests 1579s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1579s # Using temporary directory: /tmp/gio-test-testfilemonitor_4VGOK3 1579s # Using GFileMonitor GInotifyFileMonitor 1581s ok 1 /monitor/atomic-replace 1581s # slow test /monitor/atomic-replace executed in 2.00 secs 1581s # Using temporary directory: /tmp/gio-test-testfilemonitor_DOCOK3 1581s # Using GFileMonitor GInotifyFileMonitor 1583s ok 2 /monitor/file-changes 1583s # slow test /monitor/file-changes executed in 2.50 secs 1583s # Using temporary directory: /tmp/gio-test-testfilemonitor_MHXCK3 1583s # Using GFileMonitor GInotifyFileMonitor 1583s Executing: glib/testfilemonitor.test 1587s ok 3 /monitor/dir-monitor 1587s # slow test /monitor/dir-monitor executed in 3.50 secs 1587s # Using temporary directory: /tmp/gio-test-testfilemonitor_1U8NK3 1587s # Using GFileMonitor GInotifyFileMonitor 1588s Executing: glib/testfilemonitor.test 1593s Executing: glib/testfilemonitor.test 1598s Executing: glib/testfilemonitor.test 1603s Executing: glib/testfilemonitor.test 1608s Executing: glib/testfilemonitor.test 1612s ok 4 /monitor/dir-not-existent 1612s # slow test /monitor/dir-not-existent executed in 25.02 secs 1612s # Using temporary directory: /tmp/gio-test-testfilemonitor_ILRNK3 1612s # Using GFileMonitor 0 GInotifyFileMonitor 1612s # Using GFileMonitor 1 GInotifyFileMonitor 1613s Executing: glib/testfilemonitor.test 1614s ok 5 /monitor/cross-dir-moves 1614s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1614s # Using temporary directory: /tmp/gio-test-testfilemonitor_HSNNK3 1614s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1614s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1614s ok 6 /monitor/finalize-in-callback 1614s # Using temporary directory: /tmp/gio-test-testfilemonitor_NDLNK3 1614s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1614s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1614s ok 7 /monitor/root 1614s # Start of file tests 1614s # Using temporary directory: /tmp/gio-test-testfilemonitor_28KNK3 1614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1614s # Running with hard link tests 1614s # Using GFileMonitor GInotifyFileMonitor 1617s # Event 0 at expected index 7 skipped because it is marked as optional 1617s # Event 2 at expected index 11 skipped because it is marked as optional 1617s ok 8 /monitor/file/hard-links 1617s # slow test /monitor/file/hard-links executed in 3.50 secs 1617s # End of file tests 1617s # End of monitor tests 1617s PASS: glib/testfilemonitor.test 1617s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1618s autopkgtest [16:25:57]: test testfilemonitor: -----------------------] 1618s testfilemonitor PASS 1618s autopkgtest [16:25:57]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1618s autopkgtest [16:25:57]: test thread-pool-slow: preparing testbed 1618s Reading package lists... 1618s Building dependency tree... 1618s Reading state information... 1618s Solving dependencies... 1619s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1619s autopkgtest [16:25:58]: test thread-pool-slow: [----------------------- 1619s Running test: glib/thread-pool-slow.test 1619s TAP version 14 1619s # random seed: R02Sa3f556988953ca273df83cabbd29ca7e 1619s 1..7 1619s # Start of threadpool tests 1619s ok 1 /threadpool/functions 1620s ok 2 /threadpool/stop-unused 1620s # slow test /threadpool/stop-unused executed in 0.51 secs 1620s ok 3 /threadpool/pools 1620s # [unsorted] ===> pushed new thread with id:51, number of threads:1, unprocessed:1 1620s # [unsorted] ===> pushed new thread with id:39, number of threads:2, unprocessed:1 1620s # [unsorted] ===> pushed new thread with id:33, number of threads:3, unprocessed:1 1620s # [unsorted] ===> pushed new thread with id:78, number of threads:4, unprocessed:1 1620s # [unsorted] ===> pushed new thread with id:36, number of threads:5, unprocessed:1 1620s # [unsorted] ===> pushed new thread with id:68, number of threads:6, unprocessed:2 1620s # [unsorted] ===> pushed new thread with id:68, number of threads:7, unprocessed:3 1620s # [unsorted] ===> pushed new thread with id:96, number of threads:8, unprocessed:4 1620s # [unsorted] ===> pushed new thread with id:32, number of threads:9, unprocessed:5 1620s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:3 1620s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:3 1620s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:2 1620s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:3 1620s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:4 1620s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:5 1620s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:6 1620s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:7 1620s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:8 1620s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:9 1620s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:10 1620s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:11 1620s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:12 1620s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:13 1620s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:14 1620s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:15 1620s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:16 1620s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:17 1620s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:18 1620s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:19 1620s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:20 1620s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:21 1620s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:22 1620s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:23 1620s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:24 1620s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:25 1620s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:26 1620s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:27 1620s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:28 1620s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:29 1620s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:30 1620s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:31 1620s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:32 1620s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:33 1620s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:34 1620s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:35 1620s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:36 1620s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:37 1620s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:38 1620s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:39 1620s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:40 1620s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:41 1620s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:42 1620s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:43 1620s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:44 1620s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:45 1620s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:46 1620s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:47 1620s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:48 1620s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:49 1620s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:50 1620s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:51 1620s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:52 1620s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:53 1620s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:54 1620s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:55 1620s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:56 1620s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:57 1620s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:58 1620s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:59 1620s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:60 1620s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:61 1620s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:62 1620s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:63 1620s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:64 1620s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:65 1620s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:66 1620s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:67 1620s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:68 1620s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:69 1620s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:70 1620s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:71 1620s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:72 1620s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:73 1620s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:74 1620s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:75 1620s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:76 1620s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77 1620s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:78 1620s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:79 1620s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:80 1620s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:81 1620s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:82 1620s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:83 1620s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:84 1620s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:85 1620s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:86 1620s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:87 1620s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:88 1620s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:89 1620s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:90 1620s ok 4 /threadpool/no-sort 1620s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:1 1620s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:2 1620s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:3 1620s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:4 1620s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:5 1620s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:6 1620s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:7 1620s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 1620s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:9 1620s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:10 1620s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:11 1620s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:12 1620s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:13 1620s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:14 1620s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:15 1620s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:16 1620s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:17 1620s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:18 1620s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:19 1620s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:20 1620s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:21 1620s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:22 1620s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:23 1620s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:24 1620s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:25 1620s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:26 1620s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:27 1620s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:28 1620s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:29 1620s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:30 1620s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:31 1620s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:32 1620s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:33 1620s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:34 1620s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:35 1620s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:36 1620s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:37 1620s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:38 1620s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:39 1620s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:40 1620s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:41 1620s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:42 1620s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:43 1620s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:44 1620s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:45 1620s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:46 1620s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:47 1620s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:48 1620s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:49 1620s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:50 1620s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:51 1620s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:52 1620s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:53 1620s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:54 1620s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:55 1620s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:56 1620s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:57 1620s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:58 1620s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:59 1620s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:60 1620s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:61 1620s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:62 1620s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:63 1620s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:64 1620s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:65 1620s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:66 1620s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:67 1620s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:68 1620s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:69 1620s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:70 1620s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:71 1620s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:72 1620s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:73 1620s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:74 1620s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:75 1620s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:76 1620s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:77 1620s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:78 1620s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:79 1620s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:80 1620s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:81 1620s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:82 1620s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:83 1620s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:84 1620s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:85 1620s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:86 1620s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:87 1620s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:88 1620s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:89 1620s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:90 1620s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:91 1620s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:92 1620s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:93 1620s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:94 1620s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:95 1620s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:96 1620s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:97 1620s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:98 1620s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:99 1620s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:100 1620s # Starting thread pool processing 1620s ok 5 /threadpool/sort 1621s ok 6 /threadpool/stop-unused-multiple 1621s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1621s # Pool idle thread count: 0, unprocessed jobs: 41 1621s # Pool idle thread count: 0, unprocessed jobs: 0 1621s # Pool idle thread count: 0, unprocessed jobs: 0 1622s # Pool idle thread count: 10, unprocessed jobs: 0 1622s # Pool idle thread count: 10, unprocessed jobs: 0 1622s # Pool idle thread count: 10, unprocessed jobs: 0 1622s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1623s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s # Pool idle thread count: 10, unprocessed jobs: 0 1624s Executing: glib/thread-pool-slow.test 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1625s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1626s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1627s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1628s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s # Pool idle thread count: 10, unprocessed jobs: 0 1629s Executing: glib/thread-pool-slow.test 1630s # Pool idle thread count: 10, unprocessed jobs: 2 1630s # Pool idle thread count: 8, unprocessed jobs: 0 1630s # Pool idle thread count: 8, unprocessed jobs: 0 1630s # Pool idle thread count: 8, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1630s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1631s # Pool idle thread count: 10, unprocessed jobs: 0 1632s # Pool idle thread count: 2, unprocessed jobs: 0 1632s # Pool idle thread count: 2, unprocessed jobs: 0 1632s # Pool idle thread count: 2, unprocessed jobs: 0 1632s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1633s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s # Pool idle thread count: 2, unprocessed jobs: 0 1634s Executing: glib/thread-pool-slow.test 1635s # Pool idle thread count: 2, unprocessed jobs: 0 1635s # Pool idle thread count: 2, unprocessed jobs: 0 1635s # Pool idle thread count: 2, unprocessed jobs: 0 1635s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1636s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1637s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1638s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s # Pool idle thread count: 2, unprocessed jobs: 0 1639s Executing: glib/thread-pool-slow.test 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s # Pool idle thread count: 2, unprocessed jobs: 0 1640s ok 7 /threadpool/idle-time 1640s # slow test /threadpool/idle-time executed in 19.52 secs 1640s # End of threadpool tests 1640s PASS: glib/thread-pool-slow.test 1640s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1640s autopkgtest [16:26:19]: test thread-pool-slow: -----------------------] 1641s autopkgtest [16:26:20]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1641s thread-pool-slow PASS 1641s autopkgtest [16:26:20]: test threadtests: preparing testbed 1641s Reading package lists... 1642s Building dependency tree... 1642s Reading state information... 1642s Solving dependencies... 1642s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1642s autopkgtest [16:26:21]: test threadtests: [----------------------- 1643s Running test: glib/threadtests.test 1643s TAP version 14 1643s # random seed: R02Sa9bad4a6475b30849fee87236f68b4af 1643s 1..5 1643s # Start of GObject tests 1643s ok 1 /GObject/threaded-object-init 1643s ok 2 /GObject/threaded-weak-ref 1643s # slow test /GObject/threaded-weak-ref executed in 0.73 secs 1643s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1643s # /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 1644s ok 3 /GObject/threaded-toggle-notify 1644s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1644s # Start of threaded-weak-ref tests 1644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1644s # /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. 1644s ok 5 /GObject/threaded-weak-ref/on-finalization 1644s # End of threaded-weak-ref tests 1644s # End of GObject tests 1644s PASS: glib/threadtests.test 1644s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.5s; maxrss=4096 1644s autopkgtest [16:26:23]: test threadtests: -----------------------] 1644s threadtests PASS 1644s autopkgtest [16:26:23]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1645s autopkgtest [16:26:24]: test timeout: preparing testbed 1645s Reading package lists... 1645s Building dependency tree... 1645s Reading state information... 1645s Solving dependencies... 1645s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1646s autopkgtest [16:26:25]: test timeout: [----------------------- 1646s Running test: glib/timeout.test 1646s TAP version 14 1646s # random seed: R02S35015e316c3cd14e0f5ad39a0ab78cd7 1646s 1..5 1646s # Start of timeout tests 1646s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1648s ok 1 /timeout/seconds 1648s # slow test /timeout/seconds executed in 2.10 secs 1650s ok 2 /timeout/seconds-once 1650s # slow test /timeout/seconds-once executed in 2.10 secs 1650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1651s Executing: glib/timeout.test 1652s ok 3 /timeout/weeks-overflow 1652s # slow test /timeout/weeks-overflow executed in 2.10 secs 1652s ok 4 /timeout/far-future-ready-time 1656s Executing: glib/timeout.test 1661s Executing: glib/timeout.test 1662s ok 5 /timeout/rounding 1662s # slow test /timeout/rounding executed in 10.12 secs 1662s # End of timeout tests 1662s PASS: glib/timeout.test 1662s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1663s autopkgtest [16:26:42]: test timeout: -----------------------] 1663s autopkgtest [16:26:42]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1663s timeout PASS 1664s autopkgtest [16:26:43]: test timer: preparing testbed 1664s Reading package lists... 1664s Building dependency tree... 1664s Reading state information... 1664s Solving dependencies... 1664s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1665s autopkgtest [16:26:44]: test timer: [----------------------- 1665s Running test: glib/timer.test 1665s TAP version 14 1665s # random seed: R02Sc93a1d65914e8bcd4c0bdca74f98ae8d 1665s 1..10 1665s # Start of timer tests 1665s ok 1 /timer/basic 1665s ok 2 /timer/stop 1665s ok 3 /timer/continue 1665s ok 4 /timer/reset 1665s ok 5 /timer/is_active 1665s # End of timer tests 1665s # Start of timeval tests 1665s ok 6 /timeval/add 1665s ok 7 /timeval/from-iso8601 1665s ok 8 /timeval/to-iso8601 1665s # Start of to-iso8601 tests 1665s ok 9 /timeval/to-iso8601/overflow 1665s # End of to-iso8601 tests 1665s # End of timeval tests 1665s # Start of usleep tests 1665s ok 10 /usleep/with-zero-wait 1665s # End of usleep tests 1665s PASS: glib/timer.test 1665s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1665s autopkgtest [16:26:44]: test timer: -----------------------] 1666s autopkgtest [16:26:45]: test timer: - - - - - - - - - - results - - - - - - - - - - 1666s timer PASS 1666s autopkgtest [16:26:45]: test 1065022-futureproofing: preparing testbed 1685s Creating nova instance adt-resolute-ppc64el-glib2.0-20260208-155859-juju-7f2275-prod-proposed-migration-environment-2-4a069569-8b2e-4008-a049-32aa57945591 from image adt/ubuntu-resolute-ppc64el-server-20260208.img (UUID 8faeba1f-ac06-47a2-810c-ba63755ceddb)... 1733s autopkgtest [16:27:52]: testbed dpkg architecture: ppc64el 1734s autopkgtest [16:27:53]: testbed apt version: 3.1.15 1734s autopkgtest [16:27:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1734s autopkgtest [16:27:53]: testbed release detected to be: resolute 1735s autopkgtest [16:27:54]: updating testbed package index (apt update) 1735s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1735s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1735s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1735s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1735s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1508 kB] 1736s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [28.9 kB] 1736s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [164 kB] 1736s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [251 kB] 1736s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1403 kB] 1736s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [19.0 kB] 1736s Fetched 3499 kB in 1s (2590 kB/s) 1737s Reading package lists... 1738s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1738s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1738s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1738s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1739s Reading package lists... 1739s Reading package lists... 1739s Building dependency tree... 1739s Reading state information... 1739s Calculating upgrade... 1739s The following packages will be upgraded: 1739s dpkg dpkg-dev ethtool libbsd0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64 1739s libidn2-0 libnetfilter-conntrack3 libusb-1.0-0 libwrap0 libxau6 1739s libxkbcommon0 shared-mime-info ubuntu-kernel-accessories ubuntu-standard 1739s 16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1739s Need to get 4117 kB of archives. 1739s After this operation, 2404 kB disk space will be freed. 1739s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg ppc64el 1.23.5ubuntu1 [1351 kB] 1739s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libbsd0 ppc64el 0.12.2-2build2 [59.8 kB] 1739s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ethtool ppc64el 1:6.15-3build1 [359 kB] 1739s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el libidn2-0 ppc64el 2.3.8-4build1 [71.3 kB] 1739s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el shared-mime-info ppc64el 2.4-5build3 [482 kB] 1739s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm6t64 ppc64el 1.26-1build1 [43.6 kB] 1739s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libnetfilter-conntrack3 ppc64el 1.1.1-1 [52.6 kB] 1739s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libusb-1.0-0 ppc64el 2:1.0.29-2build1 [64.8 kB] 1739s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxau6 ppc64el 1:1.0.11-1build2 [8274 B] 1739s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbcommon0 ppc64el 1.13.1-1 [189 kB] 1739s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-standard ppc64el 1.564 [13.3 kB] 1739s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el dpkg-dev all 1.23.5ubuntu1 [1062 kB] 1739s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libdpkg-perl all 1.23.5ubuntu1 [289 kB] 1739s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgdbm-compat4t64 ppc64el 1.26-1build1 [6928 B] 1739s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libwrap0 ppc64el 7.6.q-36build2 [51.6 kB] 1739s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el ubuntu-kernel-accessories ppc64el 1.564 [13.1 kB] 1740s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1740s Fetched 4117 kB in 0s (13.2 MB/s) 1740s (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 ... 122073 files and directories currently installed.) 1740s Preparing to unpack .../dpkg_1.23.5ubuntu1_ppc64el.deb ... 1740s Unpacking dpkg (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1740s Setting up dpkg (1.23.5ubuntu1) ... 1741s (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 ... 122074 files and directories currently installed.) 1741s Preparing to unpack .../00-libbsd0_0.12.2-2build2_ppc64el.deb ... 1741s Unpacking libbsd0:ppc64el (0.12.2-2build2) over (0.12.2-2build1) ... 1741s Preparing to unpack .../01-ethtool_1%3a6.15-3build1_ppc64el.deb ... 1741s Unpacking ethtool (1:6.15-3build1) over (1:6.15-3) ... 1741s Preparing to unpack .../02-libidn2-0_2.3.8-4build1_ppc64el.deb ... 1741s Unpacking libidn2-0:ppc64el (2.3.8-4build1) over (2.3.8-4) ... 1741s Preparing to unpack .../03-shared-mime-info_2.4-5build3_ppc64el.deb ... 1741s Unpacking shared-mime-info (2.4-5build3) over (2.4-5build2) ... 1741s Preparing to unpack .../04-libgdbm6t64_1.26-1build1_ppc64el.deb ... 1741s Unpacking libgdbm6t64:ppc64el (1.26-1build1) over (1.26-1) ... 1742s Preparing to unpack .../05-libnetfilter-conntrack3_1.1.1-1_ppc64el.deb ... 1742s Unpacking libnetfilter-conntrack3:ppc64el (1.1.1-1) over (1.1.0-1build1) ... 1742s Preparing to unpack .../06-libusb-1.0-0_2%3a1.0.29-2build1_ppc64el.deb ... 1742s Unpacking libusb-1.0-0:ppc64el (2:1.0.29-2build1) over (2:1.0.29-2) ... 1742s Preparing to unpack .../07-libxau6_1%3a1.0.11-1build2_ppc64el.deb ... 1742s Unpacking libxau6:ppc64el (1:1.0.11-1build2) over (1:1.0.11-1build1) ... 1742s Preparing to unpack .../08-libxkbcommon0_1.13.1-1_ppc64el.deb ... 1742s Unpacking libxkbcommon0:ppc64el (1.13.1-1) over (1.12.3-1) ... 1742s Preparing to unpack .../09-ubuntu-standard_1.564_ppc64el.deb ... 1742s Unpacking ubuntu-standard (1.564) over (1.563) ... 1742s Preparing to unpack .../10-dpkg-dev_1.23.5ubuntu1_all.deb ... 1742s Unpacking dpkg-dev (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1742s Preparing to unpack .../11-libdpkg-perl_1.23.5ubuntu1_all.deb ... 1742s Unpacking libdpkg-perl (1.23.5ubuntu1) over (1.22.21ubuntu9) ... 1742s Preparing to unpack .../12-libgdbm-compat4t64_1.26-1build1_ppc64el.deb ... 1742s Unpacking libgdbm-compat4t64:ppc64el (1.26-1build1) over (1.26-1) ... 1743s Preparing to unpack .../13-libwrap0_7.6.q-36build2_ppc64el.deb ... 1743s Unpacking libwrap0:ppc64el (7.6.q-36build2) over (7.6.q-36build1) ... 1743s Preparing to unpack .../14-ubuntu-kernel-accessories_1.564_ppc64el.deb ... 1743s Unpacking ubuntu-kernel-accessories (1.564) over (1.563) ... 1743s Setting up libxau6:ppc64el (1:1.0.11-1build2) ... 1743s Setting up ubuntu-kernel-accessories (1.564) ... 1743s Setting up libgdbm6t64:ppc64el (1.26-1build1) ... 1743s Setting up libgdbm-compat4t64:ppc64el (1.26-1build1) ... 1743s Setting up libidn2-0:ppc64el (2.3.8-4build1) ... 1743s Setting up ubuntu-standard (1.564) ... 1743s Setting up libwrap0:ppc64el (7.6.q-36build2) ... 1743s Setting up shared-mime-info (2.4-5build3) ... 1748s Setting up libdpkg-perl (1.23.5ubuntu1) ... 1748s Setting up libnetfilter-conntrack3:ppc64el (1.1.1-1) ... 1748s Setting up libusb-1.0-0:ppc64el (2:1.0.29-2build1) ... 1748s Setting up libbsd0:ppc64el (0.12.2-2build2) ... 1748s Setting up ethtool (1:6.15-3build1) ... 1748s Setting up libxkbcommon0:ppc64el (1.13.1-1) ... 1748s Setting up dpkg-dev (1.23.5ubuntu1) ... 1748s Processing triggers for man-db (2.13.1-1build1) ... 1750s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1751s autopkgtest [16:28:10]: upgrading testbed (apt dist-upgrade and autopurge) 1751s Reading package lists... 1751s Building dependency tree... 1751s Reading state information... 1751s Calculating upgrade... 1751s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1751s Reading package lists... 1751s Building dependency tree... 1751s Reading state information... 1751s Solving dependencies... 1752s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1752s autopkgtest [16:28:11]: rebooting testbed after setup commands that affected boot 1794s Reading package lists... 1794s Building dependency tree... 1794s Reading state information... 1794s Solving dependencies... 1794s The following NEW packages will be installed: 1794s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1794s libdconf1 1794s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1794s Need to get 155 kB of archives. 1794s After this operation, 833 kB of additional disk space will be used. 1794s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdconf1 ppc64el 0.49.0-4 [45.7 kB] 1794s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-service ppc64el 0.49.0-4 [31.6 kB] 1794s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-gsettings-backend ppc64el 0.49.0-4 [27.3 kB] 1794s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el dpkg-repack all 1.54build1 [11.2 kB] 1794s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1794s Fetched 155 kB in 0s (7315 kB/s) 1794s Selecting previously unselected package libdconf1:ppc64el. 1795s (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 ... 121984 files and directories currently installed.) 1795s Preparing to unpack .../libdconf1_0.49.0-4_ppc64el.deb ... 1795s Unpacking libdconf1:ppc64el (0.49.0-4) ... 1795s Selecting previously unselected package dconf-service. 1795s Preparing to unpack .../dconf-service_0.49.0-4_ppc64el.deb ... 1795s Unpacking dconf-service (0.49.0-4) ... 1795s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1795s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_ppc64el.deb ... 1795s Unpacking dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1795s Selecting previously unselected package dpkg-repack. 1795s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1795s Unpacking dpkg-repack (1.54build1) ... 1795s Selecting previously unselected package gsettings-desktop-schemas. 1795s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1795s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1795s Setting up dpkg-repack (1.54build1) ... 1795s Setting up libdconf1:ppc64el (0.49.0-4) ... 1795s Setting up dconf-service (0.49.0-4) ... 1795s Setting up dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1795s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1795s Processing triggers for man-db (2.13.1-1build1) ... 1795s Processing triggers for libglib2.0-0t64:ppc64el (2.87.2-2) ... 1795s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1803s autopkgtest [16:29:02]: test 1065022-futureproofing: [----------------------- 1803s + export DEBIAN_FRONTEND=noninteractive 1803s + n=0 1803s + failed=0 1803s + binary_package=libglib2.0-0t64 1803s + future_binary_package=libglib2.0-0xyz 1803s + pwd 1803s + srcdir=/tmp/autopkgtest.pvoQce/build.IGT/src 1803s + mktemp -d 1803s + tmpdir=/tmp/tmp.89u7elOkcK 1803s + cd /tmp/tmp.89u7elOkcK 1803s + exec 1803s + [ -e /tmp/autopkgtest.pvoQce/build.IGT/src/debian/tests/manual/local-1065022.sources ] 1803s + dpkg-query -W dpkg-repack 1803s dpkg-repack 1.54build1 1803s + dpkg-query -s libglib2.0-0t64 1803s Package: libglib2.0-0t64 1803s Status: install ok installed 1803s Priority: important 1803s Section: libs 1803s Installed-Size: 6021 1803s Maintainer: Ubuntu Developers 1803s Architecture: ppc64el 1803s Multi-Arch: same 1803s Source: glib2.0 1803s Version: 2.87.2-2 1803s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1803s 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) 1803s 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) 1803s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1803s Suggests: low-memory-monitor 1803s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1803s Description: GLib library of C routines 1803s GLib is a library containing many useful C routines for things such 1803s as trees, hashes, lists, and strings. It is a useful general-purpose 1803s C library used by projects such as GTK+, GIMP, and GNOME. 1803s . 1803s This package contains the shared libraries. 1803s Original-Maintainer: Debian GNOME Maintainers 1803s Homepage: https://gitlab.gnome.org/GNOME/glib 1803s + dpkg-query -W -f ${Version} libglib2.0-0t64 1803s + binary_version=2.87.2-2 1803s + dpkg-repack --generate libglib2.0-0t64 1803s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1803s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.MOnjgx for libglib2.0-0t64 1803s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.MOnjgx ." 1803s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.MOnjgx/DEBIAN/control 1803s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.MOnjgx/DEBIAN/control 1803s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.MOnjgx/DEBIAN/control 1803s + 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.MOnjgx/DEBIAN/control 1803s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.MOnjgx libglib2.0-0xyz.deb 1803s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1805s + dpkg-deb --info libglib2.0-0xyz.deb 1805s new Debian package, version 2.0. 1805s size 1856036 bytes: control archive=25777 bytes. 1805s 1220 bytes, 24 lines control 1805s 1184 bytes, 14 lines md5sums 1805s 1328 bytes, 44 lines * postinst #!/bin/sh 1805s 2582 bytes, 87 lines * postrm #!/bin/sh 1805s 2408 bytes, 53 lines * preinst #!/bin/sh 1805s 466 bytes, 10 lines shlibs 1805s 172758 bytes, 4531 lines symbols 1805s 176 bytes, 4 lines triggers 1805s Package: libglib2.0-0xyz 1805s Source: glib2.0 1805s Version: 2.87.2-2 1805s Architecture: ppc64el 1805s Maintainer: Ubuntu Developers 1805s Installed-Size: 6021 1805s 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) 1805s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1805s Suggests: low-memory-monitor 1805s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1805s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1805s 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) 1805s Section: libs 1805s Priority: important 1805s Multi-Arch: same 1805s Homepage: https://gitlab.gnome.org/GNOME/glib 1805s Description: GLib library of C routines 1805s GLib is a library containing many useful C routines for things such 1805s as trees, hashes, lists, and strings. It is a useful general-purpose 1805s C library used by projects such as GTK+, GIMP, and GNOME. 1805s . 1805s This package contains the shared libraries. 1805s . 1805s (Repackaged on Sun, 08 Feb 2026 16:29:02 +0000 by dpkg-repack.) 1805s + dpkg-deb --contents libglib2.0-0xyz.deb 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/lib/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/lib/powerpc64le-linux-gnu/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/lib/powerpc64le-linux-gnu/gio/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1805s -rwxr-xr-x root/root 67832 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1805s -rwxr-xr-x root/root 67832 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1805s -rwxr-xr-x root/root 67872 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1805s -rw-r--r-- root/root 2756168 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8702.0 1805s -rw-r--r-- root/root 1904216 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8702.0 1805s -rw-r--r-- root/root 67640 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8702.0 1805s -rw-r--r-- root/root 592184 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8702.0 1805s -rw-r--r-- root/root 67600 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8702.0 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/doc/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/doc/libglib2.0-0t64/ 1805s -rw-r--r-- root/root 261291 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1805s -rw-r--r-- root/root 1703 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/README.Debian 1805s -rw-r--r-- root/root 3248 2026-01-19 19:18 ./usr/share/doc/libglib2.0-0t64/README.md 1805s -rw-r--r-- root/root 39855 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1805s -rw-r--r-- root/root 54957 2026-01-29 15:05 ./usr/share/doc/libglib2.0-0t64/copyright 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/glib-2.0/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/glib-2.0/schemas/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/lintian/ 1805s drwxr-xr-x root/root 0 2026-02-08 16:29 ./usr/share/lintian/overrides/ 1805s -rw-r--r-- root/root 520 2026-01-29 15:05 ./usr/share/lintian/overrides/libglib2.0-0t64 1805s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8702.0 1805s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8702.0 1805s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8702.0 1805s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8702.0 1805s lrwxrwxrwx root/root 0 2026-01-29 15:05 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8702.0 1805s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1805s Reading package lists... 1805s Building dependency tree... 1805s Reading state information... 1805s dconf-gsettings-backend is already the newest version (0.49.0-4). 1805s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1805s Solving dependencies... 1805s The following additional packages will be installed: 1805s xdg-user-dirs 1805s Suggested packages: 1805s low-memory-monitor 1805s The following packages will be REMOVED: 1805s libglib2.0-0t64 1805s The following NEW packages will be installed: 1805s libglib2.0-0xyz xdg-user-dirs 1805s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1805s Need to get 20.9 kB/1877 kB of archives. 1805s After this operation, 213 kB of additional disk space will be used. 1805s Get:1 /tmp/tmp.89u7elOkcK/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.87.2-2 [1856 kB] 1805s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el xdg-user-dirs ppc64el 0.19-1 [20.9 kB] 1805s Fetched 20.9 kB in 0s (745 kB/s) 1806s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1806s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1806s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1806s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1806s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1806s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1806s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1806s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1806s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0). 1806s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0). 1806s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1806s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1806s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1806s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1806s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1806s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1806s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0). 1806s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1806s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1806s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.87.2-2). 1806s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1806s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1806s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.87.2-2). 1806s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1806s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1806s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1806s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1806s 1806s (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 ... 122051 files and directories currently installed.) 1806s Removing libglib2.0-0t64:ppc64el (2.87.2-2) ... 1812s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1812s (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 ... 122032 files and directories currently installed.) 1812s Preparing to unpack .../libglib2.0-0xyz.deb ... 1812s Unpacking libglib2.0-0xyz:ppc64el (2.87.2-2) ... 1812s Selecting previously unselected package xdg-user-dirs. 1812s Preparing to unpack .../xdg-user-dirs_0.19-1_ppc64el.deb ... 1812s Unpacking xdg-user-dirs (0.19-1) ... 1812s Setting up xdg-user-dirs (0.19-1) ... 1812s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1812s Setting up libglib2.0-0xyz:ppc64el (2.87.2-2) ... 1812s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1812s Processing triggers for man-db (2.13.1-1build1) ... 1813s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1813s + n=1 1813s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1813s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1813s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1813s + n=2 1813s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1813s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1813s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1813s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1813s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + n=3 1813s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + n=4 1813s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + n=5 1813s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + n=6 1813s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1813s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s + apt-get -y purge libglib2.0-0t64 1813s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1813s Reading package lists... 1813s Building dependency tree... 1813s Reading state information... 1814s Solving dependencies... 1814s The following packages will be REMOVED: 1814s libglib2.0-0t64* 1814s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1814s After this operation, 0 B of additional disk space will be used. 1814s (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 ... 122066 files and directories currently installed.) 1814s Purging configuration files for libglib2.0-0t64:ppc64el (2.87.2-2) ... 1814s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1814s + n=7 1814s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1814s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1814s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1814s + n=8 1814s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1814s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1814s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s + n=9 1814s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s + n=10 1814s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.sook 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1814s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1814s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s 1814s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + n=11 1814s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + n=12 1814s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s + apt-get -y purge libglib2.0-0xyz 1814s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1814s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1814s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1815s Reading package lists... 1815s Building dependency tree... 1815s Reading state information... 1815s Solving dependencies... 1815s The following additional packages will be installed: 1815s libglib2.0-0t64 1815s Suggested packages: 1815s low-memory-monitor 1815s The following packages will be REMOVED: 1815s libglib2.0-0xyz* 1815s The following NEW packages will be installed: 1815s libglib2.0-0t64 1815s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1815s Need to get 1856 kB of archives. 1815s After this operation, 0 B of additional disk space will be used. 1815s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-0t64 ppc64el 2.87.2-2 [1856 kB] 1815s Fetched 1856 kB in 0s (6546 kB/s) 1816s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1816s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.87.2-2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.87.2-2); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1816s Package libglib2.0-0t64 is not installed. 1816s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1816s 1816s (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 ... 122066 files and directories currently installed.) 1816s Removing libglib2.0-0xyz:ppc64el (2.87.2-2) ... 1816s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1816s (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 ... 122047 files and directories currently installed.) 1816s Preparing to unpack .../libglib2.0-0t64_2.87.2-2_ppc64el.deb ... 1816s Unpacking libglib2.0-0t64:ppc64el (2.87.2-2) ... 1816s Setting up libglib2.0-0t64:ppc64el (2.87.2-2) ... 1817s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1817s (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 ... 122066 files and directories currently installed.) 1817s Purging configuration files for libglib2.0-0xyz:ppc64el (2.87.2-2) ... 1817s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1817s + n=13 1817s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1817s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1817s + failed=1 1817s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1817s + n=14 1817s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1817s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1817s + failed=1 1817s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1817s + n=15 1817s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1817s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1817s + failed=1 1817s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1817s + n=16 1817s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1817s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1817s + failed=1 1817s + echo 1..16 1817s + exit 1 1817s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1817s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1817s not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1817s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1817s 1..16 1817s autopkgtest [16:29:16]: test 1065022-futureproofing: -----------------------] 1818s 1065022-futureproofing FLAKY non-zero exit status 1 1818s autopkgtest [16:29:17]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1818s autopkgtest [16:29:17]: @@@@@@@@@@@@@@@@@@@@ summary 1818s build PASS (superficial) 1818s build-static PASS (superficial) 1818s girepository-tools PASS (superficial) 1818s libgio-2.0-dev-bin PASS (superficial) 1818s libglib2.0-dev PASS (superficial) 1818s installed-tests PASS 1818s closure-refcount PASS 1818s debugcontroller PASS 1818s gdbus-server-auth PASS 1818s gdbus-threading PASS 1818s gmenumodel PASS 1818s mainloop PASS 1818s memory-monitor-dbus PASS 1818s socket PASS 1818s testfilemonitor PASS 1818s thread-pool-slow PASS 1818s threadtests PASS 1818s timeout PASS 1818s timer PASS 1818s 1065022-futureproofing FLAKY non-zero exit status 1